Page MenuHomePhabricator

Missing 'notify' for some Icinga configuration files
Open, Needs TriagePublic

Description

Certain files that Icinga depends on (e.g. /etc/nagios/nagios_service.cfg) are lacking the required Notify to reload Icinga upon change.

Full list of current files/directories:

# grep -ir ^cfg_.*= /etc/icinga /etc/nagios-plugins/ /etc/nagios
/etc/icinga/icinga.cfg:cfg_dir=/etc/icinga/objects/
/etc/icinga/icinga.cfg:cfg_dir=/etc/icinga/modules
/etc/icinga/icinga.cfg:cfg_dir=/etc/icinga/commands
/etc/icinga/icinga.cfg:cfg_dir=/etc/nagios-plugins/config
/etc/icinga/icinga.cfg:cfg_file=/etc/nagios/nagios_host.cfg
/etc/icinga/icinga.cfg:cfg_file=/etc/nagios/nagios_service.cfg
/etc/icinga/icinga.cfg:cfg_file=/etc/nagios/puppet_hostgroups.cfg
/etc/icinga/icinga.cfg:cfg_file=/etc/nagios/puppet_servicegroups.cfg
/etc/icinga/icinga.cfg:cfg_file=/etc/icinga/commands.cfg

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptWed, Sep 16, 2:01 PM
fgiunchedi updated the task description. (Show Details)Wed, Sep 16, 2:11 PM
fgiunchedi updated the task description. (Show Details)Wed, Sep 16, 2:26 PM

Change 627849 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] icinga: reload when nagios config changes

https://gerrit.wikimedia.org/r/627849

Change 627849 merged by Filippo Giunchedi:
[operations/puppet@production] icinga: reload when nagios config changes

https://gerrit.wikimedia.org/r/627849

Change 628040 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] icinga: notify on commands change

https://gerrit.wikimedia.org/r/628040

Change 628040 merged by Filippo Giunchedi:
[operations/puppet@production] icinga: notify on commands change

https://gerrit.wikimedia.org/r/628040

fgiunchedi closed this task as Resolved.Thu, Sep 17, 4:13 PM
fgiunchedi claimed this task.

I believe with the latest changes all files / directories are covered now, please reopen if sth is amiss!

JMeybohm reopened this task as Open.Mon, Sep 21, 8:34 AM
JMeybohm added a subscriber: JMeybohm.