librenms/includes/osdiscovery/discover-allied.php
Adam Amstrong 2585058963 AlliedTelesyn Support
git-svn-id: http://www.observium.org/svn/observer/trunk@1056 61d68cd4-352d-0410-923a-c4978735b2b8
2010-04-08 18:26:24 +00:00

11 lines
267 B
PHP
Executable File

<?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"; }
}
?>