event handlers
Posted: Tue Jul 29, 2014 3:56 pm
Hi,
I am writing up an event handler to deal with a recalcitrant crashing process on a bunch of boxes
which the world community in that particular tool has not solved (it has a mass of plugins and
debugging it is a nightmare, if even possible.)
The service and command entries for the cfg files and the event handler shell script itself are fine.
My question is, as usual, in the security.
The Barth text indicates the nagios user and a sudoers entry for nagios-as-root needs to be on each managed node
so that nagios can run the event handler shell script which has as the side-effect restarting the process if hard-down
or 3 soft-errors.
Is my interpretation of the security requirement correct or does it need a re-write?
I am writing up an event handler to deal with a recalcitrant crashing process on a bunch of boxes
which the world community in that particular tool has not solved (it has a mass of plugins and
debugging it is a nightmare, if even possible.)
The service and command entries for the cfg files and the event handler shell script itself are fine.
My question is, as usual, in the security.
The Barth text indicates the nagios user and a sudoers entry for nagios-as-root needs to be on each managed node
so that nagios can run the event handler shell script which has as the side-effect restarting the process if hard-down
or 3 soft-errors.
Is my interpretation of the security requirement correct or does it need a re-write?