06-17-2015 06:55 AM
Dear!
I'm trying to discovery all device in the network, the big majority is Cisco SF300, some switches 2960 and others 3750, but when I try to discovery using quick discovery, advanced discovery or import a file CSV, only few devices are discovered.
The configuration of SF300 is:
snmp-server location "Rack Secon"
snmp-server contact Suporte
snmp-server community public ro view Default
!
Cisco 3750: (the status is partial collection failure)
snmp-server community public RO
snmp-server location "Rack DC_TI"
snmp-server contact Suporte
Attached is the image of Prime.
Thanks
Solved! Go to Solution.
06-17-2015 08:36 AM
Login to the server , I mean SSH to PI server ::
now from the PI console do a manual SNMPWALK to check the SNMP connectivity::
from the root shell::
snmpwalk -v2c -c <community-name> <Device-IP> <OID/Object name>
Thanks-
06-17-2015 07:00 AM
Hi ,
Make sure the SNMP credentials are correct. , also you need to define the "RW" string in PI.
add the "RW" community string and check the issue
Thanks-
Afroz
***Ratings Encourages Contributors ***
06-17-2015 07:04 AM
Thanks Afroj!
The credention is "public" , same as configure on switch.
Where can I configure "RW" string in PI?
Is mandatory configure RW on switch?
Thanks
06-17-2015 07:20 AM
Try to manually add one device and see how it works with BOTH RO and RW
or in discovery setting instead of RO , try RW string
Hope RW string is configured on the devices
Thanks-
Afroz
06-17-2015 07:41 AM
I change the configuration to:
snmp-server community USC rw view Default
snmp-server community public ro view Default
I tryed to add device and still with "SNMP connectivity failure"
Do I have to do something else in PI?
06-17-2015 08:20 AM
Was missing SNMP-Server server, after apply this command the status change to:
"Partial Collection Failure"
I tryed with RO, RO and RW and only RW, the status doesn´t change.
06-17-2015 08:36 AM
Login to the server , I mean SSH to PI server ::
now from the PI console do a manual SNMPWALK to check the SNMP connectivity::
from the root shell::
snmpwalk -v2c -c <community-name> <Device-IP> <OID/Object name>
Thanks-
06-17-2015 09:46 AM
Afroj,
This command is not available:
cpia101/admin# snmpwalk -v2c ?
% invalid command
cpia101/admin# snmpwalk ?
% invalid command
cpia101/admin# sh snm?
% invalid command
cpia101/admin# conf t
Enter configuration commands, one per line. End with CNTL/Z.
cpia101/admin(config)# snmp-server ?
community Set community string
contact Text for mib object sysContact
host Specify hosts to receive SNMP notifications
location Text for mib object sysLocation
cpia101/admin(config)# ip sn?
% invalid command
06-17-2015 09:58 AM
I found a Bug int the Cisco's website, but they say that don't need do anything and is fixed, but in my case maybe is an other problem
https://tools.cisco.com/bugsearch/bug/CSCus62822/?referring_site=bugquickviewredir
06-17-2015 10:48 AM
Hi,
as suggested earlier , tried to do the SNMP walk from root shell as shown in steps by Marvin and see it is working.
also you can try to restart the PI services once ( ncs stop then ncs start ) and see if it helps
Thanks-
06-17-2015 11:08 AM
Dear,
Sorry, maybe is simple question, I'm trying to put this command but I don't know what is the <OID/Object name>.
ade # snmpwalk -v2c -c public 10.205.3.5
.bash_logout .tcshrc install.log.syslog
.bash_profile anaconda-ks.cfg ks-post.log
.bashrc bin/ logs/
.cshrc install.log ova.ks.cfg
ade # snmpwalk -v2c -c public 10.205.3.5
thanks
06-17-2015 11:20 AM
Both of you help me a lot, know is working, I add a new device and is fine, know I'll try to import a list.
Thank you very much.
Both are the best.
06-18-2015 11:43 AM
Marcio,
Please note that the recently released Device Pack 5 fixes bug ID CSCus62822.
The Bug Toolkit hasn't been updated yet but it is noted in the Device Pack Release Notes.
06-17-2015 10:52 AM
Marcio,
As Afroj noted, "snmpwalk" requires you be in the root shell (i.e. the underlying Red Hat Linux OS). The prompts shown in your output indicate you are in the ADE-OS that overlays the root bash shell.
Please switch to root shell first via the "root" command. See the following example:
PI/admin# root Enter root password : Starting root bash shell ... ade # snmpwalk No hostname specified. USAGE: snmpwalk [OPTIONS] AGENT [OID]
(remainder of shell output omitted)
06-17-2015 11:08 AM
Dear,
Sorry, maybe is simple question, I'm trying to put this command but I don't know what is the <OID/Object name>.
ade # snmpwalk -v2c -c public 10.205.3.5
.bash_logout .tcshrc install.log.syslog
.bash_profile anaconda-ks.cfg ks-post.log
.bashrc bin/ logs/
.cshrc install.log ova.ks.cfg
ade # snmpwalk -v2c -c public 10.205.3.5
thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide