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,864 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
12 Comments
 
LVL 79

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 79

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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 

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
 

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 79

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

634 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