From: Nordquist, Daniel
Doesn't the format=sms strip the subject from the email?
From the hobbit internals perspective I can't really answer that. This cludge is perhaps somewhat outside of the way hobbit is designed to work, but it's worked fine for our team for many moons. When a server goes offline I generally don't need/want anything other than a short alert which says servername.conn. The '/bin/mail -s' line below provides that detail in the subject line.
page-primary.sh
#!/bin/bash
/bin/mail -s "$BBHOSTSVC" user-e13f0c5b5222@xymon.invalid < /dev/null
#!/bin/bash
/bin/mail -s "$BBHOSTSVC" user-ad896f61a28e@xymon.invalid <<EOM
$BBALPHAMSG
EOM