<!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.1498" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 10pt Tahoma; MARGIN-LEFT: 2px"><BR>I've had
some luck in adding the <BR>echo <BR>to the beginning of the command in
checkcommands.cfg, scheduling an immediate force commit of all services on that
host, and looking in the host or service information to find the result being
the actual string that is ran.<BR>Of course, I'm running under *nix but
that should work under window$ too.<BR><BR>>>> "Lori Adams"
<ladams@cloudmark.com> 06/08/05 11:21 AM >>><BR>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Is there a log, or a way to see the
actual command that is being performed for a check. I’m doing a
check with nrpe, and when I run the check by hand on the remote machine, I get
one result. When I run it in nagios, I get a different result. I’d
like to debug this, but cannot determine how I would know what the command
is. <?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thoughts?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks in
advance,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">-Lori<o:p></o:p></SPAN></FONT></P></DIV></BODY></HTML>