Xymon Mailing List Archive search

missing subjects on alert emails

4 messages in this thread

list Brian Lynch · Thu, 3 Mar 2005 20:01:44 -0800 ·
Has anyone seen the problem where 'MAIL' recipients receive messages
with no subject?  Am I missing a configuration option here?  Note that
alerts are sent fine, but the subject is empty.   Here is the config
line from hobbit-alerts.cfg.  Note that I blanked out the company
domain.

HOST=%sac-p* SERVICE=* EXSERVICE=conn
        MAIL user-1d4faaf71e14@xymon.invalid COLOR=red,yellow
list Henrik Størner · Fri, 4 Mar 2005 07:50:28 +0100 ·
quoted from Brian Lynch
On Thu, Mar 03, 2005 at 08:01:44PM -0800, Brian Lynch wrote:
Has anyone seen the problem where 'MAIL' recipients receive messages
with no subject?  Am I missing a configuration option here?  Note that
alerts are sent fine, but the subject is empty.
Let me guess: You're running Hobbit on Solaris, right ?

Change the MAIL command in etc/hobbitserver.cfg to be "mailx". The
Solaris "mail" command doesn't support the "mail -s SUBJECT" syntax
used by Hobbit.


Regards,
Henrik
list Brian Lynch · Thu, 3 Mar 2005 23:22:08 -0800 ·
Thanks, Henrik.  That was the problem. 
- Brian
quoted from Henrik Størner

On Fri, 4 Mar 2005 07:50:28 +0100, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Thu, Mar 03, 2005 at 08:01:44PM -0800, Brian Lynch wrote:
Has anyone seen the problem where 'MAIL' recipients receive messages
with no subject?  Am I missing a configuration option here?  Note that
alerts are sent fine, but the subject is empty.
Let me guess: You're running Hobbit on Solaris, right ?

Change the MAIL command in etc/hobbitserver.cfg to be "mailx". The
Solaris "mail" command doesn't support the "mail -s SUBJECT" syntax
used by Hobbit.

Regards,
Henrik

list Lars Ebeling · Fri, 4 Mar 2005 08:31:41 +0100 (CET) ·
The same goes for HP-UX
 
Regards
Lars

Brian Lynch <user-0420823115a8@xymon.invalid> wrote:

Från: Brian Lynch[SMTP:user-0420823115a8@xymon.invalid]
Skickat: den 4 mars 2005 08:22:08
Till: user-ae9b8668bcde@xymon.invalid
Ämne: Re: [hobbit] missing subjects on alert emails
Automatiskt vidarebefordrat av en regel
quoted from Brian Lynch
Thanks, Henrik. That was the problem. 

- Brian

On Fri, 4 Mar 2005 07:50:28 +0100, Henrik Stoerner wrote:
On Thu, Mar 03, 2005 at 08:01:44PM -0800, Brian Lynch wrote:
Has anyone seen the problem where 'MAIL' recipients receive messages
with no subject? Am I missing a configuration option here? Note that
alerts are sent fine, but the subject is empty.
Let me guess: You're running Hobbit on Solaris, right ?

Change the MAIL command in etc/hobbitserver.cfg to be "mailx". The
Solaris "mail" command doesn't support the "mail -s SUBJECT" syntax
used by Hobbit.

Regards,
Henrik