Page 1 of 3

Data not fully defined for storage /tmp : UNKNOWN

Posted: Mon Feb 08, 2016 8:15 am
by murawweh.daher
Hi All,

i have new Server and i want to use plugin "check_snmp_storage_wizard.pl" to defined a storage utilized, but there is a problem when run it. The server have OVM "Solaris 11.3" and i created Centos OS "6.4" as virtual.
/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H ##### -C a-snmp --v2c -w 90 -c 95 -q FixedDisk -m /
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 /tmp : UNKNOWN

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Mon Feb 08, 2016 3:45 pm
by lmiltchev
Can you run the following command against the Solaris machine, and show the output?

Code: Select all

snmpwalk -v2c -c <community> <ip address> | grep -i fixed
I don't have a Solaris box to test this, but on my CentOS machine, I see the following output:

Code: Select all

HOST-RESOURCES-MIB::hrStorageType.31 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.36 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
What is the version of the plugin that you are currently using?

Code: Select all

/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -V

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Tue Feb 09, 2016 7:16 am
by murawweh.daher
We formatted Cantos and installed Solaris 11.3 and have same issue.

/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -V
check_snmp_storage version : 1.3.3
You have new mail in /var/spool/mail/root


please find below some result of "snmpwalk -v2c -c <community> <ip address> | grep -i fixed"
Cannot adopt OID in HOST-RESOURCES-MIB: hrDeviceNonVolatileMemory ::= { hrDeviceTypes 21 }
Cannot adopt OID in HOST-RESOURCES-MIB: hrDeviceVolatileMemory ::= { hrDeviceTypes 20 }
Cannot adopt OID in HOST-RESOURCES-MIB: hrDeviceClock ::= { hrDeviceTypes 19 }
Cannot adopt OID in HOST-RESOURCES-MIB: hrDeviceTape ::= { hrDeviceTypes 18 }
Cannot adopt OID in HOST-RESOURCES-MIB: hrDeviceSerialPort ::= { hrDeviceTypes 17 }
Cannot adopt OID in HOST-RESOURCES-MIB: hrDevicePointing ::= { hrDeviceTypes 16 }
Cannot adopt OID in HOST-RESOURCES-MIB: hrDeviceParallelPort ::= { hrDeviceTypes 15 }

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Tue Feb 09, 2016 4:19 pm
by rkennedy
Your MIB files are not correctly installed it seems. Let's see where your system is looking for the MIBs. What is the result of this command?

Code: Select all

snmpget  -Dparse-mibs  2>&1 | grep directory

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Wed Feb 10, 2016 2:11 am
by murawweh.daher
please check below the result.
# snmpget -Dparse-mibs 2>&1 | grep directory
parse-mibs: Scanning directory /root/.snmp/mibs
parse-mibs: cannot open MIB directory /root/.snmp/mibs
parse-mibs: Scanning directory /usr/share/snmp/mibs

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Wed Feb 10, 2016 3:33 pm
by tgriep
Can you run the following on your XI server and post the output?

Code: Select all

ls -l /usr/share/snmp/mibs
snmpwalk -v2c -c <community> <ip address>

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Wed Feb 10, 2016 3:37 pm
by murawweh.daher
please find the attached for mib list

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Thu Feb 11, 2016 10:28 am
by tmcdonald
I see you have an email ticket open for this issue. Would you like to continue here or in the ticket?

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Sun Feb 21, 2016 8:42 am
by murawweh.daher
Hi All,

Many thanks Nagios Support for helping.
i found old plugin to read the unix storage check_snmp_storage (1.3.2) and replaced with current check_snmp_storage (1.3.3), beside remove devices that didn't read with -e parameter and it's worked, but still have one issue when i exclude two paths have inbound 127 error.
any way it's work on my servers and solaris servers monitored.

Re: Data not fully defined for storage /tmp : UNKNOWN

Posted: Mon Feb 22, 2016 10:19 am
by rkennedy
You're welcome.

Can you post the full input / output you're using so we can try to replicate it on our end?