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. SNMP Poll failure (Bavo Seesink)
   2. Re: SNMP Poll failure (Oliver Gorwits)
   3. question about serial numbers and the 'snmp-server        chassis'
      command (Sckolnick, Gary)
--- Begin Message ---
Hi,
I have a question.
I`m running into a SNMP question.
I installed netdisco 2.0  onto a new server (CentOS) (clean install).
I`m starting to add devices. But i`m running into a snmp error:
[netdisco@netmgt]$ ~/bin/netdisco-do -D discover -d [ipaddress]
[64003] 2015-01-19 07:17:16  info discover: started at Mon Jan 19 08:17:16 2015
[64003] 2015-01-19 07:17:16 debug [ipaddress] try_connect with ver: 2, class: 
SNMP::Info, comm: <hidden>
MIB search path:
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (UCD-DISKIO-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (MTA-MIB): At line 0 in (none)
Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none)
Cannot find module (SCTP-MIB): At line 0 in (none)
Cannot find module (RMON-MIB): At line 0 in (none)
Cannot find module (EtherLike-MIB): At line 0 in (none)
Cannot find module (LM-SENSORS-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (IPV6-ICMP-MIB): At line 0 in (none)
Cannot find module (IPV6-MIB): At line 0 in (none)
Cannot find module (IPV6-TCP-MIB): At line 0 in (none)
Cannot find module (IPV6-UDP-MIB): At line 0 in (none)
Cannot find module (IP-FORWARD-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none)
[64003] 2015-01-19 07:17:16 debug [ipaddress] try_connect with ver: 1, class: 
SNMP::Info, comm: <hidden>
[64003] 2015-01-19 07:17:16 debug [ipaddress] try_connect with ver: 2, class: 
SNMP::Info, comm: <hidden>
[64003] 2015-01-19 07:17:16 debug [ipaddress] try_connect with ver: 1, class: 
SNMP::Info, comm: <hidden>
[64003] 2015-01-19 07:17:16  info discover: finished at Mon Jan 19 08:17:16 2015
[64003] 2015-01-19 07:17:16  info discover: status error: discover failed: 
could not SNMP connect to [ipaddress]/32

so i looks that the device is unable to read the SNMP from the switch. But when 
i do a SNMP walk of that device from the same server to the same switch it 
shows me this:

[netdisco@netmgt]$  snmpwalk -v 2c -c [CommunityString] [IP address] sysDescr.0
SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS Software, C3560 Software 
(C3560-IPSERVICESK9-M), Version 12.2(55)SE8, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Wed 26-Jun-13 11:18 by prod_rel_team
[netdisco@netmgt]$

So wy is netdisco unable to read the switches SNMP info?
Thanks in advanced

System info:
App::Netdisco: 2.030000
DB Schema: v39
Dancer: 1.3132
Bootstrap: 2.3.1
PostgreSQL: PostgreSQL 9.2.7 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 
4.8.2 20140120 (Red Hat 4.8.2-16), 64-bit. DBI 1.633, DBD::Pg 2.19.3
SNMP::Info: 3.23
Perl: 5.016003




--- End Message ---
--- Begin Message ---
Hi Bavo,

Please would you re-run the command with the following environment variable set:

$ SHOW_COMMUNITY=1 ~/bin/netdisco-do -D discover -d [ipaddress]

This will show the SNMP community Netdisco is using to connect to the device, and verify that your deployment.yml file is correct.

Also the Cannot Find Module errors are interesting, I don't think they should be there. Did you run netdisco-deploy as the Netdisco user, and is ~/netdisco-mibs in place?

regards,
oliver.

On 2015-01-19 08:37, Bavo Seesink wrote:
Hi,
I have a question.
I`m running into a SNMP question.
I installed netdisco 2.0 onto a new server (CentOS) (clean install).
I`m starting to add devices. But i`m running into a snmp error:

