SNMP Error while getting HD space

Ryan Brown mailinglists at tblive.com
Thu Dec 16 06:53:45 CET 2004


I have 1 machine that is returning the error: ERROR: Received noSuchName(2)
error-status at error-index 3.   while I try to use a service to check
available hard drive space.

In my services.cfg the service that is failing on this one host is:

define service {
        use                     generic-service

        host_name               box.domain.com
        service_description     DISK-ROOT
        check_command           check_disk_snmp!80!90!1
}

I am also using this same service on many other boxes with no problems at
all. Just for some reason this new server is failing.

I ran snmpwalk on the server in question and see.

root at shadowcat [/etc/nagios]# snmpwalk -Os -c public -v 1 box.domain.com
system
sysDescr.0 = STRING: Linux box.domain.com 2.4.28 #1 SMP Sat Dec 4 03:51:39
EST 2004 i686
sysObjectID.0 = OID: netSnmpAgentOIDs.10
sysUpTime.0 = Timeticks: (8688684) 1 day, 0:08:06.84
sysContact.0 = STRING: root at Unknown
sysName.0 = STRING: box.domain.com
sysLocation.0 = STRING: Unknown
sysORLastChange.0 = Timeticks: (22) 0:00:00.22
sysORID.1 = OID: ifMIB
sysORID.2 = OID: snmpMIB
sysORID.3 = OID: tcpMIB
sysORID.4 = OID: ip
sysORID.5 = OID: udpMIB
sysORID.6 = OID: vacmBasicGroup
sysORID.7 = OID: snmpFrameworkMIBCompliance
sysORID.8 = OID: snmpMPDCompliance
sysORID.9 = OID: usmMIBCompliance
sysORDescr.1 = STRING: The MIB module to describe generic objects for
network interface sub-layers
sysORDescr.2 = STRING: The MIB module for SNMPv2 entities
sysORDescr.3 = STRING: The MIB module for managing TCP implementations
sysORDescr.4 = STRING: The MIB module for managing IP and ICMP
implementations
sysORDescr.5 = STRING: The MIB module for managing UDP implementations
sysORDescr.6 = STRING: View-based Access Control Model for SNMP.
sysORDescr.7 = STRING: The SNMP Management Architecture MIB.
sysORDescr.8 = STRING: The MIB for Message Processing and Dispatching.
sysORDescr.9 = STRING: The management information definitions for the SNMP
User-based Security Model.
sysORUpTime.1 = Timeticks: (11) 0:00:00.11
sysORUpTime.2 = Timeticks: (11) 0:00:00.11
sysORUpTime.3 = Timeticks: (11) 0:00:00.11
sysORUpTime.4 = Timeticks: (13) 0:00:00.13
sysORUpTime.5 = Timeticks: (13) 0:00:00.13
sysORUpTime.6 = Timeticks: (16) 0:00:00.16
sysORUpTime.7 = Timeticks: (22) 0:00:00.22
sysORUpTime.8 = Timeticks: (22) 0:00:00.22
sysORUpTime.9 = Timeticks: (22) 0:00:00.22


My checkcommands.cfg has:

define command {
        command_name    check_disk_snmp
        command_line    $USER1$/check_disk_snmp.pl -m $HOSTADDRESS$ -w
$ARG1$ -c $ARG2$ -d $ARG3$
}




Does anyone have any pointers or ideas on where I can start to diagnose this
problem?

Thanks

Ryan Brown




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list