diff options
Diffstat (limited to 'web/nms.gathering.org/api/API.rst')
-rw-r--r-- | web/nms.gathering.org/api/API.rst | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/web/nms.gathering.org/api/API.rst b/web/nms.gathering.org/api/API.rst index 4751ee5..61fbb5a 100644 --- a/web/nms.gathering.org/api/API.rst +++ b/web/nms.gathering.org/api/API.rst @@ -46,15 +46,15 @@ Update frequency: on user input Lists comments. -/api/private/port-state ------------------------ +/api/private/snmp +----------------- Methods: GET Update frequency: Every few seconds, based on SNMP data. -Returns detailed per-port statistics. Being somewhat reorganized but will -remain highly relevant. +Returns full SNMP-data, split into two trees. 'misc' and 'ports'. + /api/private/switches-management -------------------------------- @@ -70,10 +70,15 @@ List management information for switches. Methods: POST -Add switches, supports same format as tools/add_switches.txt.pl +Add or update switches, supports same format as tools/add_switches.txt.pl Accepts an array of switches. +Magic: If you set placement to be "reset", it will re-calculate placement +based on sysname. For new switches, this is redundant as an empty +placement-field will trigger the same behavior. + + Public ...... |