From 2e606920822fa919f3ab52613b53f532213f4d12 Mon Sep 17 00:00:00 2001 From: Bernhard Weitzhofer Date: Sun, 17 Mar 2013 11:47:07 +0100 Subject: [PATCH] nagios module: add common locactions of icinga.cfg Icinga should be compatible to Nagios (in our case the nagios module works well with our Icinga installation) --- library/nagios | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/library/nagios b/library/nagios index 70597879210..14f85682a56 100644 --- a/library/nagios +++ b/library/nagios @@ -128,7 +128,11 @@ def which_cmdfile(): '/usr/local/nagios/etc/nagios.cfg', '/usr/local/nagios/nagios.cfg', '/opt/nagios/etc/nagios.cfg', - '/opt/nagios/nagios.cfg' + '/opt/nagios/nagios.cfg', + # icinga on debian/ubuntu + '/etc/icinga/icinga.cfg', + # icinga installed from source (default location) + '/usr/local/icinga/etc/icinga.cfg', ] for path in locations: