cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SNMP API just ADD devices

mferstl
Participant

Hi.

I just started having a look on SNMP monitoring, as i want to monitor about 3000 devices and need to add new devices often, i want to use API to add data.

I already am able to PUT and replace the whole configuration, but i don't want always to upload all devices again, i just want to add 1 or multiple new devices without the need of rewriting all existing ones.

I am using this url 'environment'/api/v2/extensions/com.dynatrace.extension.snmp-generic-device/monitoringConfigurations/'objectID'

and posting there

 

{
    "objectId""objectID",
    "scope""ag_group-SNMP_Full_Permission",
    "value": {
        "enabled"true,
        "description""SNMP Monitoring Full Permission",
        "version""1.10.0",
        "featureSets": [
            "Interfaces 32-bit",
            "Interfaces 64-bit",
            "Interfaces",
            "Traffic"
        ],
        "vars": {},
        "snmp": {
            "devices": [
                {
                    "ip": ........
 
Is there a possibility to just ADD devices to the existing configuration?
 
thanks a lot
michael
2 REPLIES 2

Mike_L
Dynatrace Guru
Dynatrace Guru

Hi,

Please create a product idea for this as it'd be good functionality to have in these cases.

Mike

Mike

Hi,

Product idea has been raised.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Featured Posts