If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
This isn't the best solution, but it works for what I need. I use the script function.
I created a "user" called script, in my actions I send the variables I need in the MESSAGE body (eg {HOSTNAME}), the user media is configured as a script. When the script is called, it passes along the message defined in the body of the Action.
On the script side I use $1 $2 ect to pull in the values. If the alert is ON I send myself an email every x minutes. If XX amount of time goes by without the alert being fixed, it starts emailing others. If the alert is OFF it stops sending alerts.
Its horribly messy, but there are a few systems that just can not be down for long. If you really want to know all the details of the script , I guess I can post it all. I only recommend this if you just absolutely need them. If it is more of a luxury thing, then wait till 1.6.
Comment