SNMP broke after Poll Configuration

Started by mkulis, November 19, 2019, 02:06:20 PM

Previous topic - Next topic

mkulis

Hi,

I have problem with poll configuration on Netgear switches.
Everythings works great until I do 'Poll configuration'. After that I get alarm "SNMP agent is not responding" and all I can do is to go to switch configuration and set again passwtod (for v3) or community string (v1). Password is no change.

For now I disable poll configuration for this nodes.

I have server v3.0.2357 on Ubuntu 16.04.06.

Let me know if I can provide more information.

Tursiops

On the device in question, have you tried ticking the "Prevent automatic SNMP configuration changes" checkbox?
Can be found under Node -> Properties -> Communications -> SNMP -> Prevent automatic SNMP configuration changes

mkulis

I tried all combination with this checkbox .
To be more specific, I have problem with model GS728TPv2. I have also GS110TP and poll configuration works OK (with this I have problem with PoE management but this is for another time).

Can I find somewhere what exactly is happening during configuration poll?
I have conntact with netgear support and they realy want help us - we just bought 80 switches :)

One more thing. I connected next switch (the same model - GS728TPv2) and system discovered only one interface (GigabitEthernet1). I can walk MIB and get table ifXTable (OID:.1.3.6.1.2.1.31.1.1) with all interfaces but on 'Object Details'->'Interfaces' is only one one line in table. I have eneble 'Use ifXTable for interfaces pooling' in node properties. I don't remammber what I did to get whole interface list on the switches before. With this SNMP problem I tried everythin... Any idea?


Tursiops

I don't know all the details of what's happening during a configuration poll, but it will check the device against other SNMP credentials unless that checkbox is ticked. Other than that, it'll discover interfaces, apply auto-bind and auto-apply rules, change the system name based on agent and/or SNMP data, etc. If prevent automatic SNMP configuration changes is ticked, a configuration poll should not reset your SNMP configuration.

If you run a manual configuration poll on your other switch, does it list the other interfaces during the poll and tell you that they have been filtered out? Or does it only report GigabitEthernet1?

mkulis

Hi, little step forward.

I manually pull configuration (full) on switch with full interfaces list and get this:
[20.11.2019 12:34:58] **** Poll request sent to server ****
[20.11.2019 12:34:58] Poll request accepted
[20.11.2019 12:34:58] Starting configuration poll for node 10.6.1.224
[20.11.2019 12:34:58] Capability reset
[20.11.2019 12:34:58] Checking node's capabilities...
[20.11.2019 12:34:58]    Checking SNMP...
[20.11.2019 12:34:58]    SNMP agent is active (version 3)
[20.11.2019 12:34:59]    System description changed to NETGEAR 24-Port Gigabit PoE+ Smart Managed Pro Switch with 4 SFP Ports (GS728TPv2), Software Version 6.0.1.14, Boot Version 1.0.0.5
[20.11.2019 12:34:59]    System name changed to SSD-Sosnowiec1
[20.11.2019 12:34:59]    System contact changed to
[20.11.2019 12:34:59]    System location changed to
[20.11.2019 12:35:41] Capability check finished
[20.11.2019 12:35:41] Checking interface configuration...
[20.11.2019 12:35:50] Unable to get interface list from node
[20.11.2019 12:35:50]    Interface "testcc (GigabitEthernet1)" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet2" is no longer exist
[20.11.2019 12:35:50]    Interface "test3cc (GigabitEthernet3)" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet4" is no longer exist
[20.11.2019 12:35:50]    Interface "test5cc8 (GigabitEthernet5)" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet6" is no longer exist
[20.11.2019 12:35:50]    Interface "test7c (GigabitEthernet7)" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet8" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet9" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet10" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet11" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet12" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet13" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet14" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet15" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet16" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet17" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet18" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet19" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet20" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet21" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet22" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet23" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet24" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet25" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet26" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet27" is no longer exist
[20.11.2019 12:35:50]    Interface "GigabitEthernet28" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG1" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG2" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG3" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG4" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG5" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG6" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG7" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG8" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG9" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG10" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG11" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG12" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG13" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG14" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG15" is no longer exist
[20.11.2019 12:35:50]    Interface "LAG16" is no longer exist
[20.11.2019 12:35:50] Interface configuration check finished
[20.11.2019 12:35:50] Checking node name
[20.11.2019 12:35:50] Node name is an IP address and need to be resolved
[20.11.2019 12:35:54] Node name cannot be resolved
[20.11.2019 12:35:55] Finished configuration poll for node 10.6.1.224
[20.11.2019 12:35:55] Node configuration was changed after poll
[20.11.2019 12:35:55] **** Poll completed successfully ****


So I losted all interfaces.
After few hours of manually polling status/configuration and trying everythink I know how to get interface from this switch.
I have to do: Configuration poll -> set again SNMP password/community on switch -> Configuration poll.
Please notice that in second poll there is not a 'Checking SNMP':

