[Nagios-snmp-users] RE: ERROR: running table : Received noSuchName(2) error-status aterror-index 32.

Patrick Proy nagios-user at proy.org
Thu Jun 30 09:54:41 CEST 2005


Hi,

host.hrSystem.hrSystemProcesses.0 gives the total number of processes on the
host without any filtering.

It would be like running my script with * as filter, which is not the aim of
the script.


Patrick
Nagios AT proy dot org

-----Message d'origine-----
De : nagios-snmp-users-admin at lists.sourceforge.net
[mailto:nagios-snmp-users-admin at lists.sourceforge.net] De la part de Jamie
Baddeley
Envoyé : mercredi 29 juin 2005 09:37
À : Patrick Proy
Cc : nagios-users at lists.sourceforge.net;
nagios-snmp-users at lists.sourceforge.net
Objet : [Nagios-snmp-users] RE: ERROR: running table : Received
noSuchName(2) error-status aterror-index 32.

On Wed, 2005-06-29 at 09:08 +0200, Patrick Proy wrote:
> Hi,
> 
> This is a known issue of process check. 
> The script does : 
> 1) Get the snmp table with index and description
> 2) Match with the processes
> 3) Get the status of the selected processes
> 
> I've done it like this because it takes a lot of time (and ressources 
> on the remote host) to get the whole process table.
> 
> Problem : if a process on the remote host die at step 2, then the 
> index won't be valid and you will get an error at step 3....
> 
> I've added a "-g" option wich gets the entire table at step 1 : it can 
> help, but in case processes are dying/respawning very fast the problem 
> will still be here.

Thanks for the prompt and detailed reply. I appreciate it. I'll try -g.

Have you considered using:

host.hrSystem.hrSystemProcesses.0 ?

This seems to report a process count, but I'm thinking you discounted this
for some reason, so am interested if that's the case - was it to do with
dealing with multiprocessors?

cheers

jamie

> 
> Patrick
> nagios AT proy dot org
> 
> 
> -----Message d'origine-----
> De : Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] Envoyé : mardi 
> 28 juin 2005 21:58 À : Patrick Proy Cc : 
> nagios-users at lists.sourceforge.net
> Objet : ERROR: running table : Received noSuchName(2) error-status 
> aterror-index 32.
> 
> Hi Patrick,
> 
> I'm using your check_snmp_process.pl to do some process count checking 
> on a variety of Linux hosts.
> 
> >From time to time I get the error reponse shown above. In fact the
> error-index can change (32,46, 14,42,16 etc)
> 
> I'm using the latest versions dl'ed from SF.
> 
> These plugins are running on a RH EL3 system that has plenty of 
> ram/processor.
> 
> Admittedly I've only got one out of 10 hosts I'm monitoring
> complaining.	
> The host in question is running net-snmp-5.0.9-2.30E.15 (Redhat) and
> 2.4-21 kernel.
> 
> Have you seen similar compaints? Is there a workaround (that doesn't 
> involve me upgrading the far end system)?
> 
> Cheers
> 
> jamie
> 
> 
> 
--
Jamie Baddeley <jamie.baddeley at vpc.co.nz> ViewPoint Consulting Ltd



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick
_______________________________________________
Nagios-snmp-users mailing list



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
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