check_procs: Unable to read output
Brian Ibsen
bibsen at bibsen.dk
Tue Sep 30 17:25:51 CEST 2003
Hi all.
I'm trying to check the number of proccesses running on the box which runs the Nagios.
In checkcommands.cfg i have made the following:
# 'check_local_procs' command definition
define command{
command_name check_local_procs
command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$
}
and I'm trying to use this from services.cfg with:
define service{
use generic-service ; Name of service template to use
host_name parkserver
service_description Procs
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
contact_groups bibsen-admins,bibsen-admins-sms
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_local_procs!10!50
}
The problem is that Nagios displays "Unable to read output" as the result
What am I doing wrong ???
Bg
Brian Ibsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030930/c3ec0fc7/attachment.html>
More information about the Users
mailing list