aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms.js
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-05-20 20:09:08 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-05-20 20:09:08 +0200
commit29a2798de5c9e61e29ebc8bad6862c2f93217958 (patch)
treeee63aa143fee3c8ebc7c95696e5260e68b0f2561 /web/js/nms.js
parent86bf244293bdb72b4bf27d3204d6984ab0c60a12 (diff)
Add a combined health map
Only combines SNMP and ping for now, but the "API" it establishes should do what we need. References #15 Before I consider this done we need to add the infomration in the info-box, and also remove the manual information present there.
Diffstat (limited to 'web/js/nms.js')
-rw-r--r--web/js/nms.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/js/nms.js b/web/js/nms.js
index b979a32..33be786 100644
--- a/web/js/nms.js
+++ b/web/js/nms.js
@@ -623,6 +623,9 @@ function setMapModeFromN(e,key)
case '3':
setUpdater(handler_dhcp);
break;
+ case '4':
+ setUpdater(handler_combo);
+ break;
case '5':
setUpdater(handler_temp);
break;