Bad group on cmd pipe after restart.

Cipriani, Robert C Robert.Cipriani at mybrighthouse.com
Mon Nov 26 23:03:47 CET 2007



-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kevin Scott Sumner
Sent: Monday, November 26, 2007 4:36 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Bad group on cmd pipe after restart.

Hi all,

I've got nagios 3.0b6 running on Debian/etch with Debian's default Apache.

Apache runs as www-data:www-data.
Nagios runs as nagios:www-data, set this way via nagios.cfg's nagios_group
command.

In /etc/passwd, nagios has the default group of nagios.  (Confusing, I
know, but I'm trying not to stray too far away from the Debian norm.)

When I restart nagios, the command pipe ends up with the group nagios, not
www-data, as I specified in the config.  I'm confident in saying that it's
nagios that does this, not the init script.  Is this by design or an
oversight?  If by design, what have I overlooked or not understood?

Thanks!
Kevin
-----
Kevin Sumner
ksumner at physics.unc.edu
(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 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