Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
SNMP Counter
149670
File | Description |
---|---|
check_snmp_counter-0.6.tar.gz | snmp counter |
If it is outside the range you specify by and , it will return 'warning' or 'critical', depending on what values it exceeds.
In order to notice changes in counter values, it stores the last values in a file called -. The first line of this file is the last time the script was run, then the host's last uptime, and each subsequent line of file is the index number and last counter value.
Sometimes, this file will need to be wiped. There are two cases for this:
1) the host's uptime goes backwards
2) the number of indexes changes (often denotes a hardware change)
In order to notice changes in counter values, it stores the last values in a file called -. The first line of this file is the last time the script was run, then the host's last uptime, and each subsequent line of file is the index number and last counter value.
Sometimes, this file will need to be wiped. There are two cases for this:
1) the host's uptime goes backwards
2) the number of indexes changes (often denotes a hardware change)
Reviews (1)
byneperpbl3, March 9, 2023
This plugin has bugs. Type counters are gets by the usual check_snmp with the "--rate" option, which enable rate calculation. Output "SNMP RATE OK - 598.41"
https://nagios-plugins.org/doc/man/check_snmp.html
https://nagios-plugins.org/doc/man/check_snmp.html