Hello EVERYONE
Hey i was poking around the mailing list and i couldn't find a feasible solution to editing the emails....i understand you can change some things with the hobbit-alerts and how its plaintext,sms, ect...ect
What i am looking for is a little different.
Currently we receive emails that look like this
br><br><FONT SIZE=+2><b>User Count Check</b></FONT> (pfin)<hr> Oracle Users in pfin: 414
<br> &clear User check: Disabled
<br><br><FONT SIZE=+2><b>Tablespace Check</b></FONT> (pfin)<hr> <br> &green Tablespace pfin:ZXX totals 10.0Mb and is <B>1%</B> used. <br> &green Tablespace pfin:ZXD totals 10.0Mb and is <B>1%</B> used. <br> &green Tablespace pfin:ZPBX totals 10.0Mb and is <B>1%</B> used. <br> &green Tablespace pfin:ZPBD totals 10.0Mb and is <B>1%</B> used. <br> &green Tablespace pfin:XLEX totals 10.0Mb and is <B>1%</B> used. <br> &green Tablespace pfin:XLED totals 10.0Mb and is <B>1%</B> used. <br> &green Tablespace pfin:VERTEXOIC totals 100.0Mb and is <B>14%</B> used. <br> &green Tablespace pfin:VERTEX totals 6144.0Mb and is <B>84%
This is in html tag....and shows all the green statuses too......how can i get it to only display the link to the page and what is red......and i want a custom subject as well.........also the tags make it hideous.
I dont even know if i can........if i cannot awsome, because than i dont have to do the work and than one part of my project is finished....
Thanks everyone....
Notice: This communication is an electronic communication within the meaning of the Electronic Communications Privacy Act, 18 U.S.C. � 2510. Its disclosure is strictly limited to the recipient(s) intended by the sender of this message. This transmission and any attachments may contain proprietary, confidential, attorney-client privileged information and/or attorney work product. If you are not the intended recipient, any disclosure, copying, distribution, reliance on, or use of any of the information contained herein is STRICTLY PROHIBITED. Please destroy the original transmission and its attachments without reading or saving in any matter and confirm by return email.
DKDeckert at Hormel.com wrote:
Hello EVERYONE
Hey i was poking around the mailing list and i couldn't find a feasible solution to editing the emails....i understand you can change some things with the hobbit-alerts and how its plaintext,sms, ect...ect
What i am looking for is a little different.
What you probably really need to do is use the SCRIPT type alerts. Look at the documentation for the environment variables available to an executing alert script, and you can compose and send the email yourself with whatever format you want. You can consider taking the body message provided in one of the environment variables and, your choice, ignoring it, or using some custom awk/sed/Perl mangling to pull out only the parts you want (or at least stripping HTML). -Alan
participants (2)
-
asparks@doublesparks.net
-
DKDeckert@Hormel.com