Hello
for a snmp protocol Is posible refer the Get/Set community to a parameter like the ip use "ipid"?
Thanks
Hola Juan,
I don't know your specific use case, but since you are dealing with community strings, you may want to explore the DataMiner Credentials Manager, which allows Managing predefined sets of credentials for SNMP authentication | DataMiner Docs
First, you define a set of credentials and share it with some user groups.
Then, when configuring SNMP element connections, you can choose from the existing credentials sets rather than setting the community strings manually.
This way, you can more easily manage your credentials across the DataMiner system.
Modifying the credential sets will trigger an automatic restart of the element, and the new credentials will be applied immediately.
There is no similar tag like 'ipid' to directly link the community string to a parameter. If you want to show the community string from the connector, you can retrieve it via QAction logic and maintain the parameter that way.
Yes, changing the community string is also possible. Here’s on example on how to get the community string.
IDms dms = Protocol.GetDms();
IDmsElement thisElement = dms.GetElement(Protocol.ElementName);
ISnmpV2Connection snmpv2Connection = (ISnmpV2Connection)thisElement.Connections.First();
return snmpv2Connection.GetCommunityString;
If you want update the communitystring you can override the GetCommunityString and then call thisElement.Update(), which will apply the updates on the element
hello
this process restart the element?
Thanks
it posible change it by qaction?