Hello,
I am looking to configure SNMP Traps on many networks and I would like to script the process. I have web-scraped to find that the WEB-GUI is using POST to "https://n127.meraki.com/{{Organization name}}/n/{{NetworkID}}/manage/alerts" and will use the following JSON to update it:
"snmpTrap": {
"config": {
"id": "config",
"snmp_access": "community",
"community": "1234",
"trap_users": {},
"ip": "1.2.3.4",
"port": "162"
}
},
I am unable to locate anything about this in any forums and documentation. Is this setting exposed to an API PUT or GET at all? If so, what is the URL for it?
Thanks
The four SNMP API calls are here:
https://dashboard.meraki.com/api_docs#snmp-settings
Alert configuration is here:
https://dashboard.meraki.com/api_docs#update-the-alert-configuration-for-this-network
I don't believe there are any other API calls that relate to this.
Hello,
by any chance: any update on a ticket or feature request for that?
Got the same issue..
I've got the same need, any luck by the way with the ticket?
We also really need this functionality. I don't understand why the option to enable/disable SNMP on a specific trap message is there, but the ability to configure the trap destination IP is not.
It is possible to achieve that with Python and Selenium. (Not ideal, but didn't find a better solution)