[hobbit] Customizing the Alerts mails sent my hobbit

Thangappandi, Arun (Ge Money, consultant) arun.thangappandi at ge.com
Wed Mar 26 14:36:31 CET 2008


Can any body please help me in this? Waiting for reply.

 

Thanks & Regards,

Arunkumar 

________________________________

From: Thangappandi, Arun (Ge Money, consultant) 
Sent: Wednesday, March 26, 2008 3:35 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] Customizing the Alerts mails sent my hobbit

 

Thanks for the great help.

 

But I now when I get the alerts it displays some thing like this in the
body of the message.

"red <!-- [flags:ordastLe] --> Wed Mar 26 05:51:19 2008 smtp NOT ok"

I have marked the same in red can I know what I am missing due to which
I am getting junk. Please help in the same.

 

Another question is that when I include the variable MACHIP in my script
to display the same in the subject it shows the IP address with out any
dots in between.

 

For example 2.100.221.12 it displays as 002100221012,can any help in
trouble shooting this also.

 

Waiting for some body to reply.

 

Thanks & Regards,

Arunkumar 

 

-----Original Message-----
From: Benjamin P. August [mailto:baugust at stanford.edu] 
Sent: Tuesday, March 25, 2008 11:06 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] Customizing the Alerts mails sent my hobbit

 

I hacked up the smsplus script a little (to use a different subject  

line) and we use it here. It's a winner.

 

-- 

--Ben

Benjamin P. August

System Administrator - VPUE

Stanford University

 

 

Quoting Galen Johnson <Galen.Johnson at sas.com>:

 

> There's an example script on The Shire for sms pages:    

> http://www.trantor.org/theshire/doku.php/alerts:smsplus

> 

> =G=

> 

> -----Original Message-----

> From: Thangappandi, Arun (Ge Money, consultant)   

> [mailto:arun.thangappandi at ge.com]

> Sent: Tuesday, March 25, 2008 1:07 PM

> To: hobbit at hswn.dk; henrik at hswn.dk

> Subject: RE: [hobbit] Customizing the Alerts mails sent my hobbit

> 

> Can you please give me an example script,because I can take forward
from

> easily.

> 

> Thanks & Regards,

> Arunkumar

> -----Original Message-----

> From: Henrik Stoerner [mailto:henrik at hswn.dk]

> Sent: Tuesday, March 25, 2008 6:13 PM

> To: hobbit at hswn.dk

> Subject: Re: [hobbit] Customizing the Alerts mails sent my hobbit

> 

> 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

> 

> 

> To unsubscribe from the hobbit list, send an e-mail to

> hobbit-unsubscribe at hswn.dk

> 

> 

> 

> To unsubscribe from the hobbit list, send an e-mail to

> hobbit-unsubscribe at hswn.dk

> 

> 

> 

> To unsubscribe from the hobbit list, send an e-mail to

> hobbit-unsubscribe at hswn.dk

> 

> 

> 

 

 

 

To unsubscribe from the hobbit list, send an e-mail to

hobbit-unsubscribe at hswn.dk

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080326/21eae365/attachment.html>


More information about the Xymon mailing list