Module: check_mk
Branch: master
Commit: bfef52f2be472f1a2d265deca2f0acb44de33f0a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bfef52f2be472f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Oct 12 10:51:34 2016 +0200
Added icon for notification progress/result log lines
---
web/htdocs/images/icon_alert_notify_progress.png | Bin 0 -> 4373 bytes
web/htdocs/images/icon_alert_notify_result.png | Bin 0 -> 4217 bytes
web/plugins/views/painters.py | 8 ++++++++
3 files changed, 8 insertions(+)
diff --git a/web/htdocs/images/icon_alert_notify_progress.png
b/web/htdocs/images/icon_alert_notify_progress.png
new file mode 100644
index 0000000..18d6434
Binary files /dev/null and b/web/htdocs/images/icon_alert_notify_progress.png differ
diff --git a/web/htdocs/images/icon_alert_notify_result.png
b/web/htdocs/images/icon_alert_notify_result.png
new file mode 100644
index 0000000..58beadb
Binary files /dev/null and b/web/htdocs/images/icon_alert_notify_result.png differ
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index 621e086..7c5bf49 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -2312,6 +2312,14 @@ def paint_log_icon(row):
img = "notify"
title = _("User notification")
+ elif log_type.endswith("NOTIFICATION RESULT"):
+ img = "notify_result"
+ title = _("Final notification result")
+
+ elif log_type.endswith("NOTIFICATION PROGRESS"):
+ img = "notify_progress"
+ title = _("The notification is being processed")
+
elif log_type == "EXTERNAL COMMAND":
img = "command"
title = _("External command")