I always thought that is how it was supposed to be and that the SMS or shorter messages just made it smaller and had a subject. Guess I should have tried it.
Solaris the mail command does not accept -s but mailx does. I changed it in hobbitserver.cfg to mailx and everything works fine.
[hobbit at darwin ~/server]$ ./bin/bbcmd --env=etc/hobbitserver.cfg hobbitd_alert --test helpme.syr.edu cpu
Matching host:service:page 'helpme.syr.edu:cpu:' against rule line 108:Matched
*** Match with 'HOST=%.*' ***
Matching host:service:page 'helpme.syr.edu:cpu:' against rule line 109:Matched
*** Match with 'MAIL user-96213c045646@xymon.invalid RECOVERED' ***
Mail alert with command 'mail -s "BB [12345] helpme.syr.edu:cpu is RED" user-96213c045646@xymon.invalid'[hobbit at darwin ~/server]$ mail --help
mail: illegal option -- -
mail: illegal option -- l
mail: Usage: [-ehpPqr] [-f file] [-x debuglevel]
or [-tw] [-m message_type] [-T file] [-x debuglevel] persons
or [-x debuglevel]
--
Christopher T. Beers
Lead UNIX Architect - System Infrastructure Services (SIS)
Syracuse University | 250 Machinery Hall | Syracuse, NY XXXXX
(XXX) XXX-XXXX Office | (XXX) XXX-XXXX Fax | user-62463a5fbf92@xymon.invalid Pager
--On February 4, 2005 7:33:16 AM +0100 Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
| The command that is used to send mail is shown in the line beginning
| with "Mail alert with command" - it should include a subject, so if it
| doesn't when the mail shows up in your mailbox, you may have to use a
| different MAIL setting on your system.