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 ?
Inbound/Outbound Traffic monitoring for Cisco Device
-
rs00469183
- Posts: 10
- Joined: Wed Sep 14, 2016 2:24 am
Re: Inbound/Outbound Traffic monitoring for Cisco Device
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:
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.
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.
Former Nagios employee