[Nagiosplug-help] Re: unexpected check_procs behavior

Voon, Ton Ton.Voon at egg.com
Fri Aug 29 02:03:21 CEST 2003


> -----Original Message-----
> From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] 
> Sent: Thursday, August 28, 2003 6:57 PM
> To: nagiosplug-help
> Subject: RE: [Nagiosplug-help] Re: unexpected check_procs behavior
> 
> 
> On Thu, 2003-08-28 at 12:17, Voon, Ton wrote:
> > The "a warning status will be generated if the count is 
> inside the specified
> > range" is if you specify max:min - not min:max. I got 
> caught out by this
> > too.
> 
> ah, I get you.  I wasn't analyzing what was there that meticulously.
> 
> > As for the -C, this looks for a specific command as 
> returned by the ps
> > command used (check_procs -v to see which command). You 
> want -a if you want
> > to search for a substring. 
> 
> Ah, so -a does do a substring of the whole command (not just
> arguments).  I should have tried that.
> 
> However, there is a problem with it (at least in v1.3.1) - it finds
> itself:
> 
> [~/nrpe]$ ./check_procs -c 1:8 -a "skljffsdfsdfdsfsd"
> OK - 1 processes running with args skljffsdfsdfdsfsd
> 
> (there are no skljffsdfsdfdsfsd processes)

Already fixed in CVS.


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.





More information about the Help mailing list