<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi !</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to configure nagios_check_command -
parameter in cgi.cfg properly</FONT></DIV>
<DIV><FONT face=Arial size=2>so that the GUI-Message "Monitoring process may not
be running" disappears and</FONT></DIV>
<DIV><FONT face=Arial size=2>entering service commands becomes
possible.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm running Nagios under HP-UX 11.11 (11i
v1) on a PARISC-based machine.</FONT></DIV>
<DIV><FONT face=Arial size=2>I was unable to compile the 1.3.1 - version of the
check_nagios - plugin. But</FONT></DIV>
<DIV><FONT face=Arial size=2>compiling alpha-version 1.4.0 worked fine. So I put
the 1.4.0 - binary of</FONT></DIV>
<DIV><FONT face=Arial size=2>check_nagios into my 1.3.1 - based folder
/usr/local/nagios/libexec.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When doing a "ps -ef | grep nagios" I
get <BR></FONT><FONT face=Arial size=2></FONT></DIV>
<DIV><FONT face=Arial size=2>nagios 15148 1 0
15:01:21 ? 0:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cf</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>as result. So I tried the check_nagios - plugin
manually this way :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/usr/local/nagios/libexec/check_nagios -F
/usr/local/nagios/var/status.log -e 5 \</FONT></DIV>
<DIV><FONT face=Arial size=2>-C '/usr/local/nagios/bin/nagios -d
/usr/local/nagios/etc/nagios.cf'</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But I get </FONT><FONT face=Arial
size=2>"Could not locate a running Nagios process!" as return
value.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So the CGI still claims that the "Monitoring
process may not be running" .</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How can I determine which ps - syntax check_nagios
uses to give it the correct</FONT></DIV>
<DIV><FONT face=Arial size=2>value for compare ?</FONT></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2> Marcus</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>