mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
AlliedTelesyn Support
git-svn-id: http://www.observium.org/svn/observer/trunk@1056 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
if(!$os) {
|
||||
|
||||
$sysObjectId = shell_exec($config['snmpget'] . " -Ovqn -".$device['snmpver']." -c ". $device['community'] ." ". $device['hostname'].":".$device['port'] ." sysObjectID.0");
|
||||
if(strstr($sysObjectId, ".1.3.6.1.4.1.207")) { $os = "allied"; }
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
echo("Doing Allied Telesyn AlliedWare ");
|
||||
|
||||
$serial = "";
|
||||
list(,$hardware,) = explode(" ", $hardware);
|
||||
$hardware = $sysDescr;
|
||||
|
||||
$features = "";
|
||||
|
||||
echo("$hardware - $version - $features - $serial\n");
|
||||
|
||||
include("hr-mib.inc.php");
|
||||
|
||||
?>
|
||||
@@ -28,7 +28,6 @@ $os_groups['solaris'] = "unix";
|
||||
$os_groups['adva'] = "unix";
|
||||
$os_groups['opensolaris'] = "unix";
|
||||
|
||||
|
||||
$os_groups['iosxe'] = "ios";
|
||||
$os_groups['iosxr'] = "ios";
|
||||
$os_groups['ios'] = "ios";
|
||||
@@ -62,6 +61,7 @@ $os_text['procurve'] = "HP ProCurve";
|
||||
$os_text['speedtouch'] = "Thomson Speedtouch";
|
||||
$os_text['dell-laser'] = "Dell Laser Printer";
|
||||
$os_text['adva'] = "Adva";
|
||||
$os_text['allied'] = "AlliedWare";
|
||||
|
||||
if(!$config['graph_colours']['greens']) {
|
||||
$config['graph_colours']['greens'] = array('B6D14B','91B13C','6D912D','48721E','24520F','003300');
|
||||
|
||||
Reference in New Issue
Block a user