Project

General

Profile

Actions

Question #3224

closed

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

Added by Jean Remond almost 12 years ago. Updated over 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 #1

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)
Actions #2

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.

Actions

Also available in: Atom PDF