Files
librenms-librenms/includes/discovery/os/apc.inc.php
Adam Amstrong 88b7d2f91c add another APC powerswitch type
git-svn-id: http://www.observium.org/svn/observer/trunk@1827 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-13 21:01:26 +00:00

14 lines
311 B
PHP

<?php
if(!$os) {
if(strstr($sysDescr, "APC Web/SNMP Management Card")) { $os = "apc"; }
else if(strstr($sysDescr, "APC Switched Rack PDU")) { $os = "apc"; }
else if(strstr($sysDescr, "APC MasterSwitch PDU")) { $os = "apc"; }
else if(strstr($sysDescr, "APC Metered Rack PDU")) { $os = "apc"; }
}
?>