how to issue service check through externalcommand

Marc Powell marc at ena.com
Mon Sep 3 16:18:41 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Navdeep Sidhu
> Sent: Monday, September 03, 2007 8:48 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] how to issue service check through
> externalcommand
> 
> Hi
> 
> After making the changes, I have restarted nagios as well webserver
but
> still no success.
> 

If you're submitting the command via the nagios cgis then either you've
missed a step in the documentation and your web server isn't running as
group nagiocmd or there is a directory higher than rw that is not
allowing that group access. Your web server error_log might provide more
insight as well as the output of the following command --
echo "PID  Running As   Friendly Name"; ps -eo pid,user,fname | grep
http; echo -en "\ngroup: "; grep nagiocmd /etc/group

If you're submitting the command via an external script then that script
isn't running as user nagios or group nagiocmd, or there is a directory
higher than rw that is not allowing that group access.

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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