Send Netdot-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://osl.uoregon.edu/mailman/listinfo/netdot-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-users digest..."
Today's Topics:
1. Re: iptree4 cache error (Carlos Vicente)
2. Re: iptree4 cache error
(Schroeder, AJ (GE Healthcare, consultant))
3. netdot 1.0.4 not detecting interfaces on linux host
(Klavs Klavsen)
4. Re: netdot 1.0.4 not detecting interfaces on linux host
(Phil Regnauld)
----------------------------------------------------------------------
Message: 1
Date: Mon, 01 Jul 2013 15:56:47 -0400
From: Carlos Vicente <[email protected]>
Subject: Re: [Netdot-users] iptree4 cache error
To: "Schroeder, AJ (GE Healthcare, consultant)" <[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Hi Aj,
Have you tried rebuilding the IP tree caches?
Go to Management -> Address Space
and find the "[tree]" button on the upper right.
Select the IP tree version and click "Go".
Let me know if that doesn't help.
cv
On 7/1/13 12:51 PM, Schroeder, AJ (GE Healthcare, consultant) wrote:
>
> Hello list,
>
>
>
> I have netdot 1.0.4 installed and when trying to delete an IP address
> ip.html produces the following error:
>
>
>
> Could not get a calid iptree4 from cache
>
>
>
> When I click the error message this is what comes up:
>
>
>
> Trace begun at /usr/local/netdot/lib/Netdot.pm line 105
> Netdot::throw_fatal('Ipblock=HASH(0x2af08df46a20)', 'Could not get a
> valid iptree4 from cache') called at
> /usr/local/netdot/lib/Netdot/Model/Ipblock.pm line 3504
> Netdot::Model::Ipblock::_tree_get('Ipblock=HASH(0x2af08df46a20)')
> called at /usr/local/netdot/lib/Netdot/Model/Ipblock.pm line 3304
> Netdot::Model::Ipblock::_tree_delete('Ipblock=HASH(0x2af08df46a20)')
> called at /usr/local/netdot/lib/Netdot/Model/Ipblock.pm line 1737
> Netdot::Model::Ipblock::delete('Ipblock=HASH(0x2af08df46a20)',
> 'recursive', 0) called at /usr/local/netdot/htdocs/management/ip.html
> line 512 eval {...} at /usr/local/netdot/htdocs/management/ip.html
> line 512 HTML::Mason::Commands::__ANON__('_action', 'CONFIRM_DELETE',
> 'submit', 'Yes', 'id', 42255, 'showheader', 1, 'page', 'ADDRESS')
> called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line
> 138
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2af06d7d6720)',
> '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'id', 42255,
> 'showheader', 1, 'page', 'ADDRESS') called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1305 eval
> {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1295 HTML::Mason::Request::comp(undef, undef, undef, '_action',
> 'CONFIRM_DELETE', 'submit', 'Yes', 'id', 42255, 'showheader', 1,
> 'page', 'ADDRESS') called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 958
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x2af08e682fb0)',
> 'page', 'ADDRESS') called at
> /usr/local/netdot/htdocs/management/autohandler line 81
> HTML::Mason::Commands::__ANON__('_action', 'CONFIRM_DELETE', 'submit',
> 'Yes', 'id', 42255, 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 160
> HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x2af06d5a2280)',
> 'main', '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'id', 42255,
> 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 951
> HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x2af08e682fb0)',
> 'main', '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'id', 42255,
> 'showheader', 1) called at
> /usr/local/netdot/htdocs/masondata/obj/1292882063/management/autohandler.obj
> line 21 HTML::Mason::Commands::__ANON__('_action', 'CONFIRM_DELETE',
> 'submit', 'Yes', 'id', 42255, 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 138
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2af06d5a2280)',
> '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'id', 42255,
> 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1305 eval
> {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1295 HTML::Mason::Request::comp(undef, undef, undef, '_action',
> 'CONFIRM_DELETE', 'submit', 'Yes', 'id', 42255, 'showheader', 1)
> called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line
> 958
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x2af08e682fb0)',
> 'showheader', 1) called at /usr/local/netdot/htdocs/autohandler line
> 76 HTML::Mason::Commands::__ANON__('_action', 'CONFIRM_DELETE',
> 'submit', 'Yes', 'id', 42255) called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 138
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2af06d5b67b0)',
> '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'id', 42255) called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1300 eval
> {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1295 HTML::Mason::Request::comp(undef, undef, undef, '_action',
> 'CONFIRM_DELETE', 'submit', 'Yes', 'id', 42255) called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 484 eval
> {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 484
> eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm
> line 436
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x2af08e682fb0)')
> called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
> line 168
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x2af08e682fb0)')
> called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
> line 825
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2af083fdf5a0)',
> 'Apache2::RequestRec=SCALAR(0x2af08df32f70)') called at
> /usr/local/netdot/lib/Netdot/Mason.pm line 59
> Netdot::Mason::handler('Apache2::RequestRec=SCALAR(0x2af08df32f70)')
> called at -e line 0 eval {...} at -e line 0
>
>
>
> This just started happening and to my knowledge the server has not
> been updated. Any help or suggestions would be appreciated.
>
>
>
> Thanks,
>
>
>
> AJ Schroeder
>
>
>
> _______________________________________________
> Netdot-users mailing list
> [email protected]
> https://osl.uoregon.edu/mailman/listinfo/netdot-users
------------------------------
Message: 2
Date: Tue, 2 Jul 2013 02:13:09 +0000
From: "Schroeder, AJ (GE Healthcare, consultant)"
<[email protected]>
Subject: Re: [Netdot-users] iptree4 cache error
To: Carlos Vicente <[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="us-ascii"
Hi Carlos,
I just tried rebuilding the IP tree cache and it did not seem to have an
effect. I am still experiencing the issue.
Thanks,
AJ
-----Original Message-----
From: Carlos Vicente [mailto:[email protected]]
Sent: Monday, July 01, 2013 2:57 PM
To: Schroeder, AJ (GE Healthcare, consultant)
Cc: [email protected]
Subject: Re: [Netdot-users] iptree4 cache error
Hi Aj,
Have you tried rebuilding the IP tree caches?
Go to Management -> Address Space
and find the "[tree]" button on the upper right.
Select the IP tree version and click "Go".
Let me know if that doesn't help.
cv
On 7/1/13 12:51 PM, Schroeder, AJ (GE Healthcare, consultant) wrote:
>
> Hello list,
>
>
>
> I have netdot 1.0.4 installed and when trying to delete an IP address
> ip.html produces the following error:
>
>
>
> Could not get a calid iptree4 from cache
>
>
>
> When I click the error message this is what comes up:
>
>
>
> Trace begun at /usr/local/netdot/lib/Netdot.pm line 105
> Netdot::throw_fatal('Ipblock=HASH(0x2af08df46a20)', 'Could not get a
> valid iptree4 from cache') called at
> /usr/local/netdot/lib/Netdot/Model/Ipblock.pm line 3504
> Netdot::Model::Ipblock::_tree_get('Ipblock=HASH(0x2af08df46a20)')
> called at /usr/local/netdot/lib/Netdot/Model/Ipblock.pm line 3304
> Netdot::Model::Ipblock::_tree_delete('Ipblock=HASH(0x2af08df46a20)')
> called at /usr/local/netdot/lib/Netdot/Model/Ipblock.pm line 1737
> Netdot::Model::Ipblock::delete('Ipblock=HASH(0x2af08df46a20)',
> 'recursive', 0) called at /usr/local/netdot/htdocs/management/ip.html
> line 512 eval {...} at /usr/local/netdot/htdocs/management/ip.html
> line 512 HTML::Mason::Commands::__ANON__('_action', 'CONFIRM_DELETE',
> 'submit', 'Yes', 'id', 42255, 'showheader', 1, 'page', 'ADDRESS')
> called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line
> 138
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x
> 2af06d7d6720)', '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'id',
> 42255, 'showheader', 1, 'page', 'ADDRESS') called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1305 eval
> {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1295 HTML::Mason::Request::comp(undef, undef, undef, '_action',
> 'CONFIRM_DELETE', 'submit', 'Yes', 'id', 42255, 'showheader', 1,
> 'page', 'ADDRESS') called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 958
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=H
> ASH(0x2af08e682fb0)',
> 'page', 'ADDRESS') called at
> /usr/local/netdot/htdocs/management/autohandler line 81
> HTML::Mason::Commands::__ANON__('_action', 'CONFIRM_DELETE', 'submit',
> 'Yes', 'id', 42255, 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 160
> HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileB
> ased=HASH(0x2af06d5a2280)', 'main', '_action', 'CONFIRM_DELETE',
> 'submit', 'Yes', 'id', 42255, 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 951
> HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandle
> r=HASH(0x2af08e682fb0)', 'main', '_action', 'CONFIRM_DELETE',
> 'submit', 'Yes', 'id', 42255, 'showheader', 1) called at
> /usr/local/netdot/htdocs/masondata/obj/1292882063/management/autohandl
> er.obj line 21 HTML::Mason::Commands::__ANON__('_action',
> 'CONFIRM_DELETE', 'submit', 'Yes', 'id', 42255, 'showheader', 1)
> called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line
> 138
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x
> 2af06d5a2280)', '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'id',
> 42255, 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1305 eval
> {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1295 HTML::Mason::Request::comp(undef, undef, undef, '_action',
> 'CONFIRM_DELETE', 'submit', 'Yes', 'id', 42255, 'showheader', 1)
> called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line
> 958
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=H
> ASH(0x2af08e682fb0)', 'showheader', 1) called at
> /usr/local/netdot/htdocs/autohandler line
> 76 HTML::Mason::Commands::__ANON__('_action', 'CONFIRM_DELETE',
> 'submit', 'Yes', 'id', 42255) called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 138
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x
> 2af06d5b67b0)', '_action', 'CONFIRM_DELETE', 'submit', 'Yes', 'id',
> 42255) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm
> line 1300 eval {...} at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line
> 1295 HTML::Mason::Request::comp(undef, undef, undef, '_action',
> 'CONFIRM_DELETE', 'submit', 'Yes', 'id', 42255) called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 484 eval
> {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 484
> eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm
> line 436
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0
> x2af08e682fb0)') called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
> line 168
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::Apach
> eHandler=HASH(0x2af08e682fb0)') called at
> /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm
> line 825
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler
> =HASH(0x2af083fdf5a0)',
> 'Apache2::RequestRec=SCALAR(0x2af08df32f70)') called at
> /usr/local/netdot/lib/Netdot/Mason.pm line 59
> Netdot::Mason::handler('Apache2::RequestRec=SCALAR(0x2af08df32f70)')
> called at -e line 0 eval {...} at -e line 0
>
>
>
> This just started happening and to my knowledge the server has not
> been updated. Any help or suggestions would be appreciated.
>
>
>
> Thanks,
>
>
>
> AJ Schroeder
>
>
>
> _______________________________________________
> Netdot-users mailing list
> [email protected]
> https://osl.uoregon.edu/mailman/listinfo/netdot-users
------------------------------
Message: 3
Date: Tue, 02 Jul 2013 11:27:13 +0200
From: Klavs Klavsen <[email protected]>
Subject: [Netdot-users] netdot 1.0.4 not detecting interfaces on linux
host
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
Just installed netdot - and it seems to handle my switches fine.
I then wanted an NSM to make topology working - and figured I should use
my monitoring machine - on which netdot runs.
However, after adding localhost (with net-snmp running on centos 6) - it
does not see any interfaces for that device :(
Doing it using updatedevices gives this output:
# /usr/local/netdot/bin/updatedevices.pl -H localhost -c public -I -F -A -d
INFO - /usr/local/netdot/bin/updatedevices.pl started at Tue Jul 2
11:25:43 2013
INFO - Updating single device: localhost
DEBUG - Device::_get_snmp_session: Trying SNMPv2 session with localhost,
community public
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//allied
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//arista
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//aruba
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//asante
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//cabletron
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//cisco
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//cyclades
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//dell
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//enterasys
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//extreme
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//foundry
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//hp
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//juniper
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//netscreen
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//net-snmp
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//nortel
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//rfc
SNMP::Info::_global layers : sysServices.0
SNMP::Info::_global(layers) NOSUCHINSTANCE at
/usr/local/netdot/lib/Netdot/Model/Device.pm line 3962
SNMP::Info::_global description : sysDescr.0
Device doesn't implement sysServices but did return sysDescr. Might give
unexpected results.
at /usr/local/netdot/lib/Netdot/Model/Device.pm line 3962
SNMP::Info::_global id : sysObjectID.0
SNMP::Info 2.09
SNMP::Info::device_type() layers:00000000 id:8072 sysDescr:"Linux
monitor01.example.dk 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19
07:05:20 UTC 2012 x86_64"
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//allied
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//arista
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//aruba
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//asante
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//cabletron
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//cisco
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//cyclades
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//dell
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//enterasys
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//extreme
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//foundry
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//hp
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//juniper
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//netscreen
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//net-snmp
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//nortel
SNMP::Info::init() - Adding new mibdir:/usr/share/netdisco//rfc
SNMP::Info::specify() - Changed Class to SNMP::Info::Layer3::NetSNMP.
DEBUG - SNMPv2 session with host localhost established
DEBUG - Device::get_snmp_info: SNMP target is 127.0.0.1
SNMP::Info::_global lldp_sys_cap : lldpLocSysCapEnabled.0
SNMP::Info::_global(lldp_sys_cap) NOSUCHOBJECT at
/usr/local/netdot/lib/Netdot/Model/Device.pm line 738
SNMP::Info::_load_attr e_descr : entPhysicalDescr
SNMP::Info::_load_attr i_type : ifType
SNMP::Info::_load_attr i_alias : ifAlias
SNMP::Info::_load_attr i_speed : ifSpeed
SNMP::Info::_load_attr i_up : ifOperStatus
SNMP::Info::_load_attr i_up_admin : ifAdminStatus
SNMP::Info::_load_attr el_index : dot3StatsIndex
SNMP::Info::_load_attr el_duplex : dot3StatsDuplexStatus
SNMP::Info::_load_attr ip_index : ipAdEntIfIndex
SNMP::Info::_load_attr ip_netmask : ipAdEntNetMask
SNMP::Info::_load_attr i_mac : ifPhysAddress
SNMP::Info::_load_attr bp_index : dot1dBasePortIfIndex
SNMP::Info::_load_attr qb_v_egress : dot1qVlanStaticEgressPorts
SNMP::Info::_load_attr qb_v_name : dot1qVlanStaticName
SNMP::Info::_load_attr v_name : dot1qVlanStaticName
SNMP::Info::_load_attr i_description : ifDescr
SNMP::Info::_load_attr ip_addr6_pfx : ipAddressPrefix
SNMP::Info::_load_attr c_addr6_pfx : cIpAddressPrefix
SNMP::Info::IPv6::ipv6_addr_prefix: data comes from none of the MIBs.
SNMP::Info::_load_attr entPhysicalDescr : entPhysicalDescr
SNMP::Info::_load_attr e_type : entPhysicalVendorType
SNMP::Info::_load_attr e_parent : entPhysicalContainedIn
SNMP::Info::_load_attr e_name : entPhysicalName
SNMP::Info::_load_attr e_class : entPhysicalClass
SNMP::Info::_load_attr e_pos : entPhysicalParentRelPos
SNMP::Info::_load_attr e_hwver : entPhysicalHardwareRev
SNMP::Info::_load_attr e_fwver : entPhysicalFirmwareRev
SNMP::Info::_load_attr e_swver : entPhysicalSoftwareRev
SNMP::Info::_load_attr e_model : entPhysicalModelName
SNMP::Info::_load_attr e_serial : entPhysicalSerialNum
SNMP::Info::_load_attr e_fru : entPhysicalIsFRU
SNMP::Info::_load_attr bgp_peers : bgpPeerLocalAddr
SNMP::Info::_load_attr bgp_peer_id : bgpPeerIdentifier
SNMP::Info::_load_attr bgp_peer_as : bgpPeerRemoteAs
SNMP::Info::_global layers : sysServices.0
SNMP::Info::_global(layers) NOSUCHINSTANCE at
/usr/local/netdot/lib/Netdot/Model/Device.pm line 743
SNMP::Info::_global ipforwarding : ipForwarding.0
SNMP::Info::_global(ipforwarding) NOSUCHOBJECT at
/usr/local/netdot/lib/Netdot/Model/Device.pm line 744
SNMP::Info::_global id : sysObjectID.0
SNMP::Info::_global description : sysDescr.0
SNMP::Info::_global netsnmp_vers : versionTag.0
SNMP::Info::_global(netsnmp_vers) NOSUCHOBJECT at
/usr/local/netdot/lib/Netdot/Model/Device.pm line 759
SNMP::Info::_global b_mac : dot1dBaseBridgeAddress.0
SNMP::Info::_global(b_mac) NOSUCHOBJECT at
/usr/local/netdot/lib/Netdot/Model/Device.pm line 760
SNMP::Info::_global mac : ifPhysAddress.1
SNMP::Info::_global(mac) NOSUCHOBJECT at
/usr/local/netdot/lib/Netdot/Model/Device.pm line 760
SNMP::Info::_global name : sysName.0
SNMP::Info::_global router_ip : ospfRouterId.0
SNMP::Info::_global(router_ip) NOSUCHOBJECT at
/usr/local/netdot/lib/Netdot/Model/Device.pm line 762
SNMP::Info::_load_attr ospf_ip : ospfHostIpAddress
SNMP::Info::_global contact : sysContact.0
SNMP::Info::_global location : sysLocation.0
SNMP::Info::_load_attr ip_addr6_index : ipAddressIfIndex
SNMP::Info::_load_attr c_addr6_index : cIpAddressIfIndex
SNMP::Info::IPv6::ipv6_index: data comes from none of the MIBs.
DEBUG - Device::get_snmp_info: Checking for BGPPeers
DEBUG - Device::get_snmp_info: Finished getting SNMP info from localhost
DEBUG - Device::discover: Device localhost does not yet exist
DEBUG - Device::_get_main_ip: Trying method snmp_target
DEBUG - Device::_get_main_ip: Chose 127.0.0.1 using naming method:
snmp_target
DEBUG - Device::assign_name: 127.0.0.1 resolves to localhost
DEBUG - Device::assign_name: RR localhost already exists in DB
Use of uninitialized value in sprintf at
/usr/local/netdot/lib/Netdot/Model/Device.pm line 1507.
DEBUG - localhost.defaultdomain type is:
INFO - Inserting new Device: localhost
INFO - localhost.defaultdomain: SNMP target address set to 127.0.0.1
DEBUG - localhost.defaultdomain did not return base MAC. Using first
available interface MAC.
Use of uninitialized value $address in sprintf at
/usr/local/netdot/lib/Netdot/Model/Device.pm line 5313.
DEBUG - localhost.defaultdomain: Could not insert base MAC: : Error
while inserting PhysAddr: Missing address
DEBUG - localhost.defaultdomain: No suitable base MAC found
DEBUG - localhost.defaultdomain: Old Ifs: 0, New Ifs: 0
DEBUG - localhost.defaultdomain: Old IPs: 0, New IPs: 0
DEBUG - localhost.defaultdomain: SNMP update completed in 0 sec
DEBUG - Device::snmp_update: localhost.defaultdomain: Collect FWT option
off. Skipping
DEBUG - Device::snmp_update: localhost.defaultdomain: Collect ARP option
off. Skipping
INFO - Device::snmp_update: localhost.defaultdomain: Finished updating
INFO - /usr/local/netdot/bin/updatedevices.pl total runtime: 1 sec
--
Regards,
Klavs Klavsen, GSEC - [email protected] - http://www.vsen.dk - Tlf. 61281200
"Those who do not understand Unix are condemned to reinvent it, poorly."
--Henry Spencer
------------------------------
Message: 4
Date: Tue, 2 Jul 2013 12:31:38 +0200
From: Phil Regnauld <[email protected]>
Subject: Re: [Netdot-users] netdot 1.0.4 not detecting interfaces on
linux host
To: Klavs Klavsen <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Klavs Klavsen (kl) writes:
> Hi,
>
> Just installed netdot - and it seems to handle my switches fine.
>
> I then wanted an NSM to make topology working - and figured I should use
> my monitoring machine - on which netdot runs.
>
> However, after adding localhost (with net-snmp running on centos 6) - it
> does not see any interfaces for that device :(
Hi Klavs,
> SNMP::Info::_global layers : sysServices.0
Have you tried setting sysServices to 72 ?
> SNMP::Info::_global description : sysDescr.0
> Device doesn't implement sysServices but did return sysDescr. Might give
> unexpected results.
> at /usr/local/netdot/lib/Netdot/Model/Device.pm line 3962
> DEBUG - Device::assign_name: 127.0.0.1 resolves to localhost
> DEBUG - Device::assign_name: RR localhost already exists in DB
And localhost already exists - but fair enough, it should rediscover it.
> DEBUG - localhost.defaultdomain: Could not insert base MAC: : Error
> while inserting PhysAddr: Missing address
That's a bit odd.
Try again with sysServices.72 to start with.
Cheers,
Phil
------------------------------
_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users
End of Netdot-users Digest, Vol 56, Issue 2
*******************************************