Inbound/Outbound Traffic monitoring for Cisco Device

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rs00469183
Posts: 10
Joined: Wed Sep 14, 2016 2:24 am

Inbound/Outbound Traffic monitoring for Cisco Device

Post by rs00469183 »

Hi ,

I am using below command 1 to get the inbound discard packets but i am not able to understand output ,i mean the value is in Megabits or its the number of discarded packets .

Command 1 :
/usr/local/nagios/libexec/check_snmp -H xxx.xx.xx.xx -p 161 -o ifInDiscards.1 -C xyz -P 2c -m IF-MIB

Output :

SNMP OK - 633500 | IF-MIB::ifInDiscards.1=633500c


In below command 2 , what is meant by rate ,
Command 2:
/usr/local/nagios/libexec/check_snmp -H xxx.xx.xx.xx -p 161 -o ifInDiscards.1 -C xyz -P 2c -m IF-MIB --rate
SNMP RATE OK - 0.5 | IF-MIB::ifInDiscards.1=0.5

What threshold value can be set for this Inbound/Outbound discard packet monitoring and how it can be calculated ?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Inbound/Outbound Traffic monitoring for Cisco Device

Post by tmcdonald »

In both cases, the values may depend on what the remote machine is sending - we have no control over whether it sends a MB value or a dropped packet count, but the c in the output of the first command makes me think it is a count of dropped packets.

Rate calculation is explained in the help output for the plugin:

Code: Select all

Rate Calculation:
 In many places, SNMP returns counters that are only meaningful when
 calculating the counter difference since the last check. check_snmp
 saves the last state information in a file so that the rate per second
 can be calculated. Use the --rate option to save state information.
 On the first run, there will be no prior state - this will return with OK.
 The state is uniquely determined by the arguments to the plugin, so
 changing the arguments will create a new state file.
In regards to warning and critical thresholds, those are set with the -w and -c flags respectively. The values likely would also be an integer count of dropped packets.
Former Nagios employee
Locked