Update Spectrum Event and Alarm Files via Command Line
search cancel

Update Spectrum Event and Alarm Files via Command Line


Article ID: 9994


Updated On:


CA Spectrum DX NetOps


How to reload Event Files via command line

Event files edited manually outside of Event Configuration Editor (ECE) must be reloaded into memory. Typically this is done through the OneClick console on the VNM model of the Landscape > Information tab > SpectroSERVER Control > Reload Event Configuration. Having multiple DSS servers may make reloading the files into memory on each server time consuming. Using command line to reload Event files into memory can be scripted and therefore be more efficient. 


Release: All Supported Releases

Component: SPCAEM - Events and Alarms


AlertMap & EventDisp files

AlertMap and EventDisp files are reloaded on the SpectroSERVERs

The CLI update action to use is 0x100a2 "Reload EventDisp and AlertMap files" with the VNM modelhandle.

- Using bash prompt, navigate to <SPECROOT>/vnmsh

- run command ./connect

- run ./show models | grep vnm

- the first column is <vnm model handle>

- run ./update action=0x100a2 <vnm model handle>

Sample shell loop: 

for VNM_MH in $(cat ~/custom/data/vnm_models) ; do ./update action=0x100a2 mh=$VNM_MH ; done


CsEvFormat & CsPCause files

EvFormat and PCause files are reloaded in OneClick Tomcat server. Therefore these files can be reloaded via REST API command: 




Additional Information