List of alarm Prob* ID and alarm title from Spectrum 9.2.1
This can be done very easily with a unix shell script. I wrote the following and ran it from the Spectrum root directory on Linux and it created a file called Spectrum_alarms.txt in the Spectrum root directory that contains a list of the PCause file name and the Alarm Title from the PCause files located in the $SPECROOT/SG-Support/CsPCause and $SPECROOT/custom/Events/CsPCause directories.
NOTE: Use at your own risk. No guarantees.
#!/bin/shrm Spectrum_alarms.txtecho "============================================================================" >> Spectrum_alarms.txtecho "<SPECROOT>/SG-Support/CsPCause Probable Cause Titles" >> Spectrum_alarms.txtecho "============================================================================" >> Spectrum_alarms.txtecho "" >> Spectrum_alarms.txtcd ./SG-Support/CsPCausefor i in `ls`doTITLE=`head -1 $i`echo "$i;$TITLE" >> ../../Spectrum_alarms.txtdoneecho "" >> ../../Spectrum_alarms.txtecho "============================================================================" >> ../../Spectrum_alarms.txtecho "<SPECROOT>/SG-Support/CsPCause Probable Cause Titles" >> ../../Spectrum_alarms.txtecho "============================================================================" >> ../../Spectrum_alarms.txtecho "" >> ../../Spectrum_alarms.txtcd ../../custom/Events/CsPCausefor a in `ls`doTITLE=`head -1 $a`echo "$a;$TITLE" >> ../../../Spectrum_alarms.txtdone
Joe
Hi Michiel Helde,
How we can generate this text file for Spectrum 10.2 alarms.