SNMP with different community-strings for read and write

Started by gkaudewitz, January 18, 2024, 12:14:28 PM

Previous topic - Next topic

gkaudewitz

Hello together,

configuring different community-strings for read and write access is a common solution on SNMP-servers.
What is the way to implement the usage of a seperate community-string for SNMP-set-access to networkcomponents from within NetXMS.

Best regards

Georg

Filipp Sudanov

Community string from node properties is used for read operations during polls and data collection.

Write operations, as far as I know, could be performed from NXSL scripts only and in createSNMPTransport method (https://www.netxms.org/documentation/nxsl-latest/#_instance_methods_13) you can specify custom community string. You can store this community string in a node custom attribute.