LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2014, 11:24 AM   #1
Stepman 72
LQ Newbie
 
Registered: Nov 2014
Posts: 1

Rep: Reputation: Disabled
Refining an alert notification script.


I have just written an alert notification script agent to screen logs for me. It produces an email when run. My intent is to have this send an email to a group address when conditions are met. How do I make it format the email so that it does not show up as one giant block of text? I need the email to be decipherable and intelligible to other admins that are going to be using this tool. Thanks in advance for your help.
 
Old 11-18-2014, 11:32 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,116

Rep: Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531
I'd like to mention that this is re-inventing the wheel a bit. I use 'Solarwinds Alert Central' for this very thing, and it's free.

http://www.solarwinds.com/alertcentral.aspx

Now,. if you'd still like to stick with your script, can you share an example email, and the emailing portion of your script?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alert Notification!!!!! nirmit Linux - Server 7 03-20-2009 12:45 PM
Alert Notification on OpenSuse 10.2 jeffvph Linux - Server 2 10-01-2007 12:48 AM
ideas to refining this script adam_blackice Programming 2 09-10-2007 11:43 PM
Why I get Updates Alert Notification? jassica_81 Linux - Networking 3 02-10-2006 09:34 AM
E-Mail notification to users via SMS (gateway script ok, but notification script?!?) Riku2015 Linux - Networking 10 03-08-2002 11:16 AM


All times are GMT -5. The time now is 02:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration