SNMP Error while getting HD space

Patrick Proy nagios-user at proy.org
Fri Dec 17 18:09:10 CET 2004


Try : 

com2sec readonlyuser  default         <community>
group   readonlygroup v1           readonlyuser
view    allview         included        .1
access  readonlygroup  ""      any       noauth    exact  allview      none
none

Is it Net-SNMP ? Which version ?

Patrick 

> -----Message d'origine-----
> De : Ryan Brown [mailto:mailinglists at tblive.com] 
> Envoyé : jeudi 16 décembre 2004 15:55
> À : 'Patrick Proy'; nagios-users at lists.sourceforge.net
> Objet : RE: [Nagios-users] SNMP Error while getting HD space
> 
> In my snmp config I just have one line.
> 
> rocommunity public
> 
> This is the same config that I use on every server.
> 
> What should it be to read the required OID?
> 
> Thanks
> Ryan
> 
> -----Original Message-----
> From: Patrick Proy [mailto:nagios-user at proy.org]
> Sent: Thursday, December 16, 2004 3:51 AM
> To: 'Ryan Brown'; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] SNMP Error while getting HD space
> 
> 
> The error "noSuchName(2)" means that an OID cannot be read. 
> Considering the
> output of snmpwalk it's not surprising.
> 
> Check your snmp daemon configuration to see what you can read 
> with specific
> community.
> 
> Patrick
> nagios AT proy.org
> 
> > de Ryan Brown
> > Envoyé : jeudi 16 décembre 2004 06:54
> > À : nagios-users at lists.sourceforge.net
> > Objet : [Nagios-users] SNMP Error while getting HD space
> > 
> > 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
> 



-------------------------------------------------------
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