<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2730.1700" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all.<BR>I'm trying to check the number of
proccesses running on the box which runs the Nagios.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>In checkcommands.cfg i have made the
following:<BR># 'check_local_procs' command definition<BR>define
command{<BR>
command_name
check_local_procs<BR>
command_line $USER1$/check_procs -w $ARG1$ -c
$ARG2$<BR> }</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>and I'm trying to use this from services.cfg
with:<BR>define service{ <BR>
use
generic-service ; Name of
service template to use<BR>
host_name
parkserver<BR>
service_description
Procs<BR>
is_volatile
0<BR>
check_period
24x7<BR>
max_check_attempts
3<BR>
normal_check_interval
3<BR>
retry_check_interval
1<BR>
contact_groups
bibsen-admins,bibsen-admins-sms<BR>
notification_interval
120<BR>
notification_period
24x7<BR>
notification_options
w,u,c,r<BR>
check_command
check_local_procs!10!50<BR>
}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>The problem is that Nagios displays "Unable to read
output" as the result</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>What am I doing wrong ???</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><BR>Bg<BR>Brian Ibsen</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>