Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

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
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: [External] Re:  Cisco port err-disabled detection
      (Oliver Gorwits)
--- Begin Message ---
Awesome πŸŽ‰

On Fri, 24 Sep 2021 at 17:32, Johnson, Neil M <neil-john...@uiowa.edu>
wrote:

>
>
> That did the trick! Thanks so much!
>
>
>
> -Neil
>
>
>
> --
>
> Neil Johnson – University of Iowa
>
>
>
> *From:* Oliver Gorwits <oli...@cpan.org>
> *Sent:* Friday, September 24, 2021 10:36 AM
> *To:* Johnson, Neil M <neil-john...@uiowa.edu>
> *Cc:* netdisco-users@lists.sourceforge.net
> *Subject:* Re: [External] Re: [Netdisco] Cisco port err-disabled detection
>
>
>
> Yes, run discover on the devices again and see if that works. Hope so!
>
>
>
> On Fri, 24 Sep 2021 at 15:56, Johnson, Neil M <neil-john...@uiowa.edu>
> wrote:
>
> Oliver,
>
>
>
> The commands are working but, now the data is not showing up on the
> Reports->Ports->Error Disabled Ports report, or on the ports page for the
> device.
>
>
>
> Or do I  just need to wait for a day for the data to be polled?
>
>
>
> Thanks!
>
>
>
> -Neil
>
>
>
> --
>
> Neil Johnson – University of Iowa
>
>
>
> *From:* Oliver Gorwits <oli...@cpan.org>
> *Sent:* Wednesday, September 22, 2021 4:20 PM
> *To:* Johnson, Neil M <neil-john...@uiowa.edu>
> *Cc:* netdisco-users@lists.sourceforge.net
> *Subject:* Re: [External] Re: [Netdisco] Cisco port err-disabled detection
>
>
>
> Thanks Neil,
>
>
>
> OK so your devices are being classified as Layer3::Cisco which is the
> basic Cisco class and it does not support this feature.
>
>
>
> I find this a bit weird as we have the Layer3::CiscoSwitch class which is
> the same as Layer3::Cisco but with some additional stuff. I don't see why
> that's not the default for Cisco (well, there is a philosophical argument
> here perhaps, or I have just introduced bugs; we shall see).
>
>
>
> So I have changed that, and released SNMP::Info 3.79.
>
>
>
> Give it a few hours then run:
>
> ~netdisco/bin/localenv cpanm --notest SNMP::Info
>
>
>
> Then restart netdisco-backend and rediscover the device, and I hope that
> the methods test below now resolves, and the data will be in the tables
> (you can poke at the device_port_properties table in the database to check).
>
>
>
> regards
>
> Oliver.
>
>
>
> On Wed, 22 Sept 2021 at 18:35, Johnson, Neil M <neil-john...@uiowa.edu>
> wrote:
>
> I get an β€œunable to resolve method.” Error from SNMP::Info::
>
>
>
> -Neil
>
>
>
>
>
> netdisco@netdisco:~$ ~netdisco/bin/netdisco-do show -e
> i_err_disable_cause -d itdc-2.switch.uiowa.edu -DI
>
> [3239250] 2021-09-22 17:32:00  info App::Netdisco version 2.047008 loaded.
>
> [3239250] 2021-09-22 17:32:01  info show:
> [172.24.128.13]/i_err_disable_cause started at Wed Sep 22 17:32:01 2021
>
> [3239250] 2021-09-22 17:32:01 debug show: running with timeout 600s
>
> [3239250] 2021-09-22 17:32:01 debug => running workers for phase: check
>
> [3239250] 2021-09-22 17:32:01 debug -> run worker check/_base_/0
>
> [3239250] 2021-09-22 17:32:01 debug Show is able to run
>
> [3239250] 2021-09-22 17:32:01 debug => running workers for phase: main
>
> [3239250] 2021-09-22 17:32:01 debug -> run worker main/_base_/100
>
> [3239250] 2021-09-22 17:32:01 debug snmp reader cache warm: [172.24.128.13]
>
> [3239250] 2021-09-22 17:32:01 debug [172.24.128.13:161] try_connect with
> ver: 2, class: SNMP::Info::Layer3::Cisco, comm: <hidden>
>
> SNMP::Info::_global uptime : DISMAN-EVENT-MIB::sysUpTimeInstance :
> .1.3.6.1.2.1.1.3.0
>
> SNMP::Info::_global layers : SNMPv2-MIB::sysServices.0 : .1.3.6.1.2.1.1.7.0
>
> SNMP::Info::_global description : SNMPv2-MIB::sysDescr.0 :
> .1.3.6.1.2.1.1.1.0
>
> SNMP::Info::_global id : SNMPv2-MIB::sysObjectID.0 : .1.3.6.1.2.1.1.2.0
>
> SNMP::Info 3.73
>
> SNMP::Info::device_type() layers:00000110 id:9 sysDescr:"Cisco IOS
> Software [Amsterdam], Catalyst L3 Switch Software (CAT9K_IOSXE), Version
> 17.3.3, RELEASE SOFTWARE (fc7) Technical Support:
> http://www.cisco.com/techsupport Copyright (c) 1986-2021 by Cisco
> Systems, Inc. Compiled Thu 04-Mar-21 12:32 by mcpre"
>
> SNMP::Info::_validate_autoload_method(i_err_disable_cause) Unable to
> resolve method.
>
> undef
>
> [3239250] 2021-09-22 17:32:01  info show: finished at Wed Sep 22 17:32:01
> 2021
>
> [3239250] 2021-09-22 17:32:01  info show: status done: Showed
> i_err_disable_cause response from 172.24.128.13
>
> netdisco@netdisco:~$ ~netdisco/bin/netdisco-do show -e
> cErrDisableIfStatusCause -d itdc-2.switch.uiowa.edu -DI
>
> [3239258] 2021-09-22 17:32:47  info App::Netdisco version 2.047008 loaded.
>
> [3239258] 2021-09-22 17:32:47  info show:
> [172.24.128.13]/cErrDisableIfStatusCause started at Wed Sep 22 17:32:47 2021
>
> [3239258] 2021-09-22 17:32:47 debug show: running with timeout 600s
>
> [3239258] 2021-09-22 17:32:47 debug => running workers for phase: check
>
> [3239258] 2021-09-22 17:32:47 debug -> run worker check/_base_/0
>
> [3239258] 2021-09-22 17:32:47 debug Show is able to run
>
> [3239258] 2021-09-22 17:32:47 debug => running workers for phase: main
>
> [3239258] 2021-09-22 17:32:47 debug -> run worker main/_base_/100
>
> [3239258] 2021-09-22 17:32:47 debug snmp reader cache warm: [172.24.128.13]
>
> [3239258] 2021-09-22 17:32:47 debug [172.24.128.13:161] try_connect with
> ver: 2, class: SNMP::Info::Layer3::Cisco, comm: <hidden>
>
> SNMP::Info::_global uptime : DISMAN-EVENT-MIB::sysUpTimeInstance :
> .1.3.6.1.2.1.1.3.0
>
> SNMP::Info::_global layers : SNMPv2-MIB::sysServices.0 : .1.3.6.1.2.1.1.7.0
>
> SNMP::Info::_global description : SNMPv2-MIB::sysDescr.0 :
> .1.3.6.1.2.1.1.1.0
>
> SNMP::Info::_global id : SNMPv2-MIB::sysObjectID.0 : .1.3.6.1.2.1.1.2.0
>
> SNMP::Info 3.73
>
> SNMP::Info::device_type() layers:00000110 id:9 sysDescr:"Cisco IOS
> Software [Amsterdam], Catalyst L3 Switch Software (CAT9K_IOSXE), Version
> 17.3.3, RELEASE SOFTWARE (fc7) Technical Support:
> http://www.cisco.com/techsupport Copyright (c) 1986-2021 by Cisco
> Systems, Inc. Compiled Thu 04-Mar-21 12:32 by mcpre"
>
> SNMP::Info::_validate_autoload_method(cErrDisableIfStatusCause) Unable to
> resolve method.
>
> undef
>
> [3239258] 2021-09-22 17:32:47  info show: finished at Wed Sep 22 17:32:47
> 2021
>
> [3239258] 2021-09-22 17:32:47  info show: status done: Showed
> cErrDisableIfStatusCause response from 172.24.128.13
>
> netdisco@netdisco:~$
>
>
>
> *-- *
>
> *Neil Johnson – University of Iowa*
>
>
>
> *From:* Oliver Gorwits <oli...@cpan.org>
> *Sent:* Wednesday, September 22, 2021 6:21 AM
> *To:* Johnson, Neil M <neil-john...@uiowa.edu>
> *Cc:* netdisco-users@lists.sourceforge.net
> *Subject:* [External] Re: [Netdisco] Cisco port err-disabled detection
>
>
>
> Hi Neil
>
>
>
> This report relies on the i_err_disable_cause() method in SNMP::Info, so
> are you getting anything from:
>
>
>
> ~netdisco/bin/netdisco-do show -e i_err_disable_cause -d 1.2.3.4 -DI
>
> ~netdisco/bin/netdisco-do show -e cErrDisableIfStatusCause -d 1.2.3.4 -DI
>
>
>
> I am not sure how widely this method is implemented, for what classes, etc.
>
>
>
> regards
>
> Oliver
>
>
>
> On Wed, 22 Sept 2021 at 03:15, Johnson, Neil M <neil-john...@uiowa.edu>
> wrote:
>
>
>
> We have a cisco network.
>
>
>
> Is there something I need enable/configure in order to make the report for
> err disabled ports work?
>
>
>
> I have forced a port into error disable state, but netdisco is not
> detecting it.
>
>
>
> If this is an issue what information is needed to help troublshoot the
> issue.
>
>
>
> Thanks!
>
> -Neil
>
>
>
> *-- *
>
> *Neil Johnson (he/him/his)*
> Network Architect, Network Engineering Services
> S5 Lindquist Center, Iowa City, Iowa 52242
> Office: 319-384-0938
>
> *uiowa.edu <http://www.uiowa.edu/>*
>
> [image: The University of Iowa Logo]
>
>
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
>

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to