check_snmp_storage.pl

Ahmad Zuhd <[email protected]>
Newsgroups gmane.network.nagios.plugins
Message-ID <CAGj+z1fp8cgwYGTDppRsd0OR-mSKGvJj2DB32KQtzriW1dovUQ@mail.gmail.com>
I have a problem when checking the snmp storage for one of the servers.



Below is the command and the output:



[root@nms ~]# /usr/local/nagios/libexec/check_snmp_storage.pl  -H EMMC202
-C public -2  -m "^/NASbackup*$" -w 80 -c 95 -f

Use of uninitialized value in concatenation (.) or string at
/usr/local/nagios/libexec/check_snmp_storage_wizard.pl line 547.

Use of uninitialized value in concatenation (.) or string at
/usr/local/nagios/libexec/check_snmp_storage_wizard.pl line 548.

Use of uninitialized value in concatenation (.) or string at
/usr/local/nagios/libexec/check_snmp_storage_wizard.pl line 549.

Data not fully defined for storage /NASbackup : UNKNOWN



When checking the snmp object concerning that storage device, I have found
no problem in the object in different tables:



[root@nms ~]# snmpget  -v2c -c public  -m ALL EMMC202
1.3.6.1.2.1.25.2.3.1.1.19

HOST-RESOURCES-MIB::hrStorageIndex.19 = INTEGER: 19

[root@nms ~]# snmpget  -v2c -c public  -m ALL EMMC202
1.3.6.1.2.1.25.2.3.1.2.19

HOST-RESOURCES-MIB::hrStorageType.19 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk

[root@nms ~]# snmpget  -v2c -c public  -m ALL EMMC202
1.3.6.1.2.1.25.2.3.1.3.19

HOST-RESOURCES-MIB::hrStorageDescr.19 = STRING: /NASbackup

[root@nms ~]# snmpget  -v2c -c public  -m ALL EMMC202
1.3.6.1.2.1.25.2.3.1.4.19

HOST-RESOURCES-MIB::hrStorageAllocationUnits.19 = INTEGER: 512 Bytes

[root@nms ~]# snmpget  -v2c -c public  -m ALL EMMC202
1.3.6.1.2.1.25.2.3.1.5.19

HOST-RESOURCES-MIB::hrStorageSize.19 = INTEGER: 4151636931

[root@nms ~]# snmpget  -v2c -c public  -m ALL EMMC202
1.3.6.1.2.1.25.2.3.1.6.19

HOST-RESOURCES-MIB::hrStorageUsed.19 = INTEGER: 3013383156

[root@nms ~]# snmpget  -v2c -c public  -m ALL EMMC202
1.3.6.1.2.1.25.2.3.1.7.19

HOST-RESOURCES-MIB::hrStorageAllocationFailures.19 = Counter32: 0

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.