diff --git a/includes/definitions/netscaler-sdwan.yaml b/includes/definitions/netscaler-sdwan.yaml new file mode 100644 index 0000000000..f443a30135 --- /dev/null +++ b/includes/definitions/netscaler-sdwan.yaml @@ -0,0 +1,11 @@ +os: netscaler-sdwan +text: 'NetScaler SD-WAN' +type: appliance +icon: citrix +group: citrix +over: + - { graph: device_uptime, text: 'Device Uptime' } + - { graph: device_ping_perf, text: 'Ping Response' } +discovery: + - sysObjectID: + - .1.3.6.1.4.1.3845.31 diff --git a/tests/data/netscaler-sdwan.json b/tests/data/netscaler-sdwan.json new file mode 100644 index 0000000000..dfe26c16bd --- /dev/null +++ b/tests/data/netscaler-sdwan.json @@ -0,0 +1,52 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.3845.31.4", + "sysDescr": "Citrix Virtual WAN Appliance", + "sysContact": null, + "version": null, + "hardware": "", + "features": null, + "location": null, + "os": "netscaler-sdwan", + "type": "appliance", + "serial": null, + "icon": "citrix.svg" + } + ] + }, + "poller": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.3845.31.4", + "sysDescr": "Citrix Virtual WAN Appliance", + "sysContact": "", + "version": null, + "hardware": "", + "features": null, + "location": "", + "os": "netscaler-sdwan", + "type": "appliance", + "serial": null, + "icon": "citrix.svg" + } + ] + } + }, + "bgp-peers": { + "discovery": { + "devices": [ + { + "bgpLocalAs": "0" + } + ], + "bgpPeers": [], + "bgpPeers_cbgp": [] + }, + "poller": "matches discovery" + } +} diff --git a/tests/snmpsim/netscaler-sdwan.snmprec b/tests/snmpsim/netscaler-sdwan.snmprec new file mode 100644 index 0000000000..6573d4bbe4 --- /dev/null +++ b/tests/snmpsim/netscaler-sdwan.snmprec @@ -0,0 +1,301 @@ +1.3.6.1.2.1.1.1.0|4|Citrix Virtual WAN Appliance +1.3.6.1.2.1.1.2.0|6|.1.3.6.1.4.1.3845.31.4 +1.3.6.1.2.1.1.3.0|67|246978 +1.3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.1.1.9.1|65|22400091 +1.3.6.1.2.1.4.31.1.1.10.1|65|0 +1.3.6.1.2.1.4.31.1.1.12.1|65|0 +1.3.6.1.2.1.4.31.1.1.13.1|70|0 +1.3.6.1.2.1.4.31.1.1.14.1|65|0 +1.3.6.1.2.1.4.31.1.1.15.1|65|0 +1.3.6.1.2.1.4.31.1.1.16.1|65|0 +1.3.6.1.2.1.4.31.1.1.17.1|65|0 +1.3.6.1.2.1.4.31.1.1.18.1|65|451806 +1.3.6.1.2.1.4.31.1.1.19.1|70|451806 +1.3.6.1.2.1.4.31.1.1.20.1|65|449308 +1.3.6.1.2.1.4.31.1.1.21.1|70|449308 +1.3.6.1.2.1.4.31.1.1.22.1|65|0 +1.3.6.1.2.1.4.31.1.1.24.1|70|0 +1.3.6.1.2.1.4.31.1.1.25.1|65|0 +1.3.6.1.2.1.4.31.1.1.28.1|65|0 +1.3.6.1.2.1.4.31.1.1.29.1|65|0 +1.3.6.1.2.1.4.31.1.1.46.1|67|0 +1.3.6.1.2.1.4.31.1.1.47.1|66|30000 +1.3.6.1.2.1.4.35.1.4.6.1.4.10.29.120.126|4|40:a6:77:2a:42:6 +1.3.6.1.2.1.5.1.0|65|3284 +1.3.6.1.2.1.5.2.0|65|4 +1.3.6.1.2.1.5.3.0|65|39 +1.3.6.1.2.1.5.4.0|65|4 +1.3.6.1.2.1.5.5.0|65|0 +1.3.6.1.2.1.5.6.0|65|0 +1.3.6.1.2.1.5.7.0|65|0 +1.3.6.1.2.1.5.8.0|65|3241 +1.3.6.1.2.1.5.9.0|65|0 +1.3.6.1.2.1.5.10.0|65|0 +1.3.6.1.2.1.5.11.0|65|0 +1.3.6.1.2.1.5.12.0|65|0 +1.3.6.1.2.1.5.13.0|65|0 +1.3.6.1.2.1.5.14.0|65|3314 +1.3.6.1.2.1.5.15.0|65|0 +1.3.6.1.2.1.5.16.0|65|73 +1.3.6.1.2.1.5.17.0|65|0 +1.3.6.1.2.1.5.18.0|65|0 +1.3.6.1.2.1.5.19.0|65|0 +1.3.6.1.2.1.5.20.0|65|0 +1.3.6.1.2.1.5.21.0|65|0 +1.3.6.1.2.1.5.22.0|65|3241 +1.3.6.1.2.1.5.23.0|65|0 +1.3.6.1.2.1.5.24.0|65|0 +1.3.6.1.2.1.5.25.0|65|0 +1.3.6.1.2.1.5.26.0|65|0 +1.3.6.1.2.1.6.5.0|65|7142 +1.3.6.1.2.1.6.6.0|65|6060 +1.3.6.1.2.1.6.7.0|65|7 +1.3.6.1.2.1.6.8.0|65|7 +1.3.6.1.2.1.6.9.0|66|6 +1.3.6.1.2.1.6.10.0|65|428215 +1.3.6.1.2.1.6.11.0|65|441427 +1.3.6.1.2.1.6.12.0|65|264 +1.3.6.1.2.1.6.14.0|65|0 +1.3.6.1.2.1.6.15.0|65|5374 +1.3.6.1.2.1.7.1.0|65|11388 +1.3.6.1.2.1.7.2.0|65|36 +1.3.6.1.2.1.7.3.0|65|0 +1.3.6.1.2.1.7.4.0|65|11498 +1.3.6.1.2.1.11.1.0|65|2930 +1.3.6.1.2.1.11.2.0|65|2695 +1.3.6.1.2.1.11.3.0|65|0 +1.3.6.1.2.1.11.4.0|65|0 +1.3.6.1.2.1.11.5.0|65|0 +1.3.6.1.2.1.11.6.0|65|0 +1.3.6.1.2.1.11.8.0|65|0 +1.3.6.1.2.1.11.9.0|65|0 +1.3.6.1.2.1.11.10.0|65|0 +1.3.6.1.2.1.11.11.0|65|0 +1.3.6.1.2.1.11.12.0|65|0 +1.3.6.1.2.1.11.13.0|65|5256 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|178 +1.3.6.1.2.1.11.16.0|65|2270 +1.3.6.1.2.1.11.17.0|65|0 +1.3.6.1.2.1.11.18.0|65|0 +1.3.6.1.2.1.11.19.0|65|0 +1.3.6.1.2.1.11.20.0|65|0 +1.3.6.1.2.1.11.21.0|65|20 +1.3.6.1.2.1.11.22.0|65|0 +1.3.6.1.2.1.11.24.0|65|0 +1.3.6.1.2.1.11.25.0|65|0 +1.3.6.1.2.1.11.26.0|65|0 +1.3.6.1.2.1.11.27.0|65|0 +1.3.6.1.2.1.11.28.0|65|2719 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.30.0|2|2 +1.3.6.1.2.1.11.31.0|65|0 +1.3.6.1.2.1.11.32.0|65|0 +1.3.6.1.2.1.31.1.1.1.3.1|65|0 +1.3.6.1.2.1.31.1.1.1.3.2|65|0 +1.3.6.1.2.1.31.1.1.1.3.3|65|0 +1.3.6.1.2.1.31.1.1.1.3.4|65|0 +1.3.6.1.2.1.31.1.1.1.3.5|65|0 +1.3.6.1.2.1.31.1.1.1.3.6|65|0 +1.3.6.1.2.1.31.1.1.1.3.7|65|0 +1.3.6.1.2.1.31.1.1.1.3.8|65|0 +1.3.6.1.2.1.31.1.1.1.4.1|65|0 +1.3.6.1.2.1.31.1.1.1.4.2|65|0 +1.3.6.1.2.1.31.1.1.1.4.3|65|0 +1.3.6.1.2.1.31.1.1.1.4.4|65|0 +1.3.6.1.2.1.31.1.1.1.4.5|65|0 +1.3.6.1.2.1.31.1.1.1.4.6|65|0 +1.3.6.1.2.1.31.1.1.1.4.7|65|0 +1.3.6.1.2.1.31.1.1.1.4.8|65|0 +1.3.6.1.2.1.31.1.1.1.5.1|65|0 +1.3.6.1.2.1.31.1.1.1.5.2|65|0 +1.3.6.1.2.1.31.1.1.1.5.3|65|0 +1.3.6.1.2.1.31.1.1.1.5.4|65|0 +1.3.6.1.2.1.31.1.1.1.5.5|65|0 +1.3.6.1.2.1.31.1.1.1.5.6|65|0 +1.3.6.1.2.1.31.1.1.1.5.7|65|0 +1.3.6.1.2.1.31.1.1.1.5.8|65|0 +1.3.6.1.2.1.31.1.1.1.6.1|70|65287005 +1.3.6.1.2.1.31.1.1.1.6.2|70|19840900 +1.3.6.1.2.1.31.1.1.1.6.3|70|2778631722 +1.3.6.1.2.1.31.1.1.1.6.4|70|2448306534 +1.3.6.1.2.1.31.1.1.1.6.5|70|2787355359 +1.3.6.1.2.1.31.1.1.1.6.6|70|0 +1.3.6.1.2.1.31.1.1.1.6.7|70|0 +1.3.6.1.2.1.31.1.1.1.6.8|70|0 +1.3.6.1.2.1.31.1.1.1.7.1|70|387420 +1.3.6.1.2.1.31.1.1.1.7.2|70|179105 +1.3.6.1.2.1.31.1.1.1.7.3|70|12656086 +1.3.6.1.2.1.31.1.1.1.7.4|70|5587383 +1.3.6.1.2.1.31.1.1.1.7.5|70|11051639 +1.3.6.1.2.1.31.1.1.1.7.6|70|0 +1.3.6.1.2.1.31.1.1.1.7.7|70|0 +1.3.6.1.2.1.31.1.1.1.7.8|70|0 +1.3.6.1.2.1.31.1.1.1.8.1|70|0 +1.3.6.1.2.1.31.1.1.1.8.2|70|0 +1.3.6.1.2.1.31.1.1.1.8.3|70|0 +1.3.6.1.2.1.31.1.1.1.8.4|70|0 +1.3.6.1.2.1.31.1.1.1.8.5|70|0 +1.3.6.1.2.1.31.1.1.1.8.6|70|0 +1.3.6.1.2.1.31.1.1.1.8.7|70|0 +1.3.6.1.2.1.31.1.1.1.8.8|70|0 +1.3.6.1.2.1.31.1.1.1.9.1|70|0 +1.3.6.1.2.1.31.1.1.1.9.2|70|0 +1.3.6.1.2.1.31.1.1.1.9.3|70|0 +1.3.6.1.2.1.31.1.1.1.9.4|70|0 +1.3.6.1.2.1.31.1.1.1.9.5|70|0 +1.3.6.1.2.1.31.1.1.1.9.6|70|0 +1.3.6.1.2.1.31.1.1.1.9.7|70|0 +1.3.6.1.2.1.31.1.1.1.9.8|70|0 +1.3.6.1.2.1.31.1.1.1.10.1|70|65287005 +1.3.6.1.2.1.31.1.1.1.10.2|70|22318329 +1.3.6.1.2.1.31.1.1.1.10.3|70|2768174336 +1.3.6.1.2.1.31.1.1.1.10.4|70|3293167874 +1.3.6.1.2.1.31.1.1.1.10.5|70|1665525636 +1.3.6.1.2.1.31.1.1.1.10.6|70|0 +1.3.6.1.2.1.31.1.1.1.10.7|70|0 +1.3.6.1.2.1.31.1.1.1.10.8|70|0 +1.3.6.1.2.1.31.1.1.1.11.1|70|387420 +1.3.6.1.2.1.31.1.1.1.11.2|70|70100 +1.3.6.1.2.1.31.1.1.1.11.3|70|11923734 +1.3.6.1.2.1.31.1.1.1.11.4|70|5122698 +1.3.6.1.2.1.31.1.1.1.11.5|70|11123058 +1.3.6.1.2.1.31.1.1.1.11.6|70|0 +1.3.6.1.2.1.31.1.1.1.11.7|70|0 +1.3.6.1.2.1.31.1.1.1.11.8|70|0 +1.3.6.1.2.1.31.1.1.1.12.1|70|0 +1.3.6.1.2.1.31.1.1.1.12.2|70|0 +1.3.6.1.2.1.31.1.1.1.12.3|70|0 +1.3.6.1.2.1.31.1.1.1.12.4|70|0 +1.3.6.1.2.1.31.1.1.1.12.5|70|0 +1.3.6.1.2.1.31.1.1.1.12.6|70|0 +1.3.6.1.2.1.31.1.1.1.12.7|70|0 +1.3.6.1.2.1.31.1.1.1.12.8|70|0 +1.3.6.1.2.1.31.1.1.1.13.1|70|0 +1.3.6.1.2.1.31.1.1.1.13.2|70|0 +1.3.6.1.2.1.31.1.1.1.13.3|70|0 +1.3.6.1.2.1.31.1.1.1.13.4|70|0 +1.3.6.1.2.1.31.1.1.1.13.5|70|0 +1.3.6.1.2.1.31.1.1.1.13.6|70|0 +1.3.6.1.2.1.31.1.1.1.13.7|70|0 +1.3.6.1.2.1.31.1.1.1.13.8|70|0 +1.3.6.1.2.1.31.1.1.1.14.1|2|0 +1.3.6.1.2.1.31.1.1.1.14.2|2|0 +1.3.6.1.2.1.31.1.1.1.14.3|2|0 +1.3.6.1.2.1.31.1.1.1.14.4|2|0 +1.3.6.1.2.1.31.1.1.1.14.5|2|0 +1.3.6.1.2.1.31.1.1.1.14.6|2|0 +1.3.6.1.2.1.31.1.1.1.14.7|2|0 +1.3.6.1.2.1.31.1.1.1.14.8|2|0 +1.3.6.1.2.1.31.1.1.1.15.1|66|0 +1.3.6.1.2.1.31.1.1.1.15.2|66|100 +1.3.6.1.2.1.31.1.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