The variable $snmpfileSystemPercentUsed should be changed from:
.1.3.6.1.4.1.19746.1.3.2.1.1.6
to:
.1.3.6.1.4.1.19746.1.3.2.1.1.7
... because the value of .1.3.6.1.4.1.19746.1.3.2.1.1.6 is the Available Size and not the percent used. http://www.oidview.com/mibs/19746/DATA-DOMAIN-MIB.html
[root@jaba ~]# /usr/lib64/nagios/plugins/check_dd.pl -H server -C string -P 2 -v DISKUSED
OK DISKUSED OK - 4:52% 1:11% 3:0% 2:10% 5:0% |'4'=52 '1'=11 '3'=0 '2'=10 '5'=0
Regards,
Atanas
The variable $snmpfileSystemPercentUsed should be changed from: .1.3.6.1.4.1.19746.1.3.2.1.1.6 to: .1.3.6.1.4.1.19746.1.3.2.1.1.7 ... because the value of .1.3.6.1.4.1.19746.1.3.2.1.1.6 is the Available Size and not the percent used. http://www.oidview.com/mibs/19746/DATA-DOMAIN-MIB.html [root@jaba ~]# /usr/lib64/nagios/plugins/check_dd.pl -H server -C string -P 2 -v DISKUSED OK DISKUSED OK - 4:52% 1:11% 3:0% 2:10% 5:0% |'4'=52 '1'=11 '3'=0 '2'=10 '5'=0 Regards, Atanas