I try to graph tjhe radio signal from a Cisco 4G router.
the snmp walk is this one:
snmpwalk -v3 -asha -ASnmpPassw0rd2020 -uSnmpUser -lauthPriv -xaes -X SnmpPassw0rd2020 10.2.253.70 1.3.6.1.4.1.9.9.661.1.3.4.1.1.1
SNMPv2-SMI::enterprises.9.9.661.1.3.4.1.1.1.12 = INTEGER: -71
So I try to create a snmp_queries like that:
Code: Select all
<rssi>
<name>Get Cisco RSSI Signal</name>
<description>Queries a host for RSSI details</description>
<oid_index>1.3.6.1.4.1.9.9.661.1.3.4.1.1.1</oid_index>
<oid_index_parse>OID/REGEXP:.*\.([0-9]+)$</oid_index_parse>
<fields>
<Index>
<name>RSSI Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>1.3.6.1.4.1.9.9.661.1.3.4.1.1.1</oid>
</Index>
<rssiState>
<name>RSSI Level</name>
<type>integer</type>
<method>get</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.9.9.661.1.3.4.1.1.1</oid>
</rssiState>
</fields>
</rssi>
Total: 0.370000, Delta: 0.000000, Index found at OID: '.1.3.6.1.4.1.9.9.661.1.3.4.1.1.1.14' value: '-81'
and when I try the graph I can see this: But I like to have a different name, than the value measured, and the device can have to 4G modem active, so 2 entries.