Files
librenms-librenms/includes/polling/os/netscaler-sdwan.inc.php
PipoCanaja cc08235fe2 Netscaler SDWAN appliance - Serial# + Version and state sensors (#9834)
* mib

* versions and serial

* sensors

* sensors

* tests

* cleaning

* (force travis rerun)
2019-02-18 10:16:40 -06:00

10 lines
548 B
PHP

<?php
$osVersion = snmp_get($device, 'sdWANStatsApplianceOSVersion', '-Osqv', 'CITRIX-NetScaler-SD-WAN-MIB');
$swVersion = snmp_get($device, 'sdWANStatsApplianceSoftwareVersion', '-Osqv', 'CITRIX-NetScaler-SD-WAN-MIB');
$version = "OS: $osVersion, SW: $swVersion";
$serial = snmp_get($device, 'sdWANStatsApplianceSerialNumber', '-Osqv', 'CITRIX-NetScaler-SD-WAN-MIB');
// Appears to be the model name from the MIB, to be checked in real
$hardware = snmp_get($device, 'sdWANStatsApplianceName', '-Osqv', 'CITRIX-NetScaler-SD-WAN-MIB');