Ability to have customer Spectrum OneClick script execute on multiple selected model in Alarms tab

Document ID : KB000056719
Last Modified Date : 14/02/2018
Show Technical Document Details

Functionality was added in Spectrum to be able to select multiple alarms from the Spectrum OneClick Alarms tab, right mouse click and select a custom script and have the script executed for each alarm selected. The following is the release note entry: 


Symptom: OneClick console users are not allowed to run remote scripts on multiple selected alarms. 

Resolution: OneClick console users can execute remote scripts for multiple selected alarms. 

(9.4.2, 325313, 21802814-1) 


A new tag called "<run-for-multiple-alarms />" was added that allows this. The following is a sample script: 



<menu name="com.aprisma.spectrum.app.swing.window.menu.Tools"> 

<item name="Run Shell Script"> 







<command>sh /cygdrive/c/win32app/Spectrum/test.sh {0} {1} {2}</command> 










<display-exit-status /> 

<run-for-multiple-alarms />