10-31-2024 04:06 AM
I have configured a line of C1200 switches with SNMP so my Solarwinds instance at 172.22.101.67 can poll them. However, they produce error logs every ~30 secs. I cannot seem to find any relevant information about how to remove it or what is wrong with my config. I can conclude that Solarwinds is able to poll information from the switches.
Config: (sensitive information replaced)
snmp-server server
snmp-server location the_moon
snmp-server contact admin@company.com
snmp-server community snmp_secret ro 172.22.101.67 view Default
Error logs:
sh snmp:
There is a connection between Solarwinds and the switches, because as i already wrote once, Solarwinds polls data. There is an access-list locally on the switch and also on the firewall, permitting the traffic. Since Solarwinds polls data, i can only assume that the configuration of SNMP credentials and the switches are correct, which i have already triple-checked.
I know there is a command to disable these logs, but i don't want to ignore a problem or make it invisible; i want to understand the problem and solve it, if possible.
I am not a network professional or very knowledgeable about this. I am learning. I will provide any additional information needed.
10-31-2024 04:28 AM
Hi,
Can you validate on the Solarwinds side that is not trying to also use SNMPv3 to this device, additionally to SNMP v2c?
Best,
Cristian.
10-31-2024 05:44 AM
Hi Christian,
Thanks for the quick reply.
I dont know where validate this, but i deleted all SNMPv3 credentials on solarwinds, since we don't want to use SNMPv3. I haven't been able to find out where to disable SNMPv3 or whether it is possible at all.
10-31-2024 06:13 AM
Hi,
Launch a debug and let's see the outputs:
logging console informational
logging monitor informational
logging buffered debugging
logging buffered 65535
!
debug snmp sessions
debug snmp requests
debug snmp packets
Collect the logs via "show logging" and disable debugs via "undebug all".
Best,
Cristian.
11-01-2024 03:04 AM
Hi again Christian,
Some of these commands i cannot run. It doesnt recognize the logging monitor command as well as the 3 debug commands Also the log buffer could only go to 1000 instead of 65K. In User exec mode i can run "debug" which puts me in a weird mode i havent tried before:
And then i guess the logs won't show what you need. This is a c1200 switch running v4.1.0.76 if that helps. Are there other commands i can use instead?
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