Module: check_mk
Branch: master
Commit: b429a99e32df4b54626f25ed26992cb531640022
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b429a99e32df4b…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Apr 13 15:02:59 2016 +0200
3397 Show IP addresses of a host when hovering over its name
This works in several views, like {{All hosts}}. That way can get to know the
address of a host without going to its detail page.
---
.werks/3397 | 11 +++++++++++
ChangeLog | 1 +
web/plugins/views/builtin.py | 2 +-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/3397 b/.werks/3397
new file mode 100644
index 0000000..449497d
--- /dev/null
+++ b/.werks/3397
@@ -0,0 +1,11 @@
+Title: Show IP addresses of a host when hovering over its name
+Level: 1
+Component: multisite
+Class: feature
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1460552531
+
+This works in several views, like {{All hosts}}. That way can get to know the
+address of a host without going to its detail page.
diff --git a/ChangeLog b/ChangeLog
index 4c365c1..7ec53a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -155,6 +155,7 @@
* 3328 Default cloned views to be not public...
* 3376 Cleaned up handling of setting Livestatus AuthUser for "see all"
users...
NOTE: Please refer to the migration notes!
+ * 3397 Show IP addresses of a host when hovering over its name...
* 3059 FIX: Fixed highlighting of availability timeline time slices
* 3175 FIX: Fix timeranges of graphs that are embedded in a dashboard...
* 3076 FIX: fixed broken views in check_mk raw edition
diff --git a/web/plugins/views/builtin.py b/web/plugins/views/builtin.py
index f43f295..d95bfac 100644
--- a/web/plugins/views/builtin.py
+++ b/web/plugins/views/builtin.py
@@ -43,7 +43,7 @@ host_service_view_painters.insert(1, ('host', 'host'))
host_view_painters = [
('host_state', None),
# ('host_type_icon', None),
- ('host', 'host'),
+ ('host', 'host', 'host_addresses'),
('host_icons', None),
('num_services_ok', 'host_ok'),
('num_services_warn', 'host_warn'),