mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Detection support for Minkels RMS / AKCP SensorProbe
git-svn-id: http://www.observium.org/svn/observer/trunk@1178 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 569 B |
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
if (!$os) {
|
||||
|
||||
if (preg_match("/8VD-X20/", $sysDescr)) { $os = "minkelsrms"; }
|
||||
if (preg_match("/SensorProbe/", $sysDescr)) { $os = "akcpsp"; }
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
$hardware = trim(snmp_get($device, "1.3.6.1.4.1.3854.1.1.6.0", "-OQv", "", ""),'"');
|
||||
$hardware .= trim(snmp_get($device, "1.3.6.1.4.1.3854.1.1.8.0", "-OQv", "", ""),'"');
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
# AKCP clone
|
||||
|
||||
include('includes/polling/device-akcp.inc.php');
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user