check_nagios can't find running process
Subhendu Ghosh
sghosh at sghosh.org
Wed Apr 2 23:36:25 CEST 2003
Could you post the the ps output to see whether
"/usr/local/nagios/bin/nagios" matches ?
perhaps the -C arg needs to be modified to match the ps output.
-sg
On Wed, 2 Apr 2003, Heather Barnes wrote:
> 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!
>
> 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'
>
> status.log is there and updating
>
> ??
> -Heather
>
> Lonny Selinger wrote:
>
> >It *could* be the format of the string you are supplying to check_nagios. What does
> >your check command look like and what happens if you execute it from the command
> >line as nagios?
> >
> >--
> >Lonny
> >
> >
> >
> >>I am unable to use external web commands due to a check_nagios returning a "can't
> >>find running process" error.
> >>I have confirmed nagios is indeed running and
> >> /usr/local/nagios/var/status.log exists, is being updated, and the
> >>directories have the proper permissions.
> >>
> >>I have also straced check_nagios and do not get any errors when it opens and
> >>reads /usr/local/nagios/var/status.log.
> >>
> >>Does anyone have any ideas on why check_nagios is returning this error?
> >>
> >>Thanks,
> >>Heather
> >>
> >>
--
-sg
-------------------------------------------------------
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