Adam Amstrong 0ee570b762 adding juniper stuff! hurray!
git-svn-id: http://www.observium.org/svn/observer/trunk@244 61d68cd4-352d-0410-923a-c4978735b2b8
2008-07-18 12:07:51 +00:00

11 lines
208 B
PHP
Executable File

<?php
if(!$os) {
$sysObjectId = shell_exec($config['snmpget'] . " -Ovqn -v2c -c ". $community ." ". $hostname ." sysObjectID.0");
if(strstr($sysObjectId, ".1.3.6.1.4.1.2636")) { $os = "JunOS"; }
}
?>