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. Juniper devices about 14.x and higher have blank os_ver
(Andy Ruhl)
2. Re: Juniper devices about 14.x and higher have blank os_ver
(Oliver Gorwits)
3. Re: sshcollector error (Oliver Gorwits)
4. Re: Juniper devices about 14.x and higher have blank os_ver
(Andy Ruhl)
5. Re: Juniper devices about 14.x and higher have blank os_ver
(Oliver Gorwits)
--- Begin Message ---
I've been upgrading Juniper devices, and I noticed that their os_ver
is blank in versions 14.x and higher.
I'm not much of an SNMP person, so if someone could point me in the
right direction to find out if there is something I can do, I would
appreciate it.
Stuff I've done:
Used -DISQ with discover on an older and newer device and looked at
the output but I can't find anything specific.
Did snmpbulkwalk on both devices and looked in the output and I see
different strings for the version but I don't know what this means.
Found MIBs from the current version of a device and put them in
netdisco-mibs/juniper but it didn't make any difference.
If I knew what to look for maybe I could figure this out. And also
figure out another device that has a blank os_ver that nobody cares
about probably.
Andy
--- End Message ---
--- Begin Message ---
Hi Andy
I suspect that the regular expressions and assumptions in the SNMP::Info
Juniper module are not matching on your device:
https://metacpan.org/source/OLIVER/SNMP-Info-3.36/lib/SNMP/Info/Layer3/Juniper.pm#L109
You could try the following Netdisco commands to get the two description
fields and make an assessment:
~netdisco/bin/netdisco-do show -DI -d 1.2.3.4 -e description
~netdisco/bin/netdisco-do show -DI -d 1.2.3.4 -e lldp_sysdesc
(this assumes the device is recognised as a Juniper, which you can
confirm in the Device Class field shown in Netdisco Device => Details
tab)
regards,
Oliver.
On 2017-07-11 14:34, Andy Ruhl wrote:
I've been upgrading Juniper devices, and I noticed that their os_ver
is blank in versions 14.x and higher.
I'm not much of an SNMP person, so if someone could point me in the
right direction to find out if there is something I can do, I would
appreciate it.
Stuff I've done:
Used -DISQ with discover on an older and newer device and looked at
the output but I can't find anything specific.
Did snmpbulkwalk on both devices and looked in the output and I see
different strings for the version but I don't know what this means.
Found MIBs from the current version of a device and put them in
netdisco-mibs/juniper but it didn't make any difference.
If I knew what to look for maybe I could figure this out. And also
figure out another device that has a blank os_ver that nobody cares
about probably.
Andy
------------------------------------------------------------------------------
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 ---
On 2017-07-09 16:57, Golden, Scott wrote:
when i put password in quotes 'password'
i still get the same error
Sorry, I meant the password itself:
password: 'mypasswordhere'
regards,
oliver.
SCOTT GOLDEN
Systems Analyst
Boston Globe Media Partners, LLC
978-340-8207
[email protected]
On Sun, Jul 9, 2017 at 8:25 AM,
<[email protected]> wrote:
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 [1]
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-sshcollector error (Oliver Gorwits)
---------- Forwarded message ----------
From: Oliver Gorwits <[email protected]>
To: [email protected]
Cc:
Bcc:
Date: Sat, 08 Jul 2017 18:37:43 +0100
Subject: Re: [Netdisco] netdisco-sshcollector error
Hi Scott,
On 2017-07-08 06:05, Golden, Scott wrote:
when i try to run netdisco-sshcollector i receive the following
error
Can't use an undefined value as an ARRAY reference at
/var/netdisco//bin/netdisco-sshcollector line 84
Probably there is an issue with your configuration's YAML
formatting, but it's difficult to tell via email what that is.
You can start by putting the password in quotes and see if that
makes a difference.
You can also put the config here: https://nopaste.me/ [2] and
select YAML from the list, and then let us take a look.
There is a little more info on YAML format in this docs page:
https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/Configuration.pod#YAML-GUIDANCE
[3]
regards,
oliver.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [4]
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users [1]
Links:
------
[1] https://lists.sourceforge.net/lists/listinfo/netdisco-users
[2] https://nopaste.me/
[3]
https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/Configuration.pod#YAML-GUIDANCE
[4] http://sdm.link/slashdot
------------------------------------------------------------------------------
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 ---
Ok, that was it.
There is no version info in description(). It's in lldp_sysdesc().
The regexp you're using for description() should be moved to lldp_sysdesc().
I edited Juniper.pm and did a discovery and it worked (it populated
the os_ver field), but I'm not sure if it's going to break other stuff
so I changed it back.
Here's the raw data:
SNMP::Info::_global lldp_sysdesc : LLDP-MIB::lldpLocSysDesc.0 :
.1.0.8802.1.1.2.1.3.4.0
"Juniper Networks, Inc. ex4500-40f , version 12.3R12.4 Build date:
2016-01-20 05:53:00 UTC "
SNMP::Info::_global lldp_sysdesc : LLDP-MIB::lldpLocSysDesc.0 :
.1.0.8802.1.1.2.1.3.4.0
"Juniper Networks, Inc. ex4500-40f Ethernet Switch, kernel JUNOS
15.1R5.5, Build date: 2016-11-25 16:33:55 UTC Copyright (c) 1996-2016
Juniper Networks, Inc."
Shall I open a bug?
Andy
On Tue, Jul 11, 2017 at 7:20 AM, Oliver Gorwits <[email protected]> wrote:
> Hi Andy
>
> I suspect that the regular expressions and assumptions in the SNMP::Info
> Juniper module are not matching on your device:
>
> https://metacpan.org/source/OLIVER/SNMP-Info-3.36/lib/SNMP/Info/Layer3/Juniper.pm#L109
>
> You could try the following Netdisco commands to get the two description
> fields and make an assessment:
>
> ~netdisco/bin/netdisco-do show -DI -d 1.2.3.4 -e description
> ~netdisco/bin/netdisco-do show -DI -d 1.2.3.4 -e lldp_sysdesc
>
> (this assumes the device is recognised as a Juniper, which you can confirm
> in the Device Class field shown in Netdisco Device => Details tab)
>
> regards,
> Oliver.
>
>
> On 2017-07-11 14:34, Andy Ruhl wrote:
>>
>> I've been upgrading Juniper devices, and I noticed that their os_ver
>> is blank in versions 14.x and higher.
>>
>> I'm not much of an SNMP person, so if someone could point me in the
>> right direction to find out if there is something I can do, I would
>> appreciate it.
>>
>> Stuff I've done:
>>
>> Used -DISQ with discover on an older and newer device and looked at
>> the output but I can't find anything specific.
>>
>> Did snmpbulkwalk on both devices and looked in the output and I see
>> different strings for the version but I don't know what this means.
>>
>> Found MIBs from the current version of a device and put them in
>> netdisco-mibs/juniper but it didn't make any difference.
>>
>> If I knew what to look for maybe I could figure this out. And also
>> figure out another device that has a blank os_ver that nobody cares
>> about probably.
>>
>> Andy
>>
>>
>> ------------------------------------------------------------------------------
>> 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 ---
--- Begin Message ---
Hi Andy,
On 2017-07-11 17:36, Andy Ruhl wrote:
Ok, that was it.
There is no version info in description(). It's in lldp_sysdesc().
Thanks for that report. I've pushed version 3.37 of SNMP::Info to CPAN.
Let me know how it turns out.
regards,
oliver.
The regexp you're using for description() should be moved to
lldp_sysdesc().
I edited Juniper.pm and did a discovery and it worked (it populated
the os_ver field), but I'm not sure if it's going to break other stuff
so I changed it back.
Here's the raw data:
SNMP::Info::_global lldp_sysdesc : LLDP-MIB::lldpLocSysDesc.0 :
.1.0.8802.1.1.2.1.3.4.0
"Juniper Networks, Inc. ex4500-40f , version 12.3R12.4 Build date:
2016-01-20 05:53:00 UTC "
SNMP::Info::_global lldp_sysdesc : LLDP-MIB::lldpLocSysDesc.0 :
.1.0.8802.1.1.2.1.3.4.0
"Juniper Networks, Inc. ex4500-40f Ethernet Switch, kernel JUNOS
15.1R5.5, Build date: 2016-11-25 16:33:55 UTC Copyright (c) 1996-2016
Juniper Networks, Inc."
Shall I open a bug?
Andy
On Tue, Jul 11, 2017 at 7:20 AM, Oliver Gorwits <[email protected]>
wrote:
Hi Andy
I suspect that the regular expressions and assumptions in the
SNMP::Info
Juniper module are not matching on your device:
https://metacpan.org/source/OLIVER/SNMP-Info-3.36/lib/SNMP/Info/Layer3/Juniper.pm#L109
You could try the following Netdisco commands to get the two
description
fields and make an assessment:
~netdisco/bin/netdisco-do show -DI -d 1.2.3.4 -e description
~netdisco/bin/netdisco-do show -DI -d 1.2.3.4 -e lldp_sysdesc
(this assumes the device is recognised as a Juniper, which you can
confirm
in the Device Class field shown in Netdisco Device => Details tab)
regards,
Oliver.
On 2017-07-11 14:34, Andy Ruhl wrote:
I've been upgrading Juniper devices, and I noticed that their os_ver
is blank in versions 14.x and higher.
I'm not much of an SNMP person, so if someone could point me in the
right direction to find out if there is something I can do, I would
appreciate it.
Stuff I've done:
Used -DISQ with discover on an older and newer device and looked at
the output but I can't find anything specific.
Did snmpbulkwalk on both devices and looked in the output and I see
different strings for the version but I don't know what this means.
Found MIBs from the current version of a device and put them in
netdisco-mibs/juniper but it didn't make any difference.
If I knew what to look for maybe I could figure this out. And also
figure out another device that has a blank os_ver that nobody cares
about probably.
Andy
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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