Fixing Nagios' email alerts

Phil Dibowitz phil at usc.edu
Fri Oct 8 20:47:19 CEST 2004


On Fri, Oct 08, 2004 at 08:07:04AM -0500, C. Bensend wrote:
> 
> > This is a repost, but is there a way to make Nagios set a "Subject" and a
> > "To"
> > field in it's email alerts?
> 
> Incredible lack of details there, like the operating system you're running.
> 
> However, I'm going to assume you're on a commercial UNIX, and recommend
> you take a look at 'mailx' instead of 'mail' in your *notify-by-email
> commands (misccommands.cfg).
> 

As soon as I found the misccomands.cfg definition for notify-by-email I saw it
was mail and changed it to mailx and that makes things work MUCH better. Yeah,
solaris.

I don't know why I didn't find that a few weeks ago when I looked -- I guess I
grep'd for 'sendmail' or something silly like that.


-- 
Phil Dibowitz
Systems Architect and Administrator
Enterprise Infrastructure / ISD / USC
UCC 174 - 213-821-5427

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041008/8b4555ce/attachment.sig>


More information about the Users mailing list