I'm setting up and SNMP Query that works fine on most devices, but I've found one where it doesn't seem to be able to read in all the data. The query is pretty simple, and is listed below:
Code: Select all
<interface>
<name>Get Cisco Memory Pools</name>
<description>Queries a Cisco device for a list of monitorable memory Pools</description>
<oid_index>.1.3.6.1.4.1.9.9.48.1.1.1.2</oid_index>
<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,2})$</oid_index_parse>
<index_order>memIndex</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<memIndex>
<name>Index</name>
<source>index</source>
<direction>input</direction>
</memIndex>
<memPoolName>
<name>Name</name>
<method>get</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.9.9.48.1.1.1.2</oid>
</memPoolName>
<memPoolFree>
<name>Memory Free</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9.9.48.1.1.1.6</oid>
</memPoolFree>
<memLargestFree>
<name>Largest Free</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9.9.48.1.1.1.7</oid>
</memLargestFree>
</fields>
</interface>
Code: Select all
+ Running data query [11].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'c:/Inetpub/wwwroot/cacti/resource/snmp_queries/cisco_memory.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9.9.48.1.1.1.2'
+ Inserting index data [value='1']
+ Inserting index data [value='6']
+ Inserting index data [value='7']
+ Inserting index data [value='8']
+ Inserting index data [value='9']
+ Inserting index data [value='10']
+ Located input field 'memPoolName' [get]
+ Executing SNMP get for data @ '.1.3.6.1.4.1.9.9.48.1.1.1.2.1' [value='']
+ Executing SNMP get for data @ '.1.3.6.1.4.1.9.9.48.1.1.1.2.6' [value='']
+ Executing SNMP get for data @ '.1.3.6.1.4.1.9.9.48.1.1.1.2.7' [value='NVRAM']
+ Executing SNMP get for data @ '.1.3.6.1.4.1.9.9.48.1.1.1.2.8' [value='MBUF']
+ Executing SNMP get for data @ '.1.3.6.1.4.1.9.9.48.1.1.1.2.9' [value='CLUSTER']
+ Executing SNMP get for data @ '.1.3.6.1.4.1.9.9.48.1.1.1.2.10' [value='MALLOC']
+ Found data query XML file at 'c:/Inetpub/wwwroot/cacti/resource/snmp_queries/cisco_memory.xml'
+ Found data query XML file at 'c:/Inetpub/wwwroot/cacti/resource/snmp_queries/cisco_memory.xml'
+ Found data query XML file at 'c:/Inetpub/wwwroot/cacti/resource/snmp_queries/cisco_memory.xml'
Code: Select all
SNMPv2-SMI::enterprises.9.9.48.1.1.1.2.1 = STRING: "DRAM"
If anyone has any ideas, I would appreciate the help.
Thanks,
Jamie