This should work if you are on linux

destroy alarm aid=`./show alarms mh=<model_handle> | grep -v MHandle | cut -f1 
-d" "`

From: Bohra, Saurabh [mailto:[email protected]]
Sent: den 15 september 2015 18:57
To: spectrum
Subject: [spectrum] Delete all alarms from a model

Is there a way to bulk delete all the alarms from a model using cli or do I 
have to destroy them one at a time?

Also, if bulk deleting is not available, does anyone know what will be the 
impact if a destroy a model which has a couple of thousand active alarms on it?

Saurabh


  *   --To unsubscribe from spectrum, send email to 
[email protected]<mailto:[email protected]> with the body: unsubscribe spectrum 
[email protected]<mailto:[email protected]>

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to