![]() |
Agents and Objects File Format |
The Agent IPaddress should be followed by the Agent name with atleast one whitespace character between them (i.e. tab,blank etc.). The file name must have a .snm extension. No comments or information apart from these is allowed, failing which the SNMPUI Bean will not be able to read in the information. As a default, the beans use the file provided in SNMPUI.jar.
e.g. A file "agents.snm"
with data is shown below :
9.184.192.41 | chethan.in.ibm.com |
9.184.194.5 | fusion.in.ibm.com |
The Object Identifier should be followed by the Object name, followed by the Type information for the Object with atleast one whitespace (i.e. tab, blank etc.) between each of them.The file name must have a .snm extension. No comments or information apart from these is allowed, failing which the SNMPUI Bean will not be able to read in the information. As a default, the beans use the file provided in SNMPUI.jar.
e.g. A file "mib.snm" with
data is shown below :
1.3.6.1.2.1 | mib-2 | NODE |
1.3.6.1.2.1.1 | system | NODE |
1.3.6.1.2.1.1.1 | sysDescr | OCTETSTRING |
1.3.6.1.2.1.1.2 | sysObjectID | OBJECTIDENTIFIER |
1.3.6.1.2.1.1.3 | sysUpTime | TIMETICKS |
1.3.6.1.2.1.1.4 | sysContact | OCTETSTRING |
1.3.6.1.2.1.1.5 | sysName | OCTETSTRING |