Question #3224
closedHow to restart a daemon once if I modify several configuration files ?
Description
Example :
the nrpe daemon is used to allow an nagios/icinga/shinken server to monitor several servers.
For Debian/Ubuntu servers you can configure the nrpe daemon with several files in /etc/nagios/nrpe.d
My idea is to create a file for each service (say ssh) managed by Rudder so the monitoring server is able to request informations about ssh.
If I add another service (say apache) and I need to modify both apache and ssh files in /etc/nagios/nrpe.d
Can I tell Rudder to restart nrpe daemon only once ?
The big idea is to trigger only once an action even if several rules ask for it.
Updated by Benoît PECCATTE over 9 years ago
- Tracker changed from User story to Question
- Category set to Techniques
- Target version set to Ideas (not version specific)
Updated by Benoît PECCATTE over 8 years ago
- Status changed from New to Resolved
There is currently no way to do this with common techniques.
It is however possible to put all your change in a single technique with ncf and call restart only once.
Since this is an old question I will directly mark it solved, but feel free to reopen if you think this is not enough.