Monitoring and graphing a Cisco SNMP gauge
Posted: Sat Mar 22, 2014 7:01 am
I am running an IP SLA to create a Mean Opinion Score which provides a value of voice quality from a scale of 1 to 5. I am able to do an snmp walk to get the data but I can't get the SNMP wizard to configure a valid monitor. I think I may be setting some of the options incorrectly. Here is what I am trying to accomplish:
Read the following OID:
snmpwalk -v2c -c C@3cdR3@d 10.104.255.208:161 1.3.6.1.4.1.9.9.42.1.3.5.1.57.101
SNMPv2-SMI::enterprises.9.9.42.1.3.5.1.57.101.3711618479 = Gauge32: 434
SNMPv2-SMI::enterprises.9.9.42.1.3.5.1.57.101.3711984478 = Gauge32: 434
I believe the one I need is the second one. I need to then divide this value by 100 to get 4.34 (in the case above). I would then like to graph this over time, warn at a value of 3.5 and alert at a value of 2.9. When I set up the wizard, I am using the following values:
OID: 1.3.6.1.4.1.9.9.42.1.3.5.1.57.101.3711984478
Display Name: IP SLA VoIP Jitter to CTECC g711ulaw Codec
Data Label: MOS
Data Units:
Match Type: Numeric
Warning Range: 3.5
Critical Range: 2.9
String To Match
MIB To Use: CISCO-RTTMON-MIB
The MIB is installed and you can see by the walk that the IOD works. When I try a check, it fails with "MOS CRITICAL - *434*". Is my data type wrong? How can I take that value and divide by 100 so the graph would be correct?
Read the following OID:
snmpwalk -v2c -c C@3cdR3@d 10.104.255.208:161 1.3.6.1.4.1.9.9.42.1.3.5.1.57.101
SNMPv2-SMI::enterprises.9.9.42.1.3.5.1.57.101.3711618479 = Gauge32: 434
SNMPv2-SMI::enterprises.9.9.42.1.3.5.1.57.101.3711984478 = Gauge32: 434
I believe the one I need is the second one. I need to then divide this value by 100 to get 4.34 (in the case above). I would then like to graph this over time, warn at a value of 3.5 and alert at a value of 2.9. When I set up the wizard, I am using the following values:
OID: 1.3.6.1.4.1.9.9.42.1.3.5.1.57.101.3711984478
Display Name: IP SLA VoIP Jitter to CTECC g711ulaw Codec
Data Label: MOS
Data Units:
Match Type: Numeric
Warning Range: 3.5
Critical Range: 2.9
String To Match
MIB To Use: CISCO-RTTMON-MIB
The MIB is installed and you can see by the walk that the IOD works. When I try a check, it fails with "MOS CRITICAL - *434*". Is my data type wrong? How can I take that value and divide by 100 so the graph would be correct?