Module: check_mk
Branch: master
Commit: ac99b0c571004b549853cf575d77fd6c56dc3494
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ac99b0c571004b…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Jan 17 17:09:32 2013 +0100
Improved cmk --notify
* cmk --notify: new environment variable NOTIFY_WHAT which has HOST or SERVICE as
value
* cmk --notify: removing service related envvars in case of host notifications
* cmk --notify: added test code to help developing nitofication plugins.
Can be called with "cmk --notify fake-service debug" for example
---
ChangeLog | 4 +
modules/notify.py | 149 ++++++++++++++++++++++++++++++++++++++++-----
notifications/test_plugin | 84 -------------------------
3 files changed, 138 insertions(+), 99 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=ac99b0c571…