detect adva by sysObjectID, use UNIX os_group, display traffic graph

git-svn-id: http://www.observium.org/svn/observer/trunk@1701 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-09-05 13:03:21 +00:00
parent 37c4df5d7d
commit 6a926b18fc
2 changed files with 11 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
<?php
if(!$os)
{
if (strstr($sysObjectId, ".1.3.6.1.4.1.1671")) { $os = "adva"; }
}
?>
+3
View File
@@ -57,6 +57,9 @@ $os = "adva";
$config['os'][$os]['group'] = "unix";
$config['os'][$os]['text'] = "Adva";
$config['os'][$os]['ifalias'] = 1;
$config['os'][$os]['group'] = "unix";
$config['os'][$os]['over'][0]['graph'] = "device_bits";
$config['os'][$os]['over'][0]['text'] = "Device Traffic";
$os = "opensolaris";
$config['os'][$os]['group'] = "unix";