Hi Karen, I would be interested to know if there is a difference in the content of $ALARMTITLE and $PCTITLE?
Cheers, Joern Joern Henrichs Senior System Engineer Infrastructure Services & Support Computacenter AG & Co oHG Services & Solutions Voltastraße 1, 60486 Frankfurt, Germany Tel.: +49 69 97779 342 Mobile: +49 173 2946155 Fax: +49 69 97779 110 Short-Dial: 22342 E-Mail: [email protected]<mailto:[email protected]> WWW: www.computacenter.de<http://www.computacenter.de/> Von: Karen Kedda [mailto:[email protected]] Gesendet: Freitag, 11. Februar 2011 20:26 An: spectrum Cc: spectrum Betreff: Re: [spectrum] Spectrum Notifier script PCAUSE in subject line Hi Sergei, This is what I have set up: In the .alarmrc I have the following line added to get the AlarmTitle: EXTRA_ATTRS_AS_ENVVARS=0x12b4c In the SetScript I have the following additional lines: ALARMTITLE=$SANM_0X12B4C PCAUSE_FILE=`echo ${CAUSE} | awk '{print "Prob" substr("00000000",1,8-length($1)) $1}'` PCTITLE=`head -1 ${SPECROOT}/SG-Support/CsPCause/${PCAUSE_FILE}` -s is the subject in the email $MAIL -s "$SEV Alarm, $MNAME, $DTYPE, $IPADDRESS, $ALARMTITLE, $PCTITLE" $RCVRS < /tmp/set_alarm.$PID Karen Kedda Enterprise Monitoring Solutions Berkley Technology Services LLC 405 Silverside Rd., Suite 205 Wilmington, DE 19809 302.746.2113 [email protected] From: "Karpovitch, Sergei" <[email protected]> To: "spectrum" <[email protected]> Date: 02/11/2011 11:19 AM Subject: [spectrum] Spectrum Notifier script PCAUSE in subject line ________________________________ Folks, does anyone know what is the syntax to get PCAUSE in subject line? thanks in advance Sergei Karpovitch Senior Data Security Engineer Morgan, Lewis & Bockius LLP 1701 Market Street | Philadelphia, PA 19103-2921 Direct: 215.963.5197 | Main: 215.963.5000 | Fax: 215.963.5001 [email protected] | www.morganlewis.com DISCLAIMER This e-mail message is intended only for the personal use of the recipient(s) named above. This message may be an attorney-client communication and as such privileged and confidential and/or it may include attorney work product. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify us immediately by e-mail and delete the original message. --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected] ************* CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents contain private, privileged and confidential information belonging to the sender. The information therein is solely for the use of the addressee. If your receipt of this transmission has occurred as the result of an error, please immediately notify us so we can arrange for the return of the documents. In such circumstances, you are advised that you may not disclose, copy, distribute or take any other action in reliance on the information transmitted. * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected] ----------------------------------- Computacenter AG & Co. oHG, mit Sitz in Kerpen (Amtsgericht Köln HRA 18096) Vertretungsberechtigte Gesellschafter: Computacenter Aktiengesellschaft, mit Sitz in Köln (Amtsgericht Köln HRB 28384) Vorstand: Oliver Tuszik (Vorsitzender), Dr. Karsten Freihube, Hans-Georg Freitag, Frank Kottmann, Reiner Louis Aufsichtsrat: Michael Norris (Vorsitzender) Computacenter Management GmbH, mit Sitz in Köln (Amtsgericht Köln HRB 28284) Geschäftsführer: Ulrich Irnich Visit us on the Internet: http://www.computacenter.de Visit our Online-Shop: https://shop.computacenter.de This email is confidential. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this mail in error, please tell us immediately by return email and delete the document. ----------------------------------- --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
