Send netdisco-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-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 netdisco-users digest..."
Today's Topics:

   1. SSHCollector arpnip for IOS-XR (Cisco ASR9K, CRS) (Claes Jansson)
   2. Re: SSHCollector arpnip for IOS-XR (Cisco ASR9K, CRS)
      (Oliver Gorwits)
   3. Re: SSHCollector arpnip for IOS-XR (Cisco ASR9K, CRS)
      (Claes Jansson)
   4. Re: SSHCollector arpnip for IOS-XR (Cisco ASR9K, CRS)
      (Christian Ramseyer)
   5. Fwd: Discovering Switches thru LLDP (Wyman Chong)
   6. info discover: status error: error running job: Can't call
      method "addr" on an undefined value (Michael Knaus)
   7. How to bind netdisco 2 to ip v4? (Michael Knaus)
   8. Re: How to bind netdisco 2 to ip v4? (Oliver Gorwits)
   9. Re: info discover: status error: error running job: Can't
      call method "addr" on an undefined value (Oliver Gorwits)
--- Begin Message ---
Hi all,

my colleague made a SSHCollector script for arp records on IOS-XR. I'm attaching the file here, and hope that it can be included in the next release of ND2.

perl5/lib/perl5/App/Netdisco/SSHCollector/Platform/IOSXR.pm

And a question while we are on the SSHCollector subject, would it be possible to maybe integrate the SSHCollector function so that it is invoked by the "arpnip" command when applicable to "arpnipping". Or to have an own type of command for SSHCollector scripts.

What I would like to be able to do is schedule it within the netdisco config file, and also trigger it from the web-ui pushing the "arpnip" button...

Tnx!

--
Claes Jansson
Gästabudstaden AB


Attachment: IOSXR.pm
Description: Perl program


--- End Message ---
--- Begin Message ---
Hi Claes,

On 2014-08-29 14:57, Claes Jansson wrote:
my colleague made a SSHCollector script for arp records on IOS-XR.
I'm attaching the file here, and hope that it can be included in the
next release of ND2.

Great, many thanks! Yes we can include this in the next release.

And a question while we are on the SSHCollector subject, would it be
possible to maybe integrate the SSHCollector function so that it is
invoked by the "arpnip" command when applicable to "arpnipping". Or to
have an own type of command for SSHCollector scripts.

Can you confirm that it's really the case that there's no SNMP support for ARP tables in IOS-XR?

regards,
oliver.



--- End Message ---
--- Begin Message ---
Hi Oliver,

On 2014-08-29 16:16, Oliver Gorwits wrote:
Hi Claes,

On 2014-08-29 14:57, Claes Jansson wrote:
my colleague made a SSHCollector script for arp records on IOS-XR.
I'm attaching the file here, and hope that it can be included in the
next release of ND2.
Great, many thanks! Yes we can include this in the next release.

And a question while we are on the SSHCollector subject, would it be
possible to maybe integrate the SSHCollector function so that it is
invoked by the "arpnip" command when applicable to "arpnipping". Or
to
have an own type of command for SSHCollector scripts.
Can you confirm that it's really the case that there's no SNMP support
for ARP tables in IOS-XR?

We've tried it on IOS-XR 4.3.4 and the OID (1.3.6.1.2.1.4.22) for this is not present, also I found a post at Cisco that suggests using CLI for this.

https://supportforums.cisco.com/discussion/12003641/asr-9k-show-arp-mib

"narvenka@cisco: IP-MIB::ipNetToMediaIfIndex would have the capability to do this. But currently the MIB is deprecated. Also querying the ARP table in intense process. you can just run the script via vty and get this done. It can be more effective too."

Brgds!

//Claes


regards,
oliver.

------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users






--- End Message ---
--- Begin Message ---
On 8/29/14 3:57 PM, Claes Jansson wrote:
> Hi all,
> 
> my colleague made a SSHCollector script for arp records on IOS-XR. I'm
> attaching the file here, and hope that it can be included in the next
> release of ND2.
> 
> perl5/lib/perl5/App/Netdisco/SSHCollector/Platform/IOSXR.pm
> 

