--- Begin Message ---
Dear all
I have a problem when running discover on a HP switch with Netdisco
2.033001. I get the following error:
info discover: status error: error running job: Can't call method
"within" on an undefined value
at /home/netdisco/perl5/lib/perl5/App/Netdisco/Core/Discover.pm line 742
Discover.pm, line 742:
if ($remote_ip eq '0.0.0.0' or
$remote_ipad->within(NetAddr::IP::Lite->new('127.0.0.0/8'))) {
I have tried running discover-do from the command line with -DIQ and it
doesn't show anything that looks wrong to me apart from the above error
when it seems to have finished (see below)
Any help gratefully received
Cheers
Jon
-----------------------------8<-------------------------------
netdisco@mon:~/bin$ ./netdisco-do discover -d 10.0.6.230 -DIQ
SELECT me.version, me.installed
FROM dbix_class_schema_versions me
WHERE 1 = 0
SELECT me.version
FROM dbix_class_schema_versions me
ORDER BY installed DESC
LIMIT '1'
SELECT me.ip, me.alias, me.subnet, me.port, me.dns, me.creation
FROM device_ip me
WHERE me.alias = '10.0.6.230' AND me.ip = '10.0.6.230'
SELECT me.ip, me.creation, me.dns, me.description, me.uptime,
me.contact, me.name, me.location, me.layers, me.ports, me.mac,
me.serial, me.model, me.ps1_type, me.ps2_type, me.ps1_status,
me.ps2_status, me.fan, me.slots, me.vendor, me.os, me.os_ver, me.log,
me.snmp_ver, me.snmp_comm, me.snmp_class, me.vtp_domain,
me.last_discover, me.last_macsuck, me.last_arpnip, to_char( last_arpnip,
'YYYY-MM-DD HH24:MI' ), to_char( last_discover, 'YYYY-MM-DD HH24:MI' ),
to_char( last_macsuck, 'YYYY-MM-DD HH24:MI' ), extract( epoch
FROM age( now( ), last_arpnip ) ), extract( epoch
FROM age( now( ), last_discover ) ), extract( epoch
FROM age( now( ), last_macsuck ) ), replace( age( timestamp
'epoch' + uptime / 100 * interval '1 second', timestamp '1970-01-01
00:00:00-00' ) ::text, 'mon', 'month' )
FROM device me
WHERE me.ip = '10.0.6.230'
[12675] 2015-09-04 12:20:17 info discover: started at Fri Sep 4
13:20:17 2015
SELECT me.ip, me.alias, me.subnet, me.port, me.dns, me.creation
FROM device_ip me
WHERE me.alias = '10.0.6.230' AND me.ip = '10.0.6.230'
SELECT me.ip, me.creation, me.dns, me.description, me.uptime,
me.contact, me.name, me.location, me.layers, me.ports, me.mac,
me.serial, me.model, me.ps1_type, me.ps2_type, me.ps1_status,
me.ps2_status, me.fan, me.slots, me.vendor, me.os, me.os_ver, me.log,
me.snmp_ver, me.snmp_comm, me.snmp_class, me.vtp_domain,
me.last_discover, me.last_macsuck, me.last_arpnip, to_char( last_arpnip,
'YYYY-MM-DD HH24:MI' ), to_char( last_discover, 'YYYY-MM-DD HH24:MI' ),
to_char( last_macsuck, 'YYYY-MM-DD HH24:MI' ), extract( epoch
FROM age( now( ), last_arpnip ) ), extract( epoch
FROM age( now( ), last_discover ) ), extract( epoch
FROM age( now( ), last_macsuck ) ), replace( age( timestamp
'epoch' + uptime / 100 * interval '1 second', timestamp '1970-01-01
00:00:00-00' ) ::text, 'mon', 'month' )
FROM device me
WHERE me.ip = '10.0.6.230'
SELECT me.ip, me.snmp_comm_rw, me.snmp_auth_tag
FROM community me
WHERE me.ip = '10.0.6.230'
SELECT me.ip, me.alias, me.subnet, me.port, me.dns, me.creation
FROM device_ip me
WHERE me.alias = '10.0.6.230' AND me.ip = '10.0.6.230'
SELECT me.ip, me.creation, me.dns, me.description, me.uptime,
me.contact, me.name, me.location, me.layers, me.ports, me.mac,
me.serial, me.model, me.ps1_type, me.ps2_type, me.ps1_status,
me.ps2_status, me.fan, me.slots, me.vendor, me.os, me.os_ver, me.log,
me.snmp_ver, me.snmp_comm, me.snmp_class, me.vtp_domain,
me.last_discover, me.last_macsuck, me.last_arpnip, to_char( last_arpnip,
'YYYY-MM-DD HH24:MI' ), to_char( last_discover, 'YYYY-MM-DD HH24:MI' ),
to_char( last_macsuck, 'YYYY-MM-DD HH24:MI' ), extract( epoch
FROM age( now( ), last_arpnip ) ), extract( epoch
FROM age( now( ), last_discover ) ), extract( epoch
FROM age( now( ), last_macsuck ) ), replace( age( timestamp
'epoch' + uptime / 100 * interval '1 second', timestamp '1970-01-01
00:00:00-00' ) ::text, 'mon', 'month' )
FROM device me
WHERE me.ip = '10.0.6.230'
SELECT me.ip, me.alias, me.subnet, me.port, me.dns, me.creation
FROM device_ip me
WHERE me.alias = '10.0.6.230' AND me.ip = '10.0.6.230'
SELECT me.ip, me.creation, me.dns, me.description, me.uptime,
me.contact, me.name, me.location, me.layers, me.ports, me.mac,
me.serial, me.model, me.ps1_type, me.ps2_type, me.ps1_status,
me.ps2_status, me.fan, me.slots, me.vendor, me.os, me.os_ver, me.log,
me.snmp_ver, me.snmp_comm, me.snmp_class, me.vtp_domain,
me.last_discover, me.last_macsuck, me.last_arpnip, to_char( last_arpnip,
'YYYY-MM-DD HH24:MI' ), to_char( last_discover, 'YYYY-MM-DD HH24:MI' ),
to_char( last_macsuck, 'YYYY-MM-DD HH24:MI' ), extract( epoch
FROM age( now( ), last_arpnip ) ), extract( epoch
FROM age( now( ), last_discover ) ), extract( epoch
FROM age( now( ), last_macsuck ) ), replace( age( timestamp
'epoch' + uptime / 100 * interval '1 second', timestamp '1970-01-01
00:00:00-00' ) ::text, 'mon', 'month' )
FROM device me
WHERE me.ip = '10.0.6.230'
SELECT me.ip, me.alias, me.subnet, me.port, me.dns, me.creation
FROM device_ip me
WHERE me.alias = '10.0.6.230' AND me.ip = '10.0.6.230'
SELECT me.ip, me.creation, me.dns, me.description, me.uptime,
me.contact, me.name, me.location, me.layers, me.ports, me.mac,
me.serial, me.model, me.ps1_type, me.ps2_type, me.ps1_status,
me.ps2_status, me.fan, me.slots, me.vendor, me.os, me.os_ver, me.log,
me.snmp_ver, me.snmp_comm, me.snmp_class, me.vtp_domain,
me.last_discover, me.last_macsuck, me.last_arpnip, to_char( last_arpnip,
'YYYY-MM-DD HH24:MI' ), to_char( last_discover, 'YYYY-MM-DD HH24:MI' ),
to_char( last_macsuck, 'YYYY-MM-DD HH24:MI' ), extract( epoch
FROM age( now( ), last_arpnip ) ), extract( epoch
FROM age( now( ), last_discover ) ), extract( epoch
FROM age( now( ), last_macsuck ) ), replace( age( timestamp
'epoch' + uptime / 100 * interval '1 second', timestamp '1970-01-01
00:00:00-00' ) ::text, 'mon', 'month' )
FROM device me
WHERE me.ip = '10.0.6.230'
[12675] 2015-09-04 12:20:17 debug [10.0.6.230] try_connect with ver: 2,
class: SNMP::Info::Layer2::HP, comm: <hidden>
SNMP::Info::_global uptime :
DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global layers :
SNMPv2-MIB::sysServices.0 : .1.3.6.1.2.1.1.7.0
BEGIN WORK
COMMIT
BEGIN WORK
COMMIT
SELECT me.ip, me.snmp_comm_rw, me.snmp_auth_tag
FROM community me
WHERE me.ip = '10.0.6.230'
SNMP::Info::_global description :
SNMPv2-MIB::sysDescr.0 : .1.3.6.1.2.1.1.1.0
SNMP::Info::_global id : SNMPv2-MIB::sysObjectID.0 : .1.3.6.1.2.1.1.2.0
SNMP::Info 3.28
SNMP::Info::device_type() layers:01001010 id:11 sysDescr:"ProCurve
J8773A Switch 4208vl, revision L.11.09, ROM L.10.03
(/sw/code/build/rmm(rm11))"
SNMP::Info::_load_attr ip_index :
IP-MIB::ipAdEntIfIndex : .1.3.6.1.2.1.4.20.1.2
SNMP::Info::_load_attr i_index : IF-MIB::ifIndex : .1.3.6.1.2.1.2.2.1.1
SNMP::Info::_load_attr i_description :
IF-MIB::ifDescr : .1.3.6.1.2.1.2.2.1.2
SNMP::Info::_load_attr ip_netmask :
IP-MIB::ipAdEntNetMask : .1.3.6.1.2.1.4.20.1.3
[12675] 2015-09-04 12:20:17 debug [10.0.6.230] device - aliased as
10.0.6.230
[12675] 2015-09-04 12:20:17 debug resolving 1 aliases with max 50
outstanding requests
SNMP::Info::_validate_autoload_method(vtp_d_name) Unable to resolve
method.
SNMP::Info::_global contact :
SNMPv2-MIB::sysContact.0 : .1.3.6.1.2.1.1.4.0
SNMP::Info::_global name : SNMPv2-MIB::sysName.0 : .1.3.6.1.2.1.1.5.0
SNMP::Info::_global location :
SNMPv2-MIB::sysLocation.0 : .1.3.6.1.2.1.1.6.0
SNMP::Info::_global ports : IF-MIB::ifNumber.0 : .1.3.6.1.2.1.2.1.0
SNMP::Info::_global mac :
NETSWITCH-MIB::hpSwitchBaseMACAddress.0 : .1.3.6.1.4.1.11.2.14.11.5.1.1.6.0
SNMP::Info::_validate_autoload_method(ps1_type) Unable to resolve
method.
SNMP::Info::_validate_autoload_method(ps2_type) Unable to resolve
method.
SNMP::Info::_load_attr hp_s_oid :
HP-ICF-CHASSIS::hpicfSensorObjectId : .1.3.6.1.4.1.11.2.14.11.1.2.6.1.2
SNMP::Info::_load_attr hp_s_name :
HP-ICF-CHASSIS::hpicfSensorDescr : .1.3.6.1.4.1.11.2.14.11.1.2.6.1.7
SNMP::Info::_load_attr hp_s_status :
HP-ICF-CHASSIS::hpicfSensorStatus : .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4
SNMP::Info::_load_attr e_name :
ENTITY-MIB::entPhysicalName : .1.3.6.1.2.1.47.1.1.1.1.7
SNMP::Info::_global os_version :
NETSWITCH-MIB::hpSwitchOsVersion.0 : .1.3.6.1.4.1.11.2.14.11.5.1.1.3.0
SNMP::Info::_global serial1 :
ENTITY-MIB::entPhysicalSerialNum.1 : .1.3.6.1.2.1.47.1.1.1.1.11.1
BEGIN WORK
DELETE FROM device_ip
WHERE ip = '10.0.6.230'
[12675] 2015-09-04 12:20:17 debug [10.0.6.230] device - removed 1
aliases
SAVEPOINT savepoint_0
UPDATE device
SET last_discover = now( ), uptime = '314758028'
WHERE ip = '10.0.6.230'
RELEASE SAVEPOINT savepoint_0
SAVEPOINT savepoint_0
INSERT INTO device_ip( alias, dns, ip, port, subnet )
VALUES( ?, ?, ?, ?, ? ) : '__BULK_INSERT__'
RELEASE SAVEPOINT savepoint_0
[12675] 2015-09-04 12:20:17 debug [10.0.6.230] device - added 1 new
aliases
COMMIT
SNMP::Info::_load_attr i_type : IF-MIB::ifType : .1.3.6.1.2.1.2.2.1.3
SNMP::Info::_validate_autoload_method(i_ignore) Unable to resolve
method.
SNMP::Info::_load_attr i_mtu : IF-MIB::ifMtu : .1.3.6.1.2.1.2.2.1.4
SNMP::Info::_load_attr orig_i_speed :
IF-MIB::ifSpeed : .1.3.6.1.2.1.2.2.1.5
SNMP::Info::_load_attr i_mac :
IF-MIB::ifPhysAddress : .1.3.6.1.2.1.2.2.1.6
SNMP::Info::_load_attr i_up :
IF-MIB::ifOperStatus : .1.3.6.1.2.1.2.2.1.8
SNMP::Info::_load_attr i_up_admin :
IF-MIB::ifAdminStatus : .1.3.6.1.2.1.2.2.1.7
SNMP::Info::_load_attr i_alias :
IF-MIB::ifAlias : .1.3.6.1.2.1.31.1.1.1.18
SNMP::Info::_load_attr e_map :
ENTITY-MIB::entAliasMappingIdentifier : .1.3.6.1.2.1.47.1.3.2.1.2
SNMP::Info::_load_attr mau_index :
MAU-MIB::ifMauIfIndex : .1.3.6.1.2.1.26.2.1.1.1
SNMP::Info::_load_attr mau_link :
MAU-MIB::ifMauType : .1.3.6.1.2.1.26.2.1.1.3
SNMP::Info::_load_attr hp_duplex_admin :
CONFIG-MIB::hpSwitchPortFastEtherMode : .1.3.6.1.4.1.11.2.14.11.5.1.7.1.3.1.1.10
SNMP::Info::_load_attr bp_index :
BRIDGE-MIB::dot1dBasePortIfIndex : .1.3.6.1.2.1.17.1.4.1.2
SNMP::Info::_load_attr stp_p_state :
BRIDGE-MIB::dot1dStpPortState : .1.3.6.1.2.1.17.2.15.1.3
SNMP::Info::_load_attr qb_i_vlan :
Q-BRIDGE-MIB::dot1qPvid : .1.3.6.1.2.1.17.7.1.4.5.1.1
SNMP::Info::_load_attr i_lastchange :
IF-MIB::ifLastChange : .1.3.6.1.2.1.2.2.1.9
Use of inherited AUTOLOAD for non-method
SNMP::Info::Layer2::HP::agg_ports_ifstack() is deprecated
at /home/netdisco/perl5/lib/perl5/SNMP/Info/Layer2/HP.pm line 552.
SNMP::Info::_load_attr ifStackStatus :
IF-MIB::ifStackStatus : .1.3.6.1.2.1.31.1.2.1.3
SNMP::Info::_load_attr ifType : IF-MIB::ifType : .1.3.6.1.2.1.2.2.1.3
SNMP::Info::_global load_uptime :
DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global snmpEngineTime :
SNMP-FRAMEWORK-MIB::snmpEngineTime.0 : .1.3.6.1.6.3.10.2.1.3.0
[12675] 2015-09-04 12:20:18 info [10.0.6.230] interfaces - device
uptime wrapped (B6) - correcting
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C10, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for A19, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B21, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B16, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C7, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B19, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for A15, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C3, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B12, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C11, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B14, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C24, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B1, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C5, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C22, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for A13, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C20, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C2, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B4, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for A20, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for A17, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B11, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for A5, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for A14, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B2, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C16, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C1, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for A22, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B18, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C18, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C12, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C9, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B9, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C15, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C23, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for H2, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B20, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for A23, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for A4, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B13, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for B8, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for C13, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for H3, assuming sysUptime wrap
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - correcting
LastChange for A12, assuming sysUptime wrap
BEGIN WORK
DELETE FROM device_port_power
WHERE ip IN (
SELECT me.ip
FROM device_port me
WHERE me.ip = '10.0.6.230'
)
DELETE FROM device_port_vlan
WHERE ip IN (
SELECT me.ip
FROM device_port me
WHERE me.ip = '10.0.6.230'
)
DELETE FROM device_port_wireless
WHERE ip IN (
SELECT me.ip
FROM device_port me
WHERE me.ip = '10.0.6.230'
)
DELETE FROM device_port_ssid
WHERE ip IN (
SELECT me.ip
FROM device_port me
WHERE me.ip = '10.0.6.230'
)
DELETE FROM device_port
WHERE ip = '10.0.6.230'
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - removed 74
interfaces
SAVEPOINT savepoint_0
UPDATE device
SET uptime = '4609725399'
WHERE ip = '10.0.6.230'
RELEASE SAVEPOINT savepoint_0
SAVEPOINT savepoint_0
INSERT INTO device_port( descr, duplex, duplex_admin, ip, is_master,
lastchange, mac, mtu, name, port, pvid, slave_of, speed, stp, type, up,
up_admin, vlan )
VALUES( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) :
'__BULK_INSERT__'
RELEASE SAVEPOINT savepoint_0
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] interfaces - added 74
new interfaces
COMMIT
SNMP::Info::_validate_autoload_method(i_ssidlist) Unable to resolve
method.
SNMP::Info::_load_attr v_name :
Q-BRIDGE-MIB::dot1qVlanStaticName : .1.3.6.1.2.1.17.7.1.4.3.1.1
SNMP::Info::_load_attr qb_cv_egress :
Q-BRIDGE-MIB::dot1qVlanCurrentEgressPorts : .1.3.6.1.2.1.17.7.1.4.2.1.4
SNMP::Info::_validate_autoload_method(i_vlan_type) Unable to resolve
method.
BEGIN WORK
DELETE FROM device_vlan
WHERE ip = '10.0.6.230'
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] vlans - removed 1 device
VLANs
SAVEPOINT savepoint_0
INSERT INTO device_vlan( description, ip, last_discover, vlan )
VALUES( ?, ?, now( ), ? ) : '__BULK_INSERT__'
RELEASE SAVEPOINT savepoint_0
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] vlans - added 1 new
device VLANs
COMMIT
BEGIN WORK
DELETE FROM device_port_vlan
WHERE ip = '10.0.6.230'
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] vlans - removed 0 port
VLANs
SAVEPOINT savepoint_0
INSERT INTO device_port_vlan( ip, last_discover, native, port, vlan,
vlantype )
VALUES( ?, now( ), ?, ?, ?, ? ) : '__BULK_INSERT__'
RELEASE SAVEPOINT savepoint_0
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] vlans - added 1 new port
VLANs
COMMIT
SNMP::Info::_load_attr peth_power_watts :
POWER-ETHERNET-MIB::pethMainPsePower : .1.3.6.1.2.1.105.1.3.1.1.2
SNMP::Info::_load_attr peth_power_status :
POWER-ETHERNET-MIB::pethMainPseOperStatus : .1.3.6.1.2.1.105.1.3.1.1.3
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] power - 0 power modules
SNMP::Info::_load_attr entPhysicalDescr :
ENTITY-MIB::entPhysicalDescr : .1.3.6.1.2.1.47.1.1.1.1.2
SNMP::Info::_load_attr e_descr :
ENTITY-MIB::entPhysicalDescr : .1.3.6.1.2.1.47.1.1.1.1.2
SNMP::Info::_load_attr e_type :
ENTITY-MIB::entPhysicalVendorType : .1.3.6.1.2.1.47.1.1.1.1.3
SNMP::Info::_load_attr e_parent :
ENTITY-MIB::entPhysicalContainedIn : .1.3.6.1.2.1.47.1.1.1.1.4
SNMP::Info::_load_attr e_class :
ENTITY-MIB::entPhysicalClass : .1.3.6.1.2.1.47.1.1.1.1.5
SNMP::Info::_load_attr e_pos :
ENTITY-MIB::entPhysicalParentRelPos : .1.3.6.1.2.1.47.1.1.1.1.6
SNMP::Info::_load_attr e_hwver :
ENTITY-MIB::entPhysicalHardwareRev : .1.3.6.1.2.1.47.1.1.1.1.8
SNMP::Info::_load_attr e_fwver :
ENTITY-MIB::entPhysicalFirmwareRev : .1.3.6.1.2.1.47.1.1.1.1.9
SNMP::Info::_load_attr e_swver :
ENTITY-MIB::entPhysicalSoftwareRev : .1.3.6.1.2.1.47.1.1.1.1.10
SNMP::Info::_load_attr e_model :
ENTITY-MIB::entPhysicalModelName : .1.3.6.1.2.1.47.1.1.1.1.13
SNMP::Info::_load_attr e_serial :
ENTITY-MIB::entPhysicalSerialNum : .1.3.6.1.2.1.47.1.1.1.1.11
SNMP::Info::_load_attr e_fru :
ENTITY-MIB::entPhysicalIsFRU : .1.3.6.1.2.1.47.1.1.1.1.16
BEGIN WORK
DELETE FROM device_module
WHERE ip = '10.0.6.230'
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] modules - removed 99
chassis modules
SAVEPOINT savepoint_0
INSERT INTO device_module( class, description, fru, fw_ver, hw_ver,
index, ip, last_discover, model, name, parent, pos, serial, sw_ver, type
)
VALUES( ?, ?, ?, ?, ?, ?, ?, now( ), ?, ?, ?, ?, ?, ?, ? ) :
'__BULK_INSERT__'
RELEASE SAVEPOINT savepoint_0
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] modules - added 99 new
chassis modules
COMMIT
BEGIN WORK
UPDATE device_port
SET manual_topo = false
WHERE ip = '10.0.6.230'
[12675] 2015-09-04 12:20:18 debug [10.0.6.230] neigh - setting manual
topology links
SELECT me.dev1, me.port1, me.dev2, me.port2
FROM topology me
WHERE dev1 = '10.0.6.230' OR dev2 = '10.0.6.230'
COMMIT
SNMP::Info::_global lldp_sys_cap :
LLDP-MIB::lldpLocSysCapEnabled.0 : .1.0.8802.1.1.2.1.3.6.0
SNMP::Info::_global cdp_run :
CISCO-CDP-MIB::cdpGlobalRun.0 : .1.3.6.1.4.1.9.9.23.1.3.1.0
SNMP::Info::_validate_autoload_method(hasSONMP) Unable to resolve
method.
SNMP::Info::_validate_autoload_method(hasFDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasEDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasAMAP) Unable to resolve method.
SNMP::Info::_load_attr lldp_rman_addr :
LLDP-MIB::lldpRemManAddrIfSubtype : .1.0.8802.1.1.2.1.4.2.1.3
SNMP::Info::_load_attr cdp_addr :
CISCO-CDP-MIB::cdpCacheAddress : .1.3.6.1.4.1.9.9.23.1.2.1.1.4
SNMP::Info::_load_attr cdp_proto :
CISCO-CDP-MIB::cdpCacheAddressType : .1.3.6.1.4.1.9.9.23.1.2.1.1.3
SNMP::Info::_validate_autoload_method(hasSONMP) Unable to resolve
method.
SNMP::Info::_validate_autoload_method(hasFDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasEDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasAMAP) Unable to resolve method.
SNMP::Info::_load_attr lldp_rem_pid :
LLDP-MIB::lldpRemPortId : .1.0.8802.1.1.2.1.4.1.1.7
SNMP::Info::_load_attr lldpLocPortDesc :
LLDP-MIB::lldpLocPortDesc(185) : .1.0.8802.1.1.2.1.3.7.1.4.185
SNMP::Info::_load_attr lldpLocPortDesc :
LLDP-MIB::lldpLocPortDesc(47) : .1.0.8802.1.1.2.1.3.7.1.4.47
SNMP::Info::_load_attr lldpLocPortDesc :
LLDP-MIB::lldpLocPortDesc(44) : .1.0.8802.1.1.2.1.3.7.1.4.44
SNMP::Info::_load_attr lldpLocPortDesc :
LLDP-MIB::lldpLocPortDesc(184) : .1.0.8802.1.1.2.1.3.7.1.4.184
SNMP::Info::_load_attr lldpLocPortDesc :
LLDP-MIB::lldpLocPortDesc(13) : .1.0.8802.1.1.2.1.3.7.1.4.13
SNMP::Info::_load_attr lldpLocPortDesc :
LLDP-MIB::lldpLocPortDesc(183) : .1.0.8802.1.1.2.1.3.7.1.4.183
SNMP::Info::_load_attr lldpLocPortDesc :
LLDP-MIB::lldpLocPortDesc(1) : .1.0.8802.1.1.2.1.3.7.1.4.1
SNMP::Info::_load_attr lldpLocPortDesc :
LLDP-MIB::lldpLocPortDesc(75) : .1.0.8802.1.1.2.1.3.7.1.4.75
SNMP::Info::_load_attr lldpLocPortDesc :
LLDP-MIB::lldpLocPortDesc(23) : .1.0.8802.1.1.2.1.3.7.1.4.23
SNMP::Info::_load_attr lldpLocPortDesc :
LLDP-MIB::lldpLocPortDesc(30) : .1.0.8802.1.1.2.1.3.7.1.4.30
SNMP::Info::_validate_autoload_method(cdp_index :
.1.3.6.1.4.1.9.9.23.1.2.1.1.1) Not accessable for requested operation.
SNMP::Info::_validate_autoload_method(hasSONMP) Unable to resolve
method.
SNMP::Info::_validate_autoload_method(hasFDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasEDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasAMAP) Unable to resolve method.
SNMP::Info::_load_attr lldp_rem_desc :
LLDP-MIB::lldpRemPortDesc : .1.0.8802.1.1.2.1.4.1.1.8
SNMP::Info::_load_attr lldp_rem_pid_type :
LLDP-MIB::lldpRemPortIdSubtype : .1.0.8802.1.1.2.1.4.1.1.6
SNMP::Info::_load_attr lldp_rem_sysdesc :
LLDP-MIB::lldpRemSysDesc : .1.0.8802.1.1.2.1.4.1.1.10
SNMP::Info::_load_attr cdp_port :
CISCO-CDP-MIB::cdpCacheDevicePort : .1.3.6.1.4.1.9.9.23.1.2.1.1.7
SNMP::Info::_validate_autoload_method(hasSONMP) Unable to resolve
method.
SNMP::Info::_validate_autoload_method(hasFDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasEDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasAMAP) Unable to resolve method.
SNMP::Info::_load_attr lldp_rem_id_type :
LLDP-MIB::lldpRemChassisIdSubtype : .1.0.8802.1.1.2.1.4.1.1.4
SNMP::Info::_load_attr lldp_rem_id :
LLDP-MIB::lldpRemChassisId : .1.0.8802.1.1.2.1.4.1.1.5
SNMP::Info::_load_attr cdp_dev_id :
CISCO-CDP-MIB::cdpCacheDeviceId : .1.3.6.1.4.1.9.9.23.1.2.1.1.6
SNMP::Info::_validate_autoload_method(hasSONMP) Unable to resolve
method.
SNMP::Info::_validate_autoload_method(hasFDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasEDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasAMAP) Unable to resolve method.
SNMP::Info::_load_attr lldp_rem_sysname :
LLDP-MIB::lldpRemSysName : .1.0.8802.1.1.2.1.4.1.1.9
SNMP::Info::_load_attr cdp_platform :
CISCO-CDP-MIB::cdpCachePlatform : .1.3.6.1.4.1.9.9.23.1.2.1.1.8
SNMP::Info::_validate_autoload_method(hasSONMP) Unable to resolve
method.
SNMP::Info::_validate_autoload_method(hasFDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasEDP) Unable to resolve method.
SNMP::Info::_validate_autoload_method(hasAMAP) Unable to resolve method.
SNMP::Info::_load_attr lldp_rem_cap_spt :
LLDP-MIB::lldpRemSysCapSupported : .1.0.8802.1.1.2.1.4.1.1.11
SNMP::Info::_load_attr cdp_capabilities_raw :
CISCO-CDP-MIB::cdpCacheCapabilities : .1.3.6.1.4.1.9.9.23.1.2.1.1.9
SELECT me.ip, me.port, me.creation, me.descr, me.up, me.up_admin,
me.type, me.duplex, me.duplex_admin, me.speed, me.name, me.mac, me.mtu,
me.stp, me.remote_ip, me.remote_port, me.remote_type, me.remote_id,
me.is_master, me.slave_of, me.manual_topo, me.is_uplink, me.vlan,
me.pvid, me.lastchange
FROM device_port me
WHERE ip = '10.0.6.230' AND port = 'A1'
BEGIN WORK
UPDATE device_port
SET remote_type = '1920-24G Switch Software Version 5.20.99, Release
1105Copyright(c)2010-2014 Hewlett-Packard Development Company, L.P.'
WHERE ip = '10.0.6.230' AND port = 'A1'
COMMIT
[12675] 2015-09-04 12:20:19 info discover: finished at Fri Sep 4
13:20:19 2015
[12675] 2015-09-04 12:20:19 info discover: status error: error running
job: Can't call method "within" on an undefined value
at /home/netdisco/perl5/lib/perl5/App/Netdisco/Core/Discover.pm line
742.
netdisco@mon:~/bin$
--- End Message ---