/usr/local/nagios/var/rw/nagios.cmd

Sylvain Padoan sylvain.padoan at sihpic.fr
Wed Jun 18 16:42:51 CEST 2003


> but how to automate this step?? what config file??

You can make some changes in your /etc/init.d/nagios file:

chmod 770 $NagiosCmd
chgrp www-data $NagiosCmd

in start) section.


----- Original Message -----
From: "Kreig Dubose" <Kreig.Dubose at webex.com>
To: <nagios-users at lists.sourceforge.net>
Sent: Wednesday, June 18, 2003 3:03 PM
Subject: [Nagios-users] /usr/local/nagios/var/rw/nagios.cmd


> I'm having some considerable difficulties with this file.  Basically
> everytime I restart nagios it's permissions get reset and host comments
and
> passive info quit working.   The only way I've found to make it work is by
> changing perms to 777 (Which I don't like doing anyways).  Am I missing
> something here ?
>
> prwxrwxrwt    1 nagios   nagios          0 Jun 18 12:59 nagios.cmd
>
> Nagios 1.0
> 2.4.7-10smp #1 SMP
>
>
> TIA,
> Kreig
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> 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
>



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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