James_41261
Jan 17, 2012Nimbostratus
Automated setup of SNMP alerts
What is needed:
A way to generate alert emails when a node or pool member reports a down or disabled status containing information on which node and pool(s) are affected on the LTM.
What I'm trying to do:
I know I can setup a custom SNMP alert in user_alert.conf per node/pool that has the custom info I need preset in the body field; issue is we have A Lot of nodes and pools setup and was looking for a way to just pull node and pool info from the LTM config into a script which could then generate and write the alert entries into the user_alert.conf. This would save a lot of repetitive typing (reducing the chance of typos) and could possibly role into a cron job that would check if any new nodes/pools were added and auto create an alert entry. Looking for something that could be ran on the LTMs themselves, not dependent on another device.
Anyone have any scripts or processes to share?