Data not fully defined for storage /tmp : UNKNOWN

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
murawweh.daher
Posts: 66
Joined: Wed Sep 02, 2015 2:02 pm
Location: Ramallah - West Bank
Contact:

Data not fully defined for storage /tmp : UNKNOWN

Post 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
Regards,
Murawweh Daher
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
murawweh.daher
Posts: 66
Joined: Wed Sep 02, 2015 2:02 pm
Location: Ramallah - West Bank
Contact:

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

Post 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 }
Regards,
Murawweh Daher
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post 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
Former Nagios Employee
murawweh.daher
Posts: 66
Joined: Wed Sep 02, 2015 2:02 pm
Location: Ramallah - West Bank
Contact:

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

Post 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
Regards,
Murawweh Daher
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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>
Be sure to check out our Knowledgebase for helpful articles and solutions!
murawweh.daher
Posts: 66
Joined: Wed Sep 02, 2015 2:02 pm
Location: Ramallah - West Bank
Contact:

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

Post by murawweh.daher »

please find the attached for mib list
You do not have the required permissions to view the files attached to this post.
Regards,
Murawweh Daher
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post by tmcdonald »

I see you have an email ticket open for this issue. Would you like to continue here or in the ticket?
Former Nagios employee
murawweh.daher
Posts: 66
Joined: Wed Sep 02, 2015 2:02 pm
Location: Ramallah - West Bank
Contact:

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

Post 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.
Regards,
Murawweh Daher
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post 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?
Former Nagios Employee
Locked