<!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.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: " bgColor=#ffffff>
<DIV><SPAN class=355325812-27012003><FONT face=Arial
size=2>Justin</FONT></SPAN></DIV>
<DIV><SPAN class=355325812-27012003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=355325812-27012003><FONT face=Arial size=2>Could you please
enlighten me on how you fixed the infamous "error recieving data from host"
problem because I am at present having the same problem and am more than a
little confused.</FONT></SPAN></DIV>
<DIV><SPAN class=355325812-27012003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=355325812-27012003><FONT face=Arial
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=355325812-27012003><FONT face=Arial
size=2>Craig</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Justin
[mailto:justin@pvamu.edu]<BR><B>Sent:</B> Saturday, January 25, 2003 12:22
AM<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B>
[Nagios-users] Yet another NRPE problem<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I would like to thank Jim Carrol for helping me
get this far. I just took a couple of weeks off from nagios and got back
to it. I have fixed the infamous "error recieving data from host"
problem. Yet I have encountered another problem. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@whodevil libexec]# ./check_nrpe
129.207.59.32 -c check_users<BR>USERS WARNING - 7 users currently logged
in<BR> </FONT></DIV>
<DIV><FONT face=Arial size=2>As you can see I can run the command just fine
from CLI. But recieve this error in my log/gui</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jan 24 19:04:01 localhost nagios: SERVICE ALERT:
whodevil;USERS;UNKNOWN;SOFT;1;Incorrect command line arguments supplied<BR>Jan
24 19:05:01 localhost nagios: SERVICE ALERT:
whodevil;USERS;UNKNOWN;SOFT;2;Incorrect command line arguments supplied<BR>Jan
24 19:06:01 localhost nagios: SERVICE ALERT:
whodevil;USERS;UNKNOWN;HARD;3;Incorrect command line arguments
supplied<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is my services.cfg</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># Service definition<BR>define
service{<BR>
use
generic-service ; Name of
service template to use</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>
host_name
whodevil<BR>
service_description
USERS<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
whodevil-admins<BR>
notification_interval
120<BR>
notification_period
24x7<BR>
notification_options
w,u,c,r<BR>
check_command
check_nrpe!check_users</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is my
nrpe.cfgcommand[check_users]=/usr/local/nagios/libexec/check_users 5
10<BR>command[check_load]=/usr/local/nagios/libexec/check_load 5 10 15 20 25
30<BR>command[check_disk1]=/usr/local/nagios/libexec/check_disk 80 95
/dev/hda1<BR>command[check_disk2]=/usr/local/nagios/libexec/check_disk 80 95
/dev/hdb1<BR>command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs
5 10 Z<BR>command[check_total_procs]=/usr/local/nagios/libexec/check_procs 150
200<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks for the help</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Justin Wedeking</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV><BR></DIV></BLOCKQUOTE></FONT></BODY></HTML>