[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Customizing the Alerts mails sent my hobbit
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Customizing the Alerts mails sent my hobbit
- From: Henrik Stoerner <henrik (at) hswn.dk>
- Date: Tue, 25 Mar 2008 13:43:16 +0100
- References: <2C2023F85B068F42AB3BED42FD7EB3F90431051F (at) ALPMLVEM12.e2k.ad.ge.com>
- User-agent: Mutt/1.5.15+20070412 (2007-04-11)
On Tue, Mar 25, 2008 at 06:53:14AM -0400, Thangappandi, Arun (Ge Money, consultant) wrote:
> Can any body help me; how to customize the hobbit alert mails so that it
> shows the IP of the server which we monitor instead of showing the
> hostname in it.
Use a SCRIPT instead of MAIL command in hobbit-alerts.cfg, and create a
script which composes your mail with the information you want and sends it off.
See the hobbit-alerts.cfg(5) man-page to get information about how you
extract the alert message, hostname, IP etc. to your script.
Regards,
Henrik