I need to add/remove devices from a certain monitoring configuration for a certain SNMP extension.
Now, an existing monitoring configuration can be read, but when read, it doesn’t show the community strings of existing devices. It does show some random number in the middle:
{
"ip": "192.168.1.1",
"port": 161,
"authentication": {
"type": "SNMPv2c",
"community": "***346***"
}
}
Every time I get the data, the numbers change. Does posting this data back to the API mean the community string will be maintained? What care has to be taken, so that Dynatrace doesn’t interpret this Community string linearly?
BTW, I’m thinking in using the /extensions/{extensionName}/monitoringConfigurations/{configurationId}
endpoint. Or is there any other better way?