Permissions problem
Adam Mooz
adam.mooz at gmail.com
Thu Apr 23 20:27:16 CEST 2009
Hello List,
I'm using Nagios and NRPE to monitor some system logs on a remote
system via check_logfiles.
Here's the setup:
-user 'nagio's is part of the 'adm' group
-/var/log/syslog is readable by the 'adm' group
-manually executing check_logfiles as nagios (sudo -u nagios ./
check_logfiles <etc>) works
-executing remotely via NRPE fails
-NRPE is being started via xinetd and running as 'nagios'
changing syslog to be world readable fixes the problem, however it
does just that; leaves the syslog file world readable. This behavior
is being repeated for several other log files as well (mysql, apache)
where despite nagios being part of the appropriate groups still not
remotely readable. This is clearly a problem of something running as
a different user.
Ideas?
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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