Hi Claes

Thanks, I have also included this in the Netdisco 1.3 version I'm
maintaining at <https://github.com/rc9000/netdisco-sshcollector>.

Christian




--- End Message ---
--- Begin Message ---
Hi,
   We have a combination of Cisco and Arista Switches. Just installed ND2
and after running a Discover on our seed switch  we are able to see the
systems that are attached to Cisco ports. I am not seeing anything attached
to the Arista Ports. Doing a discover on the Arista switch fixes this. Is
there anything else I should be doing to insure that the Arista switches
get automatically discovered? I can confirm ND2 found the Arista switches
because they are in the inventory list

Thanks

Wyman

--- End Message ---
--- Begin Message ---
Hello,

calling
~/bin/netdisco-do -D discover -I 2 -S 3 -d 192.168.4.33
I get the following error:
[22008] 2014-09-01 18:29:27  info discover: finished at Mon Sep  1
20:29:27 2014
[22008] 2014-09-01 18:29:27  info discover: status error: error running
job: Can't call method "addr" on an undefined value at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Core/Discover.pm line 124.


There is one error above:

Read ENTITY-MIB
Read Q-BRIDGE-MIB
Read POWER-ETHERNET-MIB
Read BRIDGE-MIB
error:snmp_translate_obj:Unknown OID root_ip
SNMP::Info::_validate_autoload_method(root_ip) Unable to resolve method.



Any hints?

Regards

MIK






--- End Message ---
--- Begin Message ---
Hello,

currently discovering the first node has failed for several reasons. One
was: The UDP port of the switch choosen as the first node was reachable
(nmap and tracerout (UDP)), but netdisco-do -D discover was not able to
connect to the port. I assume, I have managed binding netdisco-do to IP v4
- but I have done too many changes to remember what I have changed.

What would have been the correct way to bind netdisco to IP V4?
Or are shall I consider other reasons for the problem?

IP V6 is neither configured on the switch nor on the network, but on the
Ubuntu Server 14.04 LTS I am using (Lubuntu).

Regards

MIK




--- End Message ---
--- Begin Message ---
Hi Michael,

There's no configuration or option in Netdisco for binding to a local IP for discovery/polling.

I suggest you check your system configuration to find out why it's not possible to connect.

Can you connect to the device using the "snmpstatus" command?
A useful technique is to run "ip route get x.x.x.x" which will tell you the default local IP used to connect to the destination.

regards,
oliver.


On 2014-09-02 11:50, Michael Knaus wrote:
Hello,

currently discovering the first node has failed for several reasons. One was: The UDP port of the switch choosen as the first node was reachable (nmap and tracerout (UDP)), but netdisco-do -D discover was not able to connect to the port. I assume, I have managed binding netdisco-do to IP v4
- but I have done too many changes to remember what I have changed.

What would have been the correct way to bind netdisco to IP V4?
Or are shall I consider other reasons for the problem?

IP V6 is neither configured on the switch nor on the network, but on the
Ubuntu Server 14.04 LTS I am using (Lubuntu).

Regards

MIK



------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users




--- End Message ---
--- Begin Message ---
Hi Michael,

The first error is a bug which will be fixed in the next point release.

The second error can safely be ignored. It is simply checking for Layer 3 support (which I guess this device does not have).

regards,
oliver.

On 2014-09-02 11:07, Michael Knaus wrote:
Hello,

calling
~/bin/netdisco-do -D discover -I 2 -S 3 -d 192.168.4.33
I get the following error:
[22008] 2014-09-01 18:29:27  info discover: finished at Mon Sep  1
20:29:27 2014
[22008] 2014-09-01 18:29:27 info discover: status error: error running
job: Can't call method "addr" on an undefined value at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Core/Discover.pm line 124.


There is one error above:

Read ENTITY-MIB
Read Q-BRIDGE-MIB
Read POWER-ETHERNET-MIB
Read BRIDGE-MIB
error:snmp_translate_obj:Unknown OID root_ip
SNMP::Info::_validate_autoload_method(root_ip) Unable to resolve method.



Any hints?

Regards

MIK





------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users




--- End Message ---
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to