SNMP community change not picked up

Started by JayST, July 31, 2019, 12:24:15 AM

Previous topic - Next topic

JayST

I'm trying to understand and see if i'm doing something wrong or missing something.

I've got a Windows machines on a remote site behind a firewall. I made it a Proxy an SNMPProxy succesfully. Tunnel is up, host can be monitored properly from the NetXMS server.
Now i've added a gateway on that remote site. the gateway needs to be pinged by the proxy machine. This works, So far so good. Manually polling for status works just fine.
However, i also configured SNMP on the gateway. I've changed the community string after i added the gateway node to the NetXMS console.

Now my issues:
1.)
i configured the gateway node to also have the windows host as its SNMP Proxy. I've changed the SNMP community string within the gateway properties window from "public" to the correct string. I hit apply and try to do a manual poll (configuration poll). This poll failes to get the interface names.
I did some troubleshooting, all seemed to be fine, the poll just did not work.
The poll did however start to work instantly when i restarted the windows NetXMS agent service on the Windows proxy. Nothing else, just a restart of the service. After the restart i again hit on poll->configuration and everything came through.
What am i missing here?

2.) (minor)
when i add a node to a container and specify a SNMP proxy host for that node, that SNMP proxy node value is saved OK. However, if i set a ICMP proxy for the node i'm adding, it does not get saved. It defaults to none when i check the properties value of the ICMP proxy after creating the node.

Thanks.


Victor Kirhenshtein

Hi,

1) could it be that you did not restart agent after adding EnableSNMPProxy parameter to configuration?

2) Looks like a bug. What version you are using?

Best regards,
Victor

JayST

1.) i do think i did a restart of the agent, but i'm not 100% sure. Will test it. But just to have the correct default behaviour: changing the snmp community name does not require restart? It should be picked up by the next scheduled/manual poll?
2.) i'll get the exact version, but i did a fresh install last week on Ubuntu 18.04 , using the repositories. So should be latest available? management console is on Windows, also latest version available.

JayST

console version is 2.2.16
server is on 2.2.16-1

Tursiops

Changing the community name on a node inside NetXMS does not require a restart.
However, adding "EnableSNMPProxy = yes" into an agent's configuration does.