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. Re: Trying to fetch arp entries from ArubaOSCX, again
(Jethro Binks)
--- Begin Message ---
Thanks Oliver.
Any thoughts on why I can't get the SSHCollector script to trigger though
("(info) skip: driver or action not applicable"), ND2_LOG_PLUGINS=1 providing
no further clues.
While I potentially have a workaround now using that -p option, that's still
going to need work and is still < SSHCollector ( < SNMP::Info
ipNetToPhysicalTable). It must be something simple but I can't see it.
Jethro.
. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK
The University of Strathclyde is a charitable body, registered in Scotland,
number SC015263.
________________________________
From: Oliver Gorwits <[email protected]>
Sent: 22 August 2025 10:02 PM
To: Jethro Binks <[email protected]>
Cc: Cuttler, Brian R (HEALTH) via netdisco-users
<[email protected]>
Subject: Re: [Netdisco] Trying to fetch arp entries from ArubaOSCX, again
Hi Jethro,
Ah you're right the API wiki page has Perl syntax (not JSON) because the
mojolicious library will convert it. The netdisco-do man page is misleading.
It actually means to refer to the API spec itself which is here:
https://netdisco2-demo.herokuapp.com/swagger-ui/?url=/swagger.json#/Objects/put_api_v1_object_device__ip__arps
I'll see if we can make netdisco-do doc clearer.
By the way, glad to see -p option being used. In the next major version this is
changed to be "-e '@/path/to/file'" or you can pipe it in with "-e '@-'". Just
to make it a bit cleaner across different commands.
regards
oliver.
On Fri, 22 Aug 2025 at 13:32, Jethro Binks
<[email protected]<mailto:[email protected]>> wrote:
Hey,
I've tried it with and without the action:.
Adding env ND2_LOG_PLUGINS=1 provided no additional output here:
[35351] 2025-08-22 10:42:36 debug ⬅ (done) arpnip is able to run
[35351] 2025-08-22 10:42:36 debug //// EARLY \\\\ phase
[35351] 2025-08-22 10:42:36 debug ⮕ worker Arpnip::Nodes p0 "prepare common
data"
[35351] 2025-08-22 10:42:36 debug //// MAIN \\\\ phase
[35351] 2025-08-22 10:42:36 debug ⮕ worker Arpnip::Nodes p1000000
[35351] 2025-08-22 10:42:36 debug ⬅ (info) skip: arp table data supplied by
other source
[35351] 2025-08-22 10:42:36 debug ⮕ worker Arpnip::Nodes p200
[35351] 2025-08-22 10:42:36 debug ⬅ (info) skip: driver or action not applicable
[35351] 2025-08-22 10:42:36 debug ⮕ worker Arpnip::Nodes p100
[35351] 2025-08-22 10:42:36 debug snmp reader cache warm: [ipaddress]
But I didn't know about that, so I will remember it in future thanks.
Failing progress here, I took a look at doing it out-of-band, and then using:
Submit arpnip results directly to Netdisco by putting the JSON data in a
file and using the "-p" option (see API web docs for data format
example):
~/bin/netdisco-do arpnip -d 192.0.2.1 -p /tmp/arp-table.json
Which also seems a more recent addition I'd not noticed before. But while the
API docs suggest the format for the JSON should be:
[
{ mac => "aa:bb:cc:dd:ee:ff", ip => "A.B.C.D" }
]
I had to write it such:
[
{ mac: "aa:bb:cc:dd:ee:ff", ip: "A.B.C.D" }
]
But it did work! So that's another interim workaround perhaps. Still icky.
J.
. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK
The University of Strathclyde is a charitable body, registered in Scotland,
number SC015263.
________________________________
From: Christian Ramseyer <[email protected]<mailto:[email protected]>>
Sent: 22 August 2025 12:54 AM
To: Jethro Binks <[email protected]<mailto:[email protected]>>;
Cuttler, Brian R (HEALTH) via netdisco-users
<[email protected]<mailto:[email protected]>>
Subject: Re: [Netdisco] Trying to fetch arp entries from ArubaOSCX, again
Hi!
On 21.08.2025 21:31, Jethro Binks wrote:
> action: arpnip::nodes
Your config looks fine at a first glance except for I have never seen
action: used in device_auth... just as a wild guess maybe try without it?
You can also try ND2_LOG_PLUGINS=1 as env var to get some more output
from plugin and worker selection, maybe that helps.
Cheers
Christian
_______________________________________________
Netdisco mailing list
[email protected]<mailto:[email protected]>
https://sourceforge.net/p/netdisco/mailman/netdisco-users/
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users