<div dir="ltr">
<p class="">I have a problem when checking the snmp storage for one of
the servers.</p>
<p class=""> </p>
<p class="">Below is the command and the output:</p>
<p class=""> </p>
<p class="">[root@nms ~]# /usr/local/nagios/libexec/<a href="http://check_snmp_storage.pl">check_snmp_storage.pl</a>
-H EMMC202 -C public -2 -m "^/NASbackup*$" -w 80 -c 95 -f</p>
<p class="">Use of uninitialized value in concatenation (.) or string at
/usr/local/nagios/libexec/<a href="http://check_snmp_storage_wizard.pl">check_snmp_storage_wizard.pl</a> line 547.</p>
<p class="">Use of uninitialized value in concatenation (.) or string at
/usr/local/nagios/libexec/<a href="http://check_snmp_storage_wizard.pl">check_snmp_storage_wizard.pl</a> line 548.</p>
<p class="">Use of uninitialized value in concatenation (.) or string at
/usr/local/nagios/libexec/<a href="http://check_snmp_storage_wizard.pl">check_snmp_storage_wizard.pl</a> line 549.</p>
<p class="">Data not fully defined for storage /NASbackup : UNKNOWN</p>
<p class=""> </p>
<p class="">When checking the snmp object concerning that storage
device, I have found no problem in the object in different tables:</p>
<p class=""> </p>
<p class="">[root@nms ~]# snmpget -v2c -c public -m ALL
EMMC202 1.3.6.1.2.1.25.2.3.1.1.19</p>
<p class="">HOST-RESOURCES-MIB::hrStorageIndex.19 = INTEGER: 19</p>
<p class="">[root@nms ~]# snmpget -v2c -c public -m ALL
EMMC202 1.3.6.1.2.1.25.2.3.1.2.19</p>
<p class="">HOST-RESOURCES-MIB::hrStorageType.19 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk</p>
<p class="">[root@nms ~]# snmpget -v2c -c public -m ALL
EMMC202 1.3.6.1.2.1.25.2.3.1.3.19</p>
<p class="">HOST-RESOURCES-MIB::hrStorageDescr.19 = STRING: /NASbackup</p>
<p class="">[root@nms ~]# snmpget -v2c -c public -m ALL
EMMC202 1.3.6.1.2.1.25.2.3.1.4.19</p>
<p class="">HOST-RESOURCES-MIB::hrStorageAllocationUnits.19 = INTEGER:
512 Bytes</p>
<p class="">[root@nms ~]# snmpget -v2c -c public -m ALL
EMMC202 1.3.6.1.2.1.25.2.3.1.5.19</p>
<p class="">HOST-RESOURCES-MIB::hrStorageSize.19 = INTEGER: 4151636931</p>
<p class="">[root@nms ~]# snmpget -v2c -c public -m ALL
EMMC202 1.3.6.1.2.1.25.2.3.1.6.19</p>
<p class="">HOST-RESOURCES-MIB::hrStorageUsed.19 = INTEGER: 3013383156</p>
<p class="">[root@nms ~]# snmpget -v2c -c public -m ALL
EMMC202 1.3.6.1.2.1.25.2.3.1.7.19</p>
<p class="">HOST-RESOURCES-MIB::hrStorageAllocationFailures.19 =
Counter32: 0</p>
</div>