aboutsummaryrefslogtreecommitdiffstats
path: root/web/nms.gathering.org/js/nms.js
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2016-03-16 18:15:52 +0000
committerKristian Lyngstol <kly@kly.no>2016-03-16 18:15:52 +0000
commit4666a02a51fa313e34875c169502a0cecf834b1c (patch)
tree1304ed9ed0c978465b2ffaae2ba19b455d32761c /web/nms.gathering.org/js/nms.js
parent783096cef942a275f23f7c7cb63bbca175cff0ba (diff)
NMS: Rewrite the SNMP fetcher and whatnot
Again. It's using the prototype, and the objects are configurable. I assume this will need some work. Also: I touched ping up to make it work without linknets.
Diffstat (limited to 'web/nms.gathering.org/js/nms.js')
-rw-r--r--web/nms.gathering.org/js/nms.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/nms.gathering.org/js/nms.js b/web/nms.gathering.org/js/nms.js
index ec7ed06..0484ffa 100644
--- a/web/nms.gathering.org/js/nms.js
+++ b/web/nms.gathering.org/js/nms.js
@@ -457,6 +457,7 @@ function initNMS() {
nmsData.registerSource("switchstate","/api/public/switch-state");
// Private
+ nmsData.registerSource("snmp","/api/private/snmp");
nmsData.registerSource("portstate","/api/private/port-state");
nmsData.registerSource("comments", "/api/private/comments");
nmsData.registerSource("smanagement","/api/private/switches-management");