Module: check_mk
Branch: master
Commit: b320956522927bdfb773b4763cce66ec6a5bc1a6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b320956522927b…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Fri Apr 5 10:59:46 2013 +0200
Little speedup of check_mk --notify
---
ChangeLog | 1 +
modules/check_mk.py | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8818697..a5f9027 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -94,6 +94,7 @@
Notifications:
* FIX: Removing GRAPH_CODE in html mails when not available
* Using plugin argument 1 for path to pnp4nagios index php to render graphs
+ * Little speedup of check_mk --notify
Multisite:
* FIX: Fixed umlaut handling in reloaded snapins
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 0b1211e..7e8e257 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -4816,7 +4816,7 @@ if __name__ == "__main__":
"man", "nowiki", "config-check",
"backup=", "restore=",
"check-inventory=", "paths",
"cleanup-autochecks", "checks=" ]
- non_config_options = ['-L', '--list-checks', '-P',
'--package', '-M',
+ non_config_options = ['-L', '--list-checks', '-P',
'--package', '-M', '--notify',
'--man', '-V', '--version'
,'-h', '--help', '--automation', ]
try:
@@ -4968,6 +4968,7 @@ if __name__ == "__main__":
do_automation(a, args)
done = True
elif o == '--notify':
+ read_config_files(False, True)
sys.exit(do_notify(args))
except MKGeneralException, e: