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. NetDisco - ssh-collector issues with Palo Alto (solved)
(Peter Soppe)
--- Begin Message ---
Hello,
I just encountered the same problem as seen here on the mailing list before,
e.g.:
https://sourceforge.net/p/netdisco/mailman/message/35825494/
netdisco@netdisco:~$ ./bin/netdisco-sshcollector
[19512] 2017-11-01 12:17:19 warn WARNING: no entries received from
<paloalto-fw2.mydomain.com>
[19513] 2017-11-01 12:17:19 warn WARNING: no entries received from
<paloalto-fw1.mydomain.com>
Can't use string ("1") as an ARRAY ref while "strict refs" in use at
./bin/netdisco-sshcollector line 115, <$__ANONIO__> line 3.
netdisco@netdisco:~$
The solution to this case is:
In the file
/home/netdisco/perl5/lib/perl5/App/Netdisco/SSHCollector/Platform/PaloAlto.pm
Add a \r to both of the the $expect->send statements.
b4: $expect->send("set cli pager off\n");
after: $expect->send("set cli pager off\r\n");
b4: $expect->send("show arp all\n");
after: $expect->send("show arp all\r\n");
Then I was successful:
[19529] 2017-11-01 12:18:00 info [paloalto-fw1.mydomain.com] arpnip -
retrieved 1175 entries
[19529] 2017-11-01 12:18:08 info [paloalto-fw2.mydomain.com] arpnip -
retrieved 1175 entries
[19529] 2017-11-01 12:18:17 info arpnip - processed 2350 ARP Cache entries
from 2 devices
netdisco@netdisco:~$
could someone please add this to the project?
best regards,
Peter
--- End Message ---
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users