[20.11.2019 14:22:21] **** Poll request sent to server ****
[20.11.2019 14:22:22] Poll request accepted
[20.11.2019 14:22:22] Starting configuration poll for node 10.6.1.224
[20.11.2019 14:22:22] Checking node's capabilities...
[20.11.2019 14:22:22]    Checking SNMP...
[20.11.2019 14:22:22]    SNMP agent is active (version 2c)
[20.11.2019 14:23:04] Capability check finished
[20.11.2019 14:23:05] Checking interface configuration...
[20.11.2019 14:23:14] Unable to get interface list from node
[20.11.2019 14:23:14] Interface configuration check finished
[20.11.2019 14:23:14] Checking node name
[20.11.2019 14:23:14] Node name is an IP address and need to be resolved
[20.11.2019 14:23:18] Node name cannot be resolved
[20.11.2019 14:23:18] Finished configuration poll for node 10.6.1.224
[20.11.2019 14:23:18] Node configuration was not changed after poll
[20.11.2019 14:23:18] **** Poll completed successfully ****

[20.11.2019 14:24:25] **** Poll request sent to server ****
[20.11.2019 14:24:25] Poll request accepted
[20.11.2019 14:24:25] Starting configuration poll for node 10.6.1.224
[20.11.2019 14:24:25] Checking node's capabilities...
[20.11.2019 14:24:25] Capability check finished
[20.11.2019 14:24:25] Checking interface configuration...
[20.11.2019 14:24:42]    IP address 10.6.1.224 removed from interface "testcc (GigabitEthernet1)"
[20.11.2019 14:24:42]    IP address 127.0.0.1 added to interface "testcc (GigabitEthernet1)"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet2"
[20.11.2019 14:24:42]    Found new interface "aa23 (GigabitEthernet3)"
[20.11.2019 14:24:42]    Found new interface "aa24 (GigabitEthernet4)"
[20.11.2019 14:24:42]    Found new interface "aa25 (GigabitEthernet5)"
[20.11.2019 14:24:42]    Found new interface "aa26 (GigabitEthernet6)"
[20.11.2019 14:24:42]    Found new interface "test7c (GigabitEthernet7)"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet8"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet9"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet10"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet11"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet12"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet13"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet14"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet15"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet16"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet17"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet18"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet19"
[20.11.2019 14:24:42]    Found new interface "GigabitEthernet20"
[20.11.2019 14:24:43]    Found new interface "GigabitEthernet21"
[20.11.2019 14:24:43]    Found new interface "GigabitEthernet22"
[20.11.2019 14:24:43]    Found new interface "GigabitEthernet23"
[20.11.2019 14:24:43]    Found new interface "GigabitEthernet24"
[20.11.2019 14:24:43]    Found new interface "GigabitEthernet25"
[20.11.2019 14:24:43]    Found new interface "GigabitEthernet26"
[20.11.2019 14:24:43]    Found new interface "GigabitEthernet27"
[20.11.2019 14:24:43]    Found new interface "GigabitEthernet28"
[20.11.2019 14:24:43]    Found new interface "LAG1"
[20.11.2019 14:24:43]    Found new interface "LAG2"
[20.11.2019 14:24:43]    Found new interface "LAG3"
[20.11.2019 14:24:43]    Found new interface "LAG4"
[20.11.2019 14:24:43]    Found new interface "LAG5"
[20.11.2019 14:24:43]    Found new interface "LAG6"
[20.11.2019 14:24:43]    Found new interface "LAG7"
[20.11.2019 14:24:43]    Found new interface "LAG8"
[20.11.2019 14:24:43]    Found new interface "LAG9"
[20.11.2019 14:24:43]    Found new interface "LAG10"
[20.11.2019 14:24:43]    Found new interface "LAG11"
[20.11.2019 14:24:43]    Found new interface "LAG12"
[20.11.2019 14:24:43]    Found new interface "LAG13"
[20.11.2019 14:24:43]    Found new interface "LAG14"
[20.11.2019 14:24:44]    Found new interface "LAG15"
[20.11.2019 14:24:44]    Found new interface "LAG16"
[20.11.2019 14:24:44] Interface configuration check finished
[20.11.2019 14:24:44] Checking node name
[20.11.2019 14:24:44] Node name is an IP address and need to be resolved
[20.11.2019 14:24:44] Node name cannot be resolved
[20.11.2019 14:24:44] Finished configuration poll for node 10.6.1.224
[20.11.2019 14:24:44] Node configuration was changed after poll
[20.11.2019 14:24:44] **** Poll completed successfully ****


After this second poll the SNMP communication works without reset password. One more Configuration poll and SNMP is gone.

What's more.
If I do: Configuration poll -> set again SNMP password/community on switch -> Status poll (this work OK) -> Configuration poll, it wouldn't works and SNMP will be lost.

For now I can't see any difference between check or uncheck 'Prevent automatic SNMP configuration change' box.

Please let me know if I can provide more test to find a solution.