AlliedTelesyn Support

git-svn-id: http://www.observium.org/svn/observer/trunk@1056 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-04-08 18:26:24 +00:00
parent 0627891af0
commit 2585058963
8 changed files with 46 additions and 4 deletions
+10
View File
@@ -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"; }
}
?>
+15
View File
@@ -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");
?>
+1 -1
View File
@@ -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');