I would expect that if I say that Nagios' user is nagios and its group is www-data, it would use nagios as it's user and www-data as it's group for all it's operations, including fixing up files when it starts.
I'm using 3.0b6, currently. Cheers, Kevin ----- Kevin Sumner [EMAIL PROTECTED] (919) 962-6494 Assistant Systems Administrator Physics and Astronomy Networking Infrastructure and Computing University of North Carolina at Chapel Hill On Tue, 27 Nov 2007, Cipriani, Robert C wrote: > I see what you mean...why doesn't it work as expected? Did you say which > version you are using? 3.x? > > I have the luxury of running apache/Nagios on a dedicated virtual machine. > > > Robert C. Cipriani > Senior Network Administrator > Tampa Bay Division IT > Bright House Networks > W: (727) 329-2000 x74264 > M: (727) 365-1231 > > > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Scott > Sumner > Sent: Monday, November 26, 2007 6:15 PM > To: Cipriani, Robert C > Cc: 'nagios-users@lists.sourceforge.net' > Subject: Re: [Nagios-users] Bad group on cmd pipe after restart. > > Robert, > > Affecting the apache user will affect *all* instances of apache in our > infrastructure (regular website, as well as BackupPC's apache, etc). I > know this seems like a broken setup -- it is. :) We're in planning > phases for better machine user/group management, but creating a one-off > machine in terms of users/groups is difficult at the moment because the flat > files > are automatically spawned by some, err... "feature challenged" > scripts. I'm pushing hard to get this changed, but for now, I can't change > change a user's group membership without it affecting that on every > machine. > > I realize I could remedy this situation by running apache as > www-data:nagios on our nagios server, but my question isn't so much about > making it work -- it's about whether nagios is broken in the way that it > deals with creating its command pipe or whether I've over looked something > (a bug vs. my poor brain, if you will). > > Cheers, > Kevin > ----- > Kevin Sumner > [EMAIL PROTECTED] > (919) 962-6494 > Assistant Systems Administrator > Physics and Astronomy Networking Infrastructure and Computing > University of North Carolina at Chapel Hill > > > > >> >> Kevin, >> >> Just out of curiosity, why not run Nagios as nagios:nagios? On my setup, the >> apache user is a member of the nagios group. Maybe yours is using the >> nagios user's default group? >> >> >> >> Robert C. Cipriani >> Senior Network Administrator >> Tampa Bay Division IT >> Bright House Networks >> W: (727) 329-2000 x74264 >> M: (727) 365-1231 >> >> >> >> >> CONFIDENTIALITY NOTICE: This e-mail may contain information that is >> privileged, confidential or otherwise protected from disclosure. If you are >> not the intended recipient of this e-mail, please notify the sender >> immediately by return e-mail, purge it and do not disseminate or copy it. >> >> ------------------------------------------------------------------------- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users@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 > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > privileged, confidential or otherwise protected from disclosure. If you are > not the intended recipient of this e-mail, please notify the sender > immediately by return e-mail, purge it and do not disseminate or copy it. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users@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 > > > -- > > ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users@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