Ok, thanks for that.
Another question now we are talking about the subject.
I have the following command:
command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -a $ARG3$
I check as follows:
This should warn me if it sees more then 1 procs and become ciritical if there are less then 1 nagios daemons.
The strange thing is that that the check sees 2 nagios daemons while there is only one at the system:
2 processes with args '/usr/local/nagios/bin/nagios'
When i run the check_proc from the command-line the following happens:
./check_procs -c 1 -w 1 -a /usr/local/nagios/bin/nagios
PROCS OK: 1 process with args '/usr/local/nagios/bin/nagios'
How can it be that in the GUI it shows 2 and from the commandline 2?
Thanks again for any reply.