check_nagios can't find running process

Earl C. Ruby III earl at switchmanagement.com
Thu Apr 3 21:16:18 CEST 2003


On Wednesday 02 April 2003 20:17, Subhendu Ghosh wrote:
> On Wed, 2 Apr 2003, Earl C. Ruby III wrote:
> > nagios_check_command=/usr/lib/nagios/check_nagios -F
> > /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios
>
> try it as "sudo -u apache ....." since the plugin is executed by the cgi
> and not nagios...

Good catch, but that wasn't it. I had the path wrong in cgi.cfg. Should have 
been "/usr/lib/nagios/plugins/check_nagios".

Once I fixed the path, it worked just fine.



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