Solved

After running check_snmp_storage.pl  it reports the followng  "Requested table is empty or does not exist" I dont understand what that means. Any ideas on how to fix this?

Posted on 2008-06-13
12
4,595 Views
Last Modified: 2012-08-13
./check_snmp_storage.pl -H stealth -C public -q FixedDisk -m / -r -w 80 -c 90 -s -v 2c
Alarm at 15
SNMP v1 login
ERROR: Description/Type table : Requested table is empty or does not exist.

This happens with every check_snmp_*.pl scripts. I need to know what this error message means. Any help would be greatly appreciated. I am using ubuntu 7.10 via vmware. I can snmpwalk successfully to my localhost and remote ubuntu machines running off of vmware.
0
Comment
Question by:visibleworld
  • 6
  • 3
12 Comments
 
LVL 76

Expert Comment

by:arnold
ID: 21782526

You are trying to specifically request for / yet you are using the -s flag to sum .

Try running the check without the -s or the -v if you want to use version 2c of snmp you should have --v2c
I presume stealth is the host an is resolvable on the system (ping stealth works).
try any of the following:
 ./check_snmp_storage.pl -H stealth -C public -q FixedDisk -m / -r -w 80 -c 90 --v2c

./check_snmp_storage.pl -v -H stealth -C public -q FixedDisk -m / -r -w 80 -c 90 --v2c

./check_snmp_storage.pl -H stealth -C public -q FixedDisk -m / -w 80 -c 90 -s --v2c

Open in new window

0
 

Author Comment

by:visibleworld
ID: 21794894
I tried all three here are some results. I am not too savy with this but it seems that I need to include a disk number or partition. Therefore I put an existing directory after the -m /home and same result. I dont know what I am doing wrong.

nagiosadmin@cv-nagios1:/usr/local/nagios/libexec$ ./check_snmp_storage.pl -H stealth -C public -q FixedDisk -m / -w 80 -c 90 -s --v2c
Unknown storage : / : ERROR

nagiosadmin@cv-nagios1:/usr/local/nagios/libexec$ ./check_snmp_storage.pl -H stealth -C public -q FixedDisk -m/ -r -w 80 -c 90 -s --v2c
Unknown storage : / : ERROR
0
 
LVL 76

Expert Comment

by:arnold
ID: 21795149
Have a look at http://nagios.manubulon.com/snmp_storage.html

Try:
./check_snmp_storage.pl -H stealth -C public -q FixedDisk -m / -w 80 -c 90

0
 

Author Comment

by:visibleworld
ID: 21795195
I also tried without the -s as well. I am successful with windows but not with another linux system.

nagiosadmin@cv-nagios1:/usr/local/nagios/libexec$ ./check_snmp_storage.pl -H stealth -C public -q FixedDisk -m / -r -w 80 -c 90 --v2c
Unknown storage : / : ERROR
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:visibleworld
ID: 21795226
I have looked previously in this http://nagios.manubulon.com/snmp_storage.html and thats where  started but it did no good. I really appreciate you help though. With your command I came one step closer because the --v2c took away the following error. "ERROR: Description/Type table : Requested table is empty or does not exist."

nagiosadmin@cv-nagios1:/usr/local/nagios/libexec$ ./check_snmp_storage.pl -H stealth -C public -q FixedDisk -m / -w 80 -c 90
ERROR: Description/Type table : Requested table is empty or does not exist.
0
 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
ID: 21795227
Look at the snmpwalk to see whether there is an OID referencing FixedDisk.  It might be that the OID the perl script tries to access does not correspond or match correctly on the linux box.
try using 0,1,2 instead of /,/boot.
what is the output of df -k on the linux system that you are trying to check?
0
 

Author Comment

by:visibleworld
ID: 21795255
I thiink you may be correct because I did check the perl script to see if the oid matches but I am trying to figure out how to get the oid on the fixdisk on stealth.

nagiosadmin@stealth:/etc$ df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1              7913216    591500   6922904   8% /
varrun                  127776        48    127728   1% /var/run
varlock                 127776         0    127776   0% /var/lock
udev                    127776        44    127732   1% /dev
devshm                  127776         0    127776   0% /dev/shm
0
 

Author Comment

by:visibleworld
ID: 21795273
nagiosadmin@cv-nagios1:/usr/local/nagios/libexec$ snmpwalk -c public stealth -v2c
SNMPv2-MIB::sysDescr.0 = STRING: Linux stealth 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (402939) 1:07:09.39
SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)
SNMPv2-MIB::sysName.0 = STRING: stealth
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (configure /etc/snmp/snmpd.local.conf)
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORID.1 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.2 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.3 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORDescr.1 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.3 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (29) 0:00:00.29
SNMPv2-MIB::sysORUpTime.8 = No more variables left in this MIB View (It is past the end of the MIB tree)
0
 

Author Comment

by:visibleworld
ID: 21878076
I figured out why most of the check_snmp commands did not work. The problem is with the snmpd.conf file. It has to be configured in a way that it allows as much as OID to be available in order for the script to recognized the proper OID to match with.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now