Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== sms+ ====== ^ Author | [[ gumby3203@gmail.com | Gary Baluha ]] | ^ Compatibility | Xymon 4.2 | ^ Requirements | unix, Linux | ^ Download | None | ^ Last Update | 2007-02-15 | ===== Description ===== This is an external Xymon script that provides a more detailed SMS output, but is still shorter than the regular email alerts. Essentially, this does what FORMAT=SMS does, except that it also displays the items that are red. :!: This was taken from the hobbit-users mailing list ===== Installation ===== - Add script to server's ext folder - Modify for your environment and replace <code> MAIL [recipients] [flags] </code>with<code> SCRIPT [hobbit home]/server/ext/smsplus.sh [recipients] [flags] </code> :!: **NOTE:** Make sure you don't include FORMAT=SMS ===== Source ===== ==== smsplus.sh ==== <code bash> #!/bin/bash msg=`echo "${BBALPHAMSG}" | egrep "&yellow|&red"` msg="\n${msg}" # CODE: #======= subject="!HB ${ACKCODE}" alert="${BBHOSTSVC} ${BBCOLORLEVEL}" message="\n${alert}${msg}" echo -e "${message}" | mail -s "${subject}" $RCPT </code> ===== Known Bugs and Issues ===== * No known bugs ===== To Do ===== ===== Credits ===== ===== Changelog ===== * **2007-02-15** * Initial release alerts/smsplus.txt Last modified: 2009/02/01 03:09by 127.0.0.1