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: NetDisco - ssh-collector issues with Palo Alto (Caines, Max)
   2. Re: NetDisco - ssh-collector issues with Palo Alto (Jonathan Hunt)
   3. Re: NetDisco - ssh-collector issues with Palo Alto (Caines, Max)
   4. Re: NetDisco - ssh-collector issues with Palo Alto (Caines, Max)
--- Begin Message ---
Hi

I'm running "sshcollector" for our Palo Alto, and it's fine and doesn't get 
this error. Are you sure that you are actually receiving any ARP entries from 
the PA? I'm not familiar with the code, but could it be an attempt to get an 
element from an empty array?

Regards

Max

-----Original Message-----
From: Christian Ramseyer [mailto:[email protected]] 
Sent: 03 May 2017 14:03
To: Daniel Bird <[email protected]>; [email protected]; 
[email protected]
Subject: Re: [Netdisco] NetDisco - ssh-collector issues with Palo Alto

Hi guys

After Jonathan's message, I was checking our network for a device to try
this, but unfortunately we seem to only own every networking product
except Palo Alto :)

But I looked at it again now, the regex to capture the stuff still seems
fine with the output both of you sent, so it either is the prompt
matching that fails or the split on the newline (which is fixed to
Windows-style \r\n).

So one simple thing to try would be to change
lib/App/Netdisco/SSHCollector/Platform/PaloAlto.pm line 52 to this:

for (split(/\R/, $before)){

This would work with most weird things any common system might consider
a line break.

If this doesn't work, I'm afraid I can't help more and we need to find
someone that has such a device and also can fiddle around with the code
a bit.

Christian


On 30.04.17 13:26, Daniel Bird wrote:
> Hi Christian, 
> 
> It appears I have the same issue, so just a follow up with some more info.
> 
> [netdisco2@netmanage ~]$ ~/bin/netdisco-sshcollector -DQ
> [12105] 2017-04-30 11:03:28 debug paloalto-host 12105 arpnip()
> [12105] 2017-04-30 11:03:29  warn WARNING: no entries received from 
> <paloalto-host>
> Can't use string ("1") as an ARRAY ref while "strict refs" in use at 
> /home/netdisco2/bin/netdisco-sshcollector line 114, <$__ANONIO__> line 3.

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- End Message ---
--- Begin Message ---
Hey Christian,

I tried the change to the regex in the PaloAlto.pm file you mentioned, and
I still get the same error message.

On Wed, May 3, 2017 at 8:01 AM, Caines, Max <[email protected]> wrote:

> Hi
>
> I'm running "sshcollector" for our Palo Alto, and it's fine and doesn't
> get this error. Are you sure that you are actually receiving any ARP
> entries from the PA? I'm not familiar with the code, but could it be an
> attempt to get an element from an empty array?
>
> Regards
>
> Max
>
> -----Original Message-----
> From: Christian Ramseyer [mailto:[email protected]]
> Sent: 03 May 2017 14:03
> To: Daniel Bird <[email protected]>; [email protected];
> [email protected]
> Subject: Re: [Netdisco] NetDisco - ssh-collector issues with Palo Alto
>
> Hi guys
>
> After Jonathan's message, I was checking our network for a device to try
> this, but unfortunately we seem to only own every networking product
> except Palo Alto :)
>
> But I looked at it again now, the regex to capture the stuff still seems
> fine with the output both of you sent, so it either is the prompt
> matching that fails or the split on the newline (which is fixed to
> Windows-style \r\n).
>
> So one simple thing to try would be to change
> lib/App/Netdisco/SSHCollector/Platform/PaloAlto.pm line 52 to this:
>
> for (split(/\R/, $before)){
>
> This would work with most weird things any common system might consider
> a line break.
>
> If this doesn't work, I'm afraid I can't help more and we need to find
> someone that has such a device and also can fiddle around with the code
> a bit.
>
> Christian
>
>
> On 30.04.17 13:26, Daniel Bird wrote:
> > Hi Christian,
> >
> > It appears I have the same issue, so just a follow up with some more
> info.
> >
> > [netdisco2@netmanage ~]$ ~/bin/netdisco-sshcollector -DQ
> > [12105] 2017-04-30 11:03:28 debug paloalto-host 12105 arpnip()
> > [12105] 2017-04-30 11:03:29  warn WARNING: no entries received from
> <paloalto-host>
> > Can't use string ("1") as an ARRAY ref while "strict refs" in use at
> /home/netdisco2/bin/netdisco-sshcollector line 114, <$__ANONIO__> line 3.
>
> ------------------------------------------------------------
> ------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users
>

--- End Message ---
--- Begin Message ---
No, I don't have those changes either. I don't think they are needed

Max
________________________________
From: Jonathan Hunt [[email protected]]
Sent: 03 May 2017 19:00
To: Caines, Max
Cc: Christian Ramseyer; Daniel Bird; [email protected]
Subject: Re: [Netdisco] NetDisco - ssh-collector issues with Palo Alto

Hey Christian,

I tried the change to the regex in the PaloAlto.pm file you mentioned, and I 
still get the same error message.

On Wed, May 3, 2017 at 8:01 AM, Caines, Max 
<[email protected]<mailto:[email protected]>> wrote:
Hi

I'm running "sshcollector" for our Palo Alto, and it's fine and doesn't get 
this error. Are you sure that you are actually receiving any ARP entries from 
the PA? I'm not familiar with the code, but could it be an attempt to get an 
element from an empty array?

Regards

Max

-----Original Message-----
From: Christian Ramseyer [mailto:[email protected]<mailto:[email protected]>]
Sent: 03 May 2017 14:03
To: Daniel Bird <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>;
 [email protected]<mailto:[email protected]>
Subject: Re: [Netdisco] NetDisco - ssh-collector issues with Palo Alto

Hi guys

After Jonathan's message, I was checking our network for a device to try
this, but unfortunately we seem to only own every networking product
except Palo Alto :)

