librenms/includes/discovery/os/supermicro-switch.inc.php
Adam Amstrong b25f647b2d supermicro switch icon and detection
git-svn-id: http://www.observium.org/svn/observer/trunk@3161 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-10 12:10:07 +00:00

11 lines
267 B
PHP

<?php
if (!$os)
{
if (preg_match("/^Supermicro Switch/", $sysDescr)) { $os = "supermicro-switch"; }
else if (preg_match("/^SSE-/", $sysDescr)) { $os = "supermicro-switch"; }
else if (preg_match("/^SBM-/", $sysDescr)) { $os = "supermicro-switch"; }
}
?>