From 90563c5b1deda6c6312af771b595ef605ed077ee Mon Sep 17 00:00:00 2001 From: Tony Ditchfield Date: Sun, 28 Jun 2015 18:54:55 +0100 Subject: [PATCH 1/2] Added HOST-RESOURCES-MIB:: to allow detection of Synology devices --- includes/discovery/os/linux.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/discovery/os/linux.inc.php b/includes/discovery/os/linux.inc.php index c09e957ff..7e4b2d238 100644 --- a/includes/discovery/os/linux.inc.php +++ b/includes/discovery/os/linux.inc.php @@ -29,7 +29,7 @@ if (!$os) else { // Check for Synology DSM - $hrSystemInitialLoadParameters = trim(snmp_get($device, "hrSystemInitialLoadParameters.0", "-Osqnv")); + $hrSystemInitialLoadParameters = trim(snmp_get($device, "HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0", "-Osqnv")); if (strpos($hrSystemInitialLoadParameters, "syno_hw_version") !== FALSE) { $os = "dsm"; } else From 4e34aecce5b2339cf543df239b4218ea5a5f5820 Mon Sep 17 00:00:00 2001 From: Tony Ditchfield Date: Sun, 28 Jun 2015 19:05:43 +0100 Subject: [PATCH 2/2] AUTHORS addition --- AUTHORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS.md b/AUTHORS.md index 10bcc61b8..61343a9ad 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -35,6 +35,7 @@ Contributors to LibreNMS: - Christian Marg (einhirn) - Louis Rossouw (spinza) - Clint Armstrong (clinta) +- Tony Ditchfield (arnoldthebat) [1]: http://observium.org/ "Observium web site"