You can define an SNMP Value Get (SNPG_JOB) job to retrieve the value of an SNMP variable.
Note: To run these jobs, your system requires CA WA Agent for UNIX, Linux, or Windows. Your agent administrator must configure the agent as an SNMP manager.
Required Statements
To define an SNMP Value Get job, you must specify the following statements:
In addition, if your SNMP version is v1 or v2, you must also specify the following statement:
If your SNMP version is v3, you must also specify the following statements:
Optional Statements
You can specify the following optional statements for an SNMP Value Get job:
In addition, if your SNMP version is v3, you can also specify the following statements:
Example: Query a Network Device for the Value of an SNMP Variable
Suppose that you want to know the value of the agentVersion variable hosted by a network device. In this example, the host name of the network device is host.example.com and its port is 161. The SNMP version is v2 and the read community is public. The name of the MIB file is RFC1213-MIB.mib, which is located on the agent computer.
AGENT SNMPAGENT MIB 'C:\SNMP\MIBs\RFC1213-MIB.mib' SNMPNODE agentVersion HOST(host.example.com) PORT(161) VERSION(2) COMMUNITY public
Example: Query a Network Device for the Values of a Whole SNMP Subtree
Suppose that you want to retrieve the values of a whole SNMP subtree starting with the pluginManagerPluginsTable OID.
AGENT SNMPAGENT MIB 'C:\SNMP\MIBs\RFC1213-MIB.mib' SNMPNODE pluginManagerPluginsTable HOST(host.example.com) PORT(161) VERSION(2) + SUBTREE COMMUNITY public
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|