On Thu, May 14, 2009 at 11:18:21AM +0100, Andrew Hall wrote:
> On 2009-05-14 04:47, Dennison Williams wrote:
> > Hello all,
> >
> > I have been noticing that on a semi regular basis the
> > /usr/local/nagios/etc/htpasswd* files are getting chown'd as
> > nagios:nagios and chmod'd 640.  My web server is running as www-data and
> > it needs to be able to read these files but every time they get changed
> > the site goes all "wonky" (a technical term I am sure you are all
> > familiar with).
> >
> > I am guessing there is some cron job that is handling this.  A cursory
> > look through the cron jobs that nagios runs did not reveal anything
> > enlightening.  I was wondering if there was any advice on how to handle
> > this situation?
> 
> I can't tell you what's changing it, but I can recommend some solutions:
If something's changing periodically in the opsview config directory you 
can usually blame nagconfgen.pl
> 
> 1. Add the webserver user to the nagios group. As you note the perms
> are 640 so the group can read the file.
IIRC this is included in the nagvis config documentation on the docs 
site anyway, isn't it?

Stu
-- 
>From the prompt of Stu Teasdale

You can never tell which way the train went by looking at the tracks.
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/listinfo/opsview-users

Reply via email to