librenms-librenms/includes/osdiscovery/discover-screenos.php
Adam Amstrong 70b36878be some new things!
git-svn-id: http://www.observium.org/svn/observer/trunk@221 61d68cd4-352d-0410-923a-c4978735b2b8
2008-04-03 21:52:59 +00:00

11 lines
207 B
PHP
Executable File

<?php
if(!$os) {
$sysObjectId = shell_exec($config['snmpget'] . " -Ovq -v2c -c ". $community ." ". $hostname ." .1.3.6.1.2.1.1.2.0");
if(strstr($sysObjectId, "netscreen")) { $os = "ScreenOS"; }
}
?>