check_nagios can't find running process

Subhendu Ghosh sghosh at sghosh.org
Thu Apr 3 06:17:16 CEST 2003


On Wed, 2 Apr 2003, Earl C. Ruby III wrote:

> I'm having a similar problem. I'm using check_nagios from the latest RPM of 
> plug-ins (nagios-1.0.tar.gz & nagios-plugins-1.3.0-1.i386.rpm), and updated 
> the cgi.cfg file to match the syntax used by the script.
> 
> >From cgi.cfg:
> 
> nagios_check_command=/usr/lib/nagios/check_nagios -F 
> /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios
> 
> >From the command line:
> 
> # sudo -u nagios ./check_nagios -F /usr/local/nagios/var/status.log -e 5 -C 
> /usr/local/nagios/bin/nagios
> Nagios ok: located 1 process, status log updated 1 second ago

try it as "sudo -u apache ....." since the plugin is executed by the cgi 
and not nagios...



> 
> As you can see, the check_nagios script says that Nagios is running just fine 
> when I run it from the command line. However, the web interface shows 
> "Warning: Monitoring process may not be running! Click here for more info." 
> and "It appears as though Nagios is not running, so commands are temporarily 
> unavailable... Click here to view Nagios process information." When I click 
> to view the process information it appears to be normal.
> 
> 

-- 




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list