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:
@@ -7,6 +7,7 @@ version 1.04
|
|||||||
+ Added generic L2::Cisco Class
|
+ Added generic L2::Cisco Class
|
||||||
* Corrected detection for Cisco Supervisor Engine 2 and 32 (IOS).
|
* Corrected detection for Cisco Supervisor Engine 2 and 32 (IOS).
|
||||||
* Fixed warnings in CiscoStack
|
* Fixed warnings in CiscoStack
|
||||||
|
* Updated ProCurve HP device detection for newer firmwares
|
||||||
|
|
||||||
version 1.03 (04/14/06) - Beta/developer release
|
version 1.03 (04/14/06) - Beta/developer release
|
||||||
* Use ipNetToMedia table instead of atTable for ARP
|
* Use ipNetToMedia table instead of atTable for ARP
|
||||||
|
|||||||
2
Info.pm
2
Info.pm
@@ -930,7 +930,7 @@ sub device_type {
|
|||||||
$objtype = 'SNMP::Info::Layer3::Extreme' if $desc =~ /Summit\s*\d/;
|
$objtype = 'SNMP::Info::Layer3::Extreme' if $desc =~ /Summit\s*\d/;
|
||||||
|
|
||||||
# HP
|
# HP
|
||||||
$objtype = 'SNMP::Info::Layer2::HP' if ($desc =~ /HP.*ProCurve/);
|
$objtype = 'SNMP::Info::Layer2::HP' if ($desc =~ /\bProCurve\b/);
|
||||||
|
|
||||||
# Centillion ATM
|
# Centillion ATM
|
||||||
$objtype = 'SNMP::Info::Layer2::Centillion' if ($desc =~ /MCP/);
|
$objtype = 'SNMP::Info::Layer2::Centillion' if ($desc =~ /MCP/);
|
||||||
|
|||||||
Reference in New Issue
Block a user