SNMP Error while getting HD space

Patrick Proy nagios-user at proy.org
Sun Dec 19 17:01:08 CET 2004


It works with my net-snmp (5.0.6-17)....

Anyway, it seems to be a Net-SNMP problem or config problem.
Try the "snmpconf" script to build your configuration, it might solve the
problem.

Patrick
Nagios AT proy.org

> -----Message d'origine-----
> De : nagios-users-admin at lists.sourceforge.net 
> [mailto:nagios-users-admin at lists.sourceforge.net] De la part 
> de Ryan Brown
> Envoyé : vendredi 17 décembre 2004 22:44
> À : 'Patrick Proy'; nagios-users at lists.sourceforge.net
> Objet : RE: [Nagios-users] SNMP Error while getting HD space
> 
> NET-SNMP version 5.1.1
> 
> I put in your conf, changed the community, restarted SNMPd 
> and now snmpwalk cannot connect to it at all using.
> 
> snmpwalk -Os -c COMMUNITY -v 1 box.domain.com system
> 
> 
> Ryan
> -----Original Message-----
> From: Patrick Proy [mailto:nagios-user at proy.org]
> Sent: Friday, December 17, 2004 12:09 PM
> To: 'Ryan Brown'; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] SNMP Error while getting HD space
> 
> 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
> 



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