From 9480e86693c069443ff52604dd0cdafc89ee41c6 Mon Sep 17 00:00:00 2001 From: Mark Unwin Date: Mon, 11 Nov 2024 08:29:40 +1000 Subject: [PATCH] Support for SNMP Aruba / Silver Peak routers. --- app/Helpers/snmp_23867_helper.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app/Helpers/snmp_23867_helper.php diff --git a/app/Helpers/snmp_23867_helper.php b/app/Helpers/snmp_23867_helper.php new file mode 100644 index 000000000..47224b500 --- /dev/null +++ b/app/Helpers/snmp_23867_helper.php @@ -0,0 +1,22 @@ +manufacturer = 'Silver Peak Systems, Inc.'; + $details->serial = my_snmp_get($ip, $credentials, "1.3.6.1.4.1.23867.3.1.1.1.6.0"); + $details->serial = str_replace('-', '', $details->serial); + $details->model = my_snmp_get($ip, $credentials, "1.3.6.1.4.1.23867.3.1.1.1.2.0"); + $details->os_version = my_snmp_get($ip, $credentials, "1.3.6.1.4.1.23867.3.1.1.1.1.0"); + $details->os_group = 'Aruba ECOS'; + $details->os_family = 'ECOS'; + $details->os_name = !empty($details->os_version) ? 'ECOS ' . $details->os_version : 'ECOS'; + $details->type = 'router'; + return($details); +};