Two different outputs


#1

Hi,

I am using Nagios 2.10 and everything is working fine
But I have one strange thing with on service
I have two different outputs.
When I check it from the command line I have

[blockquote]./check_procs -c 1:1 -a collect2.pl -u nagios
PROCS OK: 1 process with args ‘collect2.pl’, UID = 1001 (nagios)[/blockquote]

but in nagios I have this output:

[blockquote]PROCS CRITICAL: 2 processes with args ‘collect2.pl’, UID = 1001 (nagios)[/blockquote]

This is my config.

[code]services.cfg
check_local_procs_a!1:1!collect2.pl!nagios

commands.cfg
define command{
command_name check_local_procs_a
command_line $USER1$/check_procs -c $ARG1$ -a $ARG2$ -u $ARG3$
}[/code]

Do I overlook something ??
Thanks