Code: Select all
/usr/local/nagios/libexec/check_snmp -p 161 -o mib-2.43.10.2.1.4.1.1 -C public -P 2c -m SNMPv2-SMICode: Select all
/usr/local/nagios/libexec/check_snmp -p 161 -o mib-2.43.10.2.1.4.1.1 -C public -P 2c -m SNMPv2-SMIIn the context of drive checks, "usage" generally refers to the amount of disk space consumed. This number can go up and down but generally remains static. Your scalar constantly increments, the data you're seeking is not ### pages, it's ### pages/day. As I mentioned in my earlier comment, Nagios does not perform that calculation. Likewise you won't find in the built in plugins that when you're checking drive space that there is a "/day" calculation involved, it's simply ### bytes.tmm72 wrote:So one question is that when it is checking the drives on the system it keeps a record of the usage etc.
./check_snmp -H 192.168.x.x -p 161 -o 1.3.6.1.2.1.43.10.2.1.4.1.1 -C public 2c -m SNMPv2-SMI
SNMP OK - 26194 | SNMPv2-SMI::mib-2.43.10.2.1.4.1.1=26194c