changed detection of HP ProCurve devices. New firmware doesn't have the string HP in the description... maybe we should use OIDs :-)
This commit is contained in:
2
Info.pm
2
Info.pm
@@ -930,7 +930,7 @@ sub device_type {
|
||||
$objtype = 'SNMP::Info::Layer3::Extreme' if $desc =~ /Summit\s*\d/;
|
||||
|
||||
# HP
|
||||
$objtype = 'SNMP::Info::Layer2::HP' if ($desc =~ /HP.*ProCurve/);
|
||||
$objtype = 'SNMP::Info::Layer2::HP' if ($desc =~ /\bProCurve\b/);
|
||||
|
||||
# Centillion ATM
|
||||
$objtype = 'SNMP::Info::Layer2::Centillion' if ($desc =~ /MCP/);
|
||||
|
||||
Reference in New Issue
Block a user