But I looked at it again now, the regex to capture the stuff still seems
fine with the output both of you sent, so it either is the prompt
matching that fails or the split on the newline (which is fixed to
Windows-style \r\n).

So one simple thing to try would be to change
lib/App/Netdisco/SSHCollector/Platform/PaloAlto.pm line 52 to this:

for (split(/\R/, $before)){

This would work with most weird things any common system might consider
a line break.

If this doesn't work, I'm afraid I can't help more and we need to find
someone that has such a device and also can fiddle around with the code
a bit.

Christian


On 30.04.17 13:26, Daniel Bird wrote:
> Hi Christian,
>
> It appears I have the same issue, so just a follow up with some more info.
>
> [netdisco2@netmanage ~]$ ~/bin/netdisco-sshcollector -DQ
> [12105] 2017-04-30 11:03:28 debug paloalto-host 12105 arpnip()
> [12105] 2017-04-30 11:03:29  warn WARNING: no entries received from 
> <paloalto-host>
> Can't use string ("1") as an ARRAY ref while "strict refs" in use at 
> /home/netdisco2/bin/netdisco-sshcollector line 114, <$__ANONIO__> line 3.

------------------------------------------------------------------------------
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
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/netdisco-users


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

Given that ssh-collector is working on my Palo Alto, would it help if I turned 
debugging on on it? I notice that there's also a commented -out debug flag in 
the code for Net::OpenSSH. I could uncomment that as well?

Regards

Max

-----Original Message-----
From: Oliver Gorwits [mailto:[email protected]] 
Sent: 03 May 2017 15:05
To: Christian Ramseyer <[email protected]>; Daniel Bird <[email protected]>; 
[email protected]; [email protected]
Subject: Re: [Netdisco] NetDisco - ssh-collector issues with Palo Alto

Hi all

This is not directly helpful in this case, but if anyone has the time to 
try connecting using Net::Appliance::Session (or Net::CLI::Interact) I 
would appreciate the feedback.

NAS doesn't have a Palo Alto phrasebook but one of the others might 
work. I am considering making a NAS-based collector for Netdisco to take 
away some of the pain exprienced in this thread.

regards,
oliver.

On 2017-05-03 14:03, Christian Ramseyer wrote:
> Hi guys
> 
> After Jonathan's message, I was checking our network for a device to 
> try
> this, but unfortunately we seem to only own every networking product
> except Palo Alto :)
> 
> But I looked at it again now, the regex to capture the stuff still 
> seems
> fine with the output both of you sent, so it either is the prompt
> matching that fails or the split on the newline (which is fixed to
> Windows-style \r\n).
> 
> So one simple thing to try would be to change
> lib/App/Netdisco/SSHCollector/Platform/PaloAlto.pm line 52 to this:
> 
> for (split(/\R/, $before)){
> 
> This would work with most weird things any common system might consider
> a line break.
> 
> If this doesn't work, I'm afraid I can't help more and we need to find
> someone that has such a device and also can fiddle around with the code
> a bit.
> 
> Christian
> 
> 
> On 30.04.17 13:26, Daniel Bird wrote:
>> Hi Christian,
>> 
>> It appears I have the same issue, so just a follow up with some more 
>> info.
>> 
>> [netdisco2@netmanage ~]$ ~/bin/netdisco-sshcollector -DQ
>> [12105] 2017-04-30 11:03:28 debug paloalto-host 12105 arpnip()
>> [12105] 2017-04-30 11:03:29  warn WARNING: no entries received from 
>> <paloalto-host>
>> Can't use string ("1") as an ARRAY ref while "strict refs" in use at 
>> /home/netdisco2/bin/netdisco-sshcollector line 114, <$__ANONIO__> line 
>> 3.
> 
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netdisco-users

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users



--- 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

Reply via email to