librenms/includes/osdiscovery/discover-ios.php
Adam Amstrong 748316484e Add and update new os discovery functions
git-svn-id: http://www.observium.org/svn/observer/trunk@135 61d68cd4-352d-0410-923a-c4978735b2b8
2008-03-12 11:15:58 +00:00

12 lines
231 B
PHP
Executable File

<?php
if(!$os) {
if(strstr($sysDescr, "Cisco Internetwork Operating System Software")) { $os = "IOS"; }
if(strstr($sysDescr, "IOS (tm)")) { $os = "IOS"; }
if(strstr($sysDescr, "Cisco IOS Software")) { $os = "IOS"; }
}
?>