mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #802 from paulgear/master
Allow matching HP switches like "HP A5120-24G SI Switch Software Version..."
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
if (!$os)
|
if (!$os)
|
||||||
{
|
{
|
||||||
if (strstr($sysDescr, "Comware")) { $os = "comware"; }
|
if (strstr($sysDescr, "Comware")) { $os = "comware"; }
|
||||||
else if(preg_match('/HP [a-zA-Z0-9-]+ Switch Software Version/',$sysDescr)) { $os = "comware"; }
|
else if(preg_match('/HP [a-zA-Z0-9- ]+ Switch Software Version/',$sysDescr)) { $os = "comware"; }
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user