"Henrik Stoerner" wrote on 04/02/2005 19:33
The email alerts I get from my hobbit user have no subject line.
Well, mine do :-)
Yay! ;-)
What system is this on - Linux, Solaris, BSD or ... ?
SunOS zpnz-mtm-bb01 5.9 Generic_117172-05 i86pc i386 i86pc
What command is used to send mail on your system ? What's the MAIL setting in your hobbitserver.cfg file ?
MAIL="mail"
Try this. Login as the hobbit user, cd to the server/ directory and run this command:
$ ./bin/bbcmd --env=etc/hobbitserver.cfg hobbitd_alert --test osiris.hswn.dk cpu
<SNIP>
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.
"Christopher T. Beers" wrote on 05/02/2005 18:16:34:
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.
<SNIP>
Thanks Henrik and Chris - I am indeed running Solaris 9 x86 and changing the "MAIL=" directive in hobbitserver.cfg did the trick. Any chance the configure script can be updated to do this by default on Solaris?
Henrik - when I ran the test I got the following errors:
bash-3.00$ ./bin/bbcmd --env=etc/hobbitserver.cfg hobbitd_alert --test zd2sv1 vmio 2005-02-07 09:31:17 Unknown option '--test' 2005-02-07 09:31:17 Unknown option 'zd2sv1' 2005-02-07 09:31:17 Unknown option 'vmio'
I am, however, still running B6 rather than RC1 as I didn't get any reply about my conn/fping problems after I upgraded :-) I'd link to the message but the February archives don't seem to be up yet. The subject was "Re: [hobbit] Hobbit 4.0-RC1 available - conn errors" and it was sent 03/02/2005 04:24 GMT.
Thanks and regards, Andy.
#####################################################################################
This email is intended for the person to whom it is addressed only. If you are not the intended recipient, do not read, copy or use the contents in any way. The opinions expressed may not necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').
While every effort has been made to verify the information contained herein, ZESPRI does not make any representations as to the accuracy of the information or to the performance of any data, information or the products mentioned herein. ZESPRI will not accept liability for any losses, damage or consequence, however, resulting directly or indirectly from the use of this e-mail/attachments. #####################################################################################