Event detector bulk import
-
Re: How to bulk-import event detectors?
Is this possible now?
Just got all the pages done, now need to start text/email alerts. I have done point by point on smaller sites, but this project has hundreds I need to add event detectors to.
Thanks,
-
@sbaik they are exported in the JSON configuration with the data points. You can import a minimal configuration like below in order to just change the detectors
{"dataPoints": [{ "xid": "DP_249822", "eventDetectors": [ { "duration": 0, "xid": "Low Memory_1", "notLower": false, "sourceType": "DATA_POINT", "name": "", "limit": 10000, "alarmLevel": "URGENT", "type": "LOW_LIMIT", "durationType": "SECONDS" } ] }] }
-
Hi sbaik,
Have you seen this thread about using the JsonEmport tool in scripts? https://forum.infiniteautomation.com/topic/3708/a-script-jsonemport-example