Forum Discussion
Oh this would definitely be helpful for our junior admins and admins in general.
I made a slight workaround to this, which is very useful if the number of devices covered by the alert rule is very high.
1) Download the relevant devices (with Device name and Device ID, etc) in a csv
2) Added column for where I indicate to follow the alert rule or not (leave empty if not) and save
3) Make a script with BASH/powershell/python/go/etc and import the CSV and filter it only have the items where the last column indicator is not empty
4) Make a Foreach, and have it run on Device ID
5) In the Foreach, utilize the SDK or API calls to PATCH the devices, and add a property like alert.rule with the value somerule
6) And then proceeded to create the Alert rules I needed based by specifying the property
All this scripting and coding wouldn't be as necessary though if we had the option as you stated, especially if scripting is not a strong point for the admins involved.
Related Content
- 2 months ago