Hi Jade,
That seems like a fair solution.
What will be better if you do it in another file, just call it jade_email.inc.php
And copy the action table record about email and change it to jade_email.
This is because if we modify email.inc.php, the patch wont work.
Javier
[EMAIL PROTECTED] wrote:
I've implemented a very basic method of accomplishing my previous idea.
Obviously, I'm no programmer, so said method is flawed. I've placed some code inside of email.inc.php that looks for a circuit ID in an interface description, and based on regex match includes a "please contact so and so".
This is accomplishing what I want on a VERY basic level. No doubt there's a finer method.
Jade
-----Original Message-----
From: Deane, Jade E. Sent: Monday, February 28, 2005 2:38 PM
To: [email protected]
Subject: [jffnms-users] Additional information in email alert
I'd like to get input on the following scenario.
When an event occurs, and email is triggered, I'd like to see the following:
if interface description includes X, add Y to email footer.
For example, if an alarmed interface description matches a regular expression for carrier circuit ID, include carrier's NOC/trouble phone number in email.
Regards, Jade
------------------------------------------------------- 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://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
------------------------------------------------------- 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://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
