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. ifAlias not handled consistently ([email protected])
2. Re: ifAlias not handled consistently (Oliver Gorwits)
3. Re: ifAlias not handled consistently ([email protected])
--- Begin Message ---
I think this is probably in SNMP::Info but not sure. I'm also thinking it used
to work, but have no way to know for sure as there have been a lot of changes
both in our environment and my Netdisco upgrades.
Here are two different switches, the first an old Dlink, the second a new
Netgear, and the actual SNMP returns then the NetDisco display:
$ snmpwalk -v2c -c 1k2hf5c7 192.168.1.206 IF-MIB::ifName.15
IF-MIB::ifName.15 = STRING: 1/15
$ snmpwalk -v2c -c redacted 192.168.1.206 IF-MIB::ifDescr.15
IF-MIB::ifDescr.15 = STRING: D-Link DGS-3120-48TC R1.02.013 Port 15 on Unit 1
$ snmpwalk -v2c -c redacted 192.168.1.206 IF-MIB::ifAlias.15
IF-MIB::ifAlias.15 = STRING: Something NMS
$ snmpwalk -v2c -c redacted 192.168.9.201 IF-MIB::ifName.26
IF-MIB::ifName.26 = STRING: 0/26
$ snmpwalk -v2c -c redacted 192.168.9.201 IF-MIB::ifDescr.26
IF-MIB::ifDescr.26 = STRING: Slot: 0 Port: 26 Gigabit - Level
$ snmpwalk -v2c -c redacted 192.168.9.201 IF-MIB::ifAlias.26
IF-MIB::ifAlias.26 = STRING: Fiber to Somewhere
As you can see, each has three different values, and in each the ifAlias
contains the human entered description.
In Netdisco, when I look at these I see this:
DLink:
Port= D-Link DGS-3120-48TC R1.02.013 Port 15 on Unit 1
Description= D-Link DGS-3120-48TC R1.02.013 Port 15 on Unit 1
Name = Something NMS
Netgear:
Port=0/26
Description= Slot: 0 Port: 26 Gigabit - Level
Name=0/26
So in the DLink, the field from ifName is replaced by ifAlias if defined. In
the Netgear the ifAlias does not appear at all, so the user entered
descriptions are not present.
Is there any setting or configuration option that affects this?
Is it a bug? Against SNMP or NetDisco?
This is with NetDisco 2.39.30, SNMP::Info 3.61, db Schema 53 on Ubuntu 16.04.4.
Linwood
--- End Message ---
--- Begin Message ---
Hi Linwood
Just to help accelerate this, can you tell us what Device Class is
assigned to each device? You can see this on the device details tab.
Thanks,
Oliver.
On 2018-05-16 02:20, [email protected] wrote:
I think this is probably in SNMP::Info but not sure. I'm also thinking
it used to work, but have no way to know for sure as there have been a
lot of changes both in our environment and my Netdisco upgrades.
Here are two different switches, the first an old Dlink, the second a
new Netgear, and the actual SNMP returns then the NetDisco display:
$ snmpwalk -v2c -c 1k2hf5c7 192.168.1.206 IF-MIB::ifName.15
IF-MIB::ifName.15 = STRING: 1/15
$ snmpwalk -v2c -c redacted 192.168.1.206 IF-MIB::ifDescr.15
IF-MIB::ifDescr.15 = STRING: D-Link DGS-3120-48TC R1.02.013 Port 15 on
Unit 1
$ snmpwalk -v2c -c redacted 192.168.1.206 IF-MIB::ifAlias.15
IF-MIB::ifAlias.15 = STRING: Something NMS
$ snmpwalk -v2c -c redacted 192.168.9.201 IF-MIB::ifName.26
IF-MIB::ifName.26 = STRING: 0/26
$ snmpwalk -v2c -c redacted 192.168.9.201 IF-MIB::ifDescr.26
IF-MIB::ifDescr.26 = STRING: Slot: 0 Port: 26 Gigabit - Level
$ snmpwalk -v2c -c redacted 192.168.9.201 IF-MIB::ifAlias.26
IF-MIB::ifAlias.26 = STRING: Fiber to Somewhere
As you can see, each has three different values, and in each the
ifAlias contains the human entered description.
In Netdisco, when I look at these I see this:
DLink:
Port= D-Link DGS-3120-48TC R1.02.013 Port 15 on Unit 1
Description= D-Link DGS-3120-48TC R1.02.013 Port 15 on Unit 1
Name = Something NMS
Netgear:
Port=0/26
Description= Slot: 0 Port: 26 Gigabit - Level
Name=0/26
So in the DLink, the field from ifName is replaced by ifAlias if
defined. In the Netgear the ifAlias does not appear at all, so the
user entered descriptions are not present.
Is there any setting or configuration option that affects this?
Is it a bug? Against SNMP or NetDisco?
This is with NetDisco 2.39.30, SNMP::Info 3.61, db Schema 53 on Ubuntu
16.04.4.
Linwood
------------------------------------------------------------------------------
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://sourceforge.net/p/netdisco/mailman/netdisco-users/
--- End Message ---
--- Begin Message ---
>> Just to help accelerate this, can you tell us what Device Class is assigned
>> to each device?
Certainly, the Netgear (which fails to show user descriptions) is a
SNMP::Info::Layer2::Netgear
The DLink is SNMP::Info::Layer3::DLink
I only have four Netgears (though sadly am getting a bunch more to replace the
old DLinks), and none of them show descriptions on port names, all are the same
model (M4100-26G) and two firmware versions (10.0.2.26 which is current and
10.0.2.20 which is a bit older).
Thanks,
Linwood
-----Original Message-----
From: Oliver Gorwits [mailto:[email protected]]
Sent: Wednesday, May 16, 2018 4:39 AM
To: [email protected]
Subject: Re: [Netdisco] ifAlias not handled consistently
Hi Linwood
Just to help accelerate this, can you tell us what Device Class is assigned to
each device? You can see this on the device details tab.
Thanks,
Oliver.
On 2018-05-16 02:20, [email protected] wrote:
> I think this is probably in SNMP::Info but not sure. I'm also thinking
> it used to work, but have no way to know for sure as there have been a
> lot of changes both in our environment and my Netdisco upgrades.
>
> Here are two different switches, the first an old Dlink, the second a
> new Netgear, and the actual SNMP returns then the NetDisco display:
>
> $ snmpwalk -v2c -c 1k2hf5c7 192.168.1.206 IF-MIB::ifName.15
>
> IF-MIB::ifName.15 = STRING: 1/15
>
> $ snmpwalk -v2c -c redacted 192.168.1.206 IF-MIB::ifDescr.15
>
> IF-MIB::ifDescr.15 = STRING: D-Link DGS-3120-48TC R1.02.013 Port 15 on
> Unit 1
>
> $ snmpwalk -v2c -c redacted 192.168.1.206 IF-MIB::ifAlias.15
>
> IF-MIB::ifAlias.15 = STRING: Something NMS
>
> $ snmpwalk -v2c -c redacted 192.168.9.201 IF-MIB::ifName.26
>
> IF-MIB::ifName.26 = STRING: 0/26
>
> $ snmpwalk -v2c -c redacted 192.168.9.201 IF-MIB::ifDescr.26
>
> IF-MIB::ifDescr.26 = STRING: Slot: 0 Port: 26 Gigabit - Level
>
> $ snmpwalk -v2c -c redacted 192.168.9.201 IF-MIB::ifAlias.26
>
> IF-MIB::ifAlias.26 = STRING: Fiber to Somewhere
>
> As you can see, each has three different values, and in each the
> ifAlias contains the human entered description.
>
> In Netdisco, when I look at these I see this:
>
> DLink:
>
> Port= D-Link DGS-3120-48TC R1.02.013 Port 15 on Unit 1
>
> Description= D-Link DGS-3120-48TC R1.02.013 Port 15 on Unit 1
>
> Name = Something NMS
>
> Netgear:
>
> Port=0/26
>
> Description= Slot: 0 Port: 26 Gigabit - Level
>
> Name=0/26
>
> So in the DLink, the field from ifName is replaced by ifAlias if
> defined. In the Netgear the ifAlias does not appear at all, so the
> user entered descriptions are not present.
>
> Is there any setting or configuration option that affects this?
>
> Is it a bug? Against SNMP or NetDisco?
>
> This is with NetDisco 2.39.30, SNMP::Info 3.61, db Schema 53 on Ubuntu
> 16.04.4.
>
> Linwood
> ----------------------------------------------------------------------
> -------- 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://sourceforge.net/p/netdisco/mailman/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://sourceforge.net/p/netdisco/mailman/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