nagios.cmd permissions

Mikel Bauer mikel at bridgeband.net
Mon Jun 16 19:26:36 CEST 2003


I would suggest against doing this, but instead, verify that the httpd 
user (ie apache or nobody) is in the nagioscmd group.  Also, have you 
restarted apache since you updated the cgi scripts?  I'd give that a shot.

Aleksey Domorad wrote:
> I had very same issue.
> Change your nagios.cfg to reflect following
>  
> # NAGIOS GROUP
> # This determines the effective group that Nagios should run as.
> # You can either supply a group name or a GID.
>  
> nagios_group=apache
>  
>  
> Basically start nagios with apache group.
>  
> Make sure that your apache config matches that group.
>  
>  
> 
>     -----Original Message-----
>     *From:* Richard Muir (Ham) [mailto:Richard.Muir at stortext.com]
>     *Sent:* Monday, June 16, 2003 11:35 AM
>     *To:* nagios-users at lists.sourceforge.net
>     *Subject:* [Nagios-users] nagios.cmd permissions
> 
>     Installed Nagios v 1.0 and had everything working no problem
> 
>      
> 
>     Installed v1.1 last week and now cannot execute commands from the
>     web interface due to permission problems.
> 
>      
> 
>     Have checked and have the following
> 
>     drwxrwsr-x    2 nagios   nagiocmd     4096 Jun 16 15:31 .
> 
>     drwxrwxr-x    4 nagios   nagios       4096 Jun 16 15:31 ..
> 
>     prw-rw----    1 nagios   nagiocmd        0 Jun 16 15:31 nagios.cmd
> 
>      
> 
>     Doing a chmod works BUT every time I restart nagios it resets the
>     permissions back to whats above.
> 
>      
> 
>     Have restarted the web server, checked the groups all seem ok.
> 
>      
> 
>     Anyone else have this issue ?
> 
>     Richard Muir
>     Systems Manager
>     Stortext(UK) Limited    phone: +44 (0) 1698 455 821 (reception)
>     Caird Centre,           phone: +44 (0) 1698 455 812 (direct)
>     Caird Park,             fax:      +44 (0) 1698 455 858
>     Hamilton, ML3 0EU       email: richard.muir at stortext.com
>     Scotland                www:_ <http://www.stortext.com>_
>     -----------------------------------------------
>     This e-mail message is confidential and for use by the addressee
>     only. If the message is received by anyone other than the addressee,
>     please return the message to the sender by replying to it and then
>     delete the message from your computer. Internet e-mails are not
>     necessarily secure. The Stortext Group * does not accept
>     responsibility for changes made to this message after it was sent.
> 
>     Whilst all reasonable care has been taken to avoid the transmission
>     of viruses, it is the responsibility of the recipient to ensure that
>     the onward transmission, opening or use of this message and any
>     attachments will not adversely affect its systems or data. No
>     responsibility is accepted by The Stortext Group * in this regard
>     and the recipient should carry out such virus and other checks as it
>     considers appropriate.
> 
>     * The Stortext Group of companies consists of Stortext Group
>     Limited, Stortext UK Limited and Stortext Document Solutions Limited.
> 
>     -----------------------------------------------
> 
>      
> 

-- 
Mikel Bauer



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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