Hi Craig,
Can you send me the db records you use with this, so I can include it in 0.8.0 ?
Javier
Craig Small wrote:
On Thu, Sep 09, 2004 at 12:03:43PM -0400, Jason Humes wrote:
So I need to customize the email alerts so that they can be sent via a text pager and I need to trim down what jffnms sends. So I'm looking at the email file under /opt/jffnms/actions, but this file seems too complex for me to follow. I just want an email that says <Host><OutageType><Status><Time> as an example...none of the Hello 'username' stuff...anyone have an idea as to how I can clean up this email file. Thanks.
What we use for pagers is another action that uses email.php There is a flag called short, which makes the message smaller.
Alternatively, copy email.php to some other filename, eg pager.php
The basically change the function. The idea is to have a variable called $body that has whatever you want. Hmm.... like the attached file.
- Craig
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]
I hope JFFNMS or I were helpful to you, if you can, please donate at http://jffnms.org/donate
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users