Commit 7be78d50 by Michael DeHaan

Merge pull request #2430 from b6d/nagios-module-icingacfg

nagios module: add common locactions of icinga.cfg
parents 3ee53a27 2e606920
...@@ -128,7 +128,11 @@ def which_cmdfile(): ...@@ -128,7 +128,11 @@ def which_cmdfile():
'/usr/local/nagios/etc/nagios.cfg', '/usr/local/nagios/etc/nagios.cfg',
'/usr/local/nagios/nagios.cfg', '/usr/local/nagios/nagios.cfg',
'/opt/nagios/etc/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: for path in locations:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment