[Nagiosplug-help] Problem with check_procs on FreeBSD 5.2.1 & 5.3
    Andreas Ericsson 
    ae at op5.se
       
    Thu Dec 16 06:47:03 CET 2004
    
    
  
Michael Bakker wrote:
> Hi,
> 
> I've got a problem with the check_procs plugin on systems with FreeBSD
> 5.2.1 and 5.3:
> 
> $ /usr/local/nagios/libexec/check_procs
> OK - 10 processes running
> 
> There are much more processes running than 10 running - the other
> problem is:
> 
> $ ps auxw | grep [c]ron
> root     419  0.0  0.3  1344  776  ??  Ss   23Jul04   1:38.28 /usr/sbin/cron
Why grep [c]ron when it's exactly equivalent to grep cron?
> $ /usr/local/nagios/libexec/check_procs -w 1: -C cron
> WARNING - 0 processes running with command name cron
> 
What happens if you give /usr/sbin/cron as argument to the -C switch?
> check_procs from nagios-plugins v1.3.1 and 1.4.0-alpha3 return the same
> results for me.
> 
-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer
    
    
More information about the Help
mailing list