[Nagiosplug-help] Problem with check_procs plugin

matthias eble matthias.eble at mailing.kaufland-informationssysteme.com
Fri Jun 5 10:43:40 CEST 2009


Hi Duncan,

On Sat, 2009-05-30 at 10:26 +0100, Duncan McCaffery wrote:
> >From the command line if I call check_procs manually I get:
> PROCS CRITICAL: 0 processes with args 'foo'
> 
> If I define the following command and associated service using exactly
> the same parameters
> Nagios then reports:
> Status of foo Service OK 2009-05-30 10:11:05 0d 0h 5m 1s 1/4 PROCS OK:
> 1 process with args 'foo'

Have you tried adding -vvv to the command line and see which processes
actually run? Maybe some other process matches the argument?

If the output is too long, place a wrapper around check_procs and
redirect output to a file.

Matthias





More information about the Help mailing list