AW: nagios stop script not killing all processes

C. Bensend benny at bennyvision.com
Thu Jul 1 16:17:32 CEST 2004


> You need to chmod to 777 the nagios.cmd file (usually in the
> /var/nagios/var/rw or in the path where your nagios is installed), after
> restarted
> the nagios daemon, then you can send commands (like Service Aknowledges)
> via the GUI

As a general rule, chmod'ing ANYTHING 0777 is A Bad Idea(tm).

This might fix the immediate problem, but could very well introduce others.
There are security risks (now, ANYONE with access to the machine can issue
commands to Nagios), stability risks (Whoops, I didn't mean to write to
THAT file!), etc.

nagios.cmd needs to be writable by the nagios daemon and the webserver,
no more, no less.

Benny


-- 
"You were doing well until everyone died."
                                                    -- "God", Futurama


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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