Module: check_mk
Branch: master
Commit: dbaf244dbdd6eeaf5a86867428b3e05f57f1adb9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dbaf244dbdd6ee…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Sep 15 13:45:30 2016 +0200
Added hostname to bulk discovery WATO log entry
---
web/htdocs/wato.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index d90a640..c425720 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -3467,8 +3467,8 @@ def mode_bulk_discovery(phase):
result_txt += _("%s: discovery successful<br>\n")
% hostname
folder.mark_hosts_dirty(need_sync=False)
log_pending(AFFECTED, hostname, "bulk-inventory",
- _("Did service discovery on host: %d added, %d removed,
%d kept, %d total services") %
-
tuple(counts[hostname]))
+ _("Did service discovery on host %s: %d added, %d
removed, %d kept, %d total services") %
+
tuple([hostname] + counts[hostname]))
if not host.locked():
host.clear_discovery_failed()