check_nagios can't find running process

Lonny Selinger lonny at bangtherockstogether.net
Wed Apr 2 23:25:38 CEST 2003


Not a problem :)

> Thanks Lonny,
>
> on Linux 2.4
> in /usr/local/nagios/libexec
>
> $ sudo -u nagios ./check_nagios -F /usr/local/nagios/var/status.log -e  10 -C
> /usr/local/nagios/bin/nagios
>
> Could not locate running Nagios process!

Ok this one seems odd because it should return properly exactly the way you typed
that  :\   I'm pretty sure you already mentioned this but have you verified
permissions on all the files and or checked ownership etc.


> Which seems to match the format in my cgi.cfg
>
> nagios_check_command=/usr/local/nagios/libexec/check_nagios
> /usr/local/nagios/var/status.log  10 '/usr/local/nagios/bin/nagios'

on a side note ... on one of my linux machines I found I had to remove the single
quotes from the /usr/local/nagios/var/status.log portion of the check command in
cgi.conf.

Sorry ... not much help so far  :\

--
Lonny





-------------------------------------------------------
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