Forum Discussion
klepalle_51548
Nimbostratus
Jul 16, 2010using variable in user_alert.conf
Hi
I have a couple of bigip acting as a redundant pair.
I configured user_alert.conf to send email when a failover occurs.
Failover Standby alert BIGIP_SOD_SODERR_SOD_STANDBY {
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.14";
email toaddress="admin@domain.com"
fromaddress="bigip1@example.com"
body="Alert bigip became standby"
}
Failover Active alert BIGIP_SOD_SODERR_SOD_ACTIVE {
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.15";
email toaddress="admin@domain.com"
fromaddress="bigip1@example"
body="Alert bigip became active"
}
The file user_alert.conf is synchronized via the HA so when a failover occurs, I receive 2 emails with the same fromaddress : one says active and the other says standby. I tried to insert the variable $HOSTNAME in the body to know which device really became active but the variable was not resolved.
Do you have an idea?
Thanks
- hoolio
Cirrostratus
Hi, - klepalle_51548
Nimbostratus
Hi - hoolio
Cirrostratus
Hi Kevin,
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects