Project

General

Profile

Actions

Question #3224

closed

How to restart a daemon once if I modify several configuration files ?

Added by Jean Remond over 11 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Techniques
Regression:

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.

Actions

Also available in: Atom PDF