[netdisco@netmgt]$ ~/bin/netdisco-do -D discover -d [ipaddress]
[64003] 2015-01-19 07:17:16 info discover: started at Mon Jan 19
08:17:16 2015
[64003] 2015-01-19 07:17:16 debug [ipaddress] try_connect with ver: 2,
class: SNMP::Info, comm: <hidden>
MIB search path:
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (UCD-DISKIO-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (MTA-MIB): At line 0 in (none)
Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none)
Cannot find module (SCTP-MIB): At line 0 in (none)
Cannot find module (RMON-MIB): At line 0 in (none)
Cannot find module (EtherLike-MIB): At line 0 in (none)
Cannot find module (LM-SENSORS-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (IPV6-ICMP-MIB): At line 0 in (none)
Cannot find module (IPV6-MIB): At line 0 in (none)
Cannot find module (IPV6-TCP-MIB): At line 0 in (none)
Cannot find module (IPV6-UDP-MIB): At line 0 in (none)
Cannot find module (IP-FORWARD-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none)
[64003] 2015-01-19 07:17:16 debug [ipaddress] try_connect with ver: 1,
class: SNMP::Info, comm: <hidden>
[64003] 2015-01-19 07:17:16 debug [ipaddress] try_connect with ver: 2,
class: SNMP::Info, comm: <hidden>
[64003] 2015-01-19 07:17:16 debug [ipaddress] try_connect with ver: 1,
class: SNMP::Info, comm: <hidden>
[64003] 2015-01-19 07:17:16 info discover: finished at Mon Jan 19
08:17:16 2015
[64003] 2015-01-19 07:17:16 info discover: status error: discover
failed: could not SNMP connect to [ipaddress]/32

so i looks that the device is unable to read the SNMP from the switch.
But when i do a SNMP walk of that device from the same server to the
same switch it shows me this:

[netdisco@netmgt]$ snmpwalk -v 2c -c [CommunityString] [IP address]
sysDescr.0
SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS Software, C3560 Software
(C3560-IPSERVICESK9-M), Version 12.2(55)SE8, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Wed 26-Jun-13 11:18 by prod_rel_team
[netdisco@netmgt]$

So wy is netdisco unable to read the switches SNMP info?
Thanks in advanced

System info:
: 2.030000
DB Schema [1]: v39
Dancer [2]: 1.3132
Bootstrap [3]: 2.3.1
PostgreSQL [4]: PostgreSQL 9.2.7 on x86_64-redhat-linux-gnu, compiled
by gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16), 64-bit. DBI 1.633,
DBD::Pg 2.19.3
SNMP::Info [5]: 3.23
Perl [6]: 5.016003



Links:
------
[1] https://metacpan.org/module/netdisco-db-deploy
[2] http://http//perldancer.org/
[3] http://getbootstrap.com/
[4] http://www.postgresql.org/
[5] http://snmp-info.sourceforge.net/
[6] http://www.perl.org/




--- End Message ---
--- Begin Message ---
Hello.  We've noticed, comparing the latest Netdisco v2 to our existing ND1 
implementation, that where ND1 was able to retrieve the correct serial number 
for a given Cisco switch, ND2 will not retrieve the serial number, but rather 
the value configured with the snmp-server chassis command, if one is set.  
Since some of our switches are configured with snmp-server chassis <asset tag>, 
ND2 reports this asset tag as the serial number of the switch; ND1 reports the 
switch's actual serial number.  What's even more curious is that we're not sure 
where this is coming from, because a full snmpwalk of the switch does produce 
the <asset tag> value.

Any ideas?


________________________
Gary Sckolnick
Network Engineer
Information Services
(802) 847-2541
gary.sckoln...@uvmhealth.org
The University of Vermont Medical Center
UVMHealth.org/MedCenter


This message and any attachments may contain information that is confidential, 
privileged and/or protected from disclosure under state and federal laws.  If 
you received this message in error or through inappropriate means, please reply 
to this message to notify the Sender that the message was received by you in 
error, and then permanently delete this message from all storage media, without 
forwarding or retaining a copy.

--- End Message ---
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to