check_nagios give a failure

Russell Adams RLAdams at Kelsey-Seybold.com
Thu Jul 17 21:38:07 CEST 2003


I recently had a system with GRSecurity in the kernel with /proc
restrictions that prevented the webserver from running check_nagios
properly.

Check_nagios would execute ps, and the /proc restrictions would
prevent the webserver from viewing all the processes.

Had to add the apache user to group wheel to get it to work, and that
really isn't the best choice. ;]

Russell

On Thu, Jul 17, 2003 at 09:27:42PM +0200, Claus Rosenberger wrote:
> hi,
> 
> i installed the newest cvs with the newest plugins, i dont know if i
> should use the head or the others, i tried both of them.
> 
> after upgrading i can use the cgi's but i cannot use commands with cgi's
> 
> that command
> 
> /usr/lib/nagios/plugins/check_nagios -F /var/log/nagios/status.dat -e 5 -C
> /usr/sbin/nagios
> 
> output
> 
> Nagios problem: located 4 processes, status log updated 1058469897 seconds
> ago
> 
> it seems like a permission problem but i checked the cgi.cfg and the
> permissions in /var/log/nagios.
> 
> any ideas?
> 
> thx
> 
> claus
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
> same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> 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: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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