Forum Discussion
Don_22992
Jan 28, 2008Nimbostratus
Email notification of node/vs down
I have searched for a while now, and have not found a solution.
Alertd appears to be the method of sending an email alert; how do I tell it a node is down?
Or a custom scripted monitor looked like a candidate.
I am not necessarily looking for the solution - just guidance of where to investigate further.
- hooleylistCirrostratusHello,
- mazek_59373Nimbostratus
Posted By hoolio on 01/28/2008 10:19 AM
- hooleylistCirrostratusAs far as I'm aware, you need to configure each field individually for every alert definition.
- David_20457NimbostratusAaron,
- Daniel_55334AltostratusI'd like to do the same thing. But how am I able to tell BigIP that a node is down?
- hooleylistCirrostratusYou would need to configure a monitor for the pool. If the pool member(s) fail to respond correctly to the monitor requests, the monitoring daemon, bigd, will mark the member down and a syslog event is triggered.
- Daniel_55334AltostratusThanks for your reply hoolio. I checked the links above and found that SNMP traps can be made to send email. Can a node down event generate a SNMP trap?
- hooleylistCirrostratusSure. Take a look at SOL3727 for details on how to configure alertd to trigger an email notification when a node is marked down.
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.10"; email toaddress="support@example.com" fromaddress="root@bigip.example.com" body="Pool Member Status Down!" } alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS_UP { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.11"; email toaddress="support@example.com" fromaddress="root@bigip.example.com" body="Pool Member Monitor Status Up" } alert BIGIP_MCPD_MCPDERR_NODE_ADDRESS_MON_STATUS { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.12"; email toaddress="support@example.com" fromaddress="root@bigip.example.com" body="Node Address Monitor Status Down!" } alert BIGIP_MCPD_MCPDERR_NODE_ADDRESS_MON_STATUS_UP { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.13"; email toaddress="support@example.com" fromaddress="root@bigip.example.com" body="Node Address Monitor Status Up" }
- Daniel_55334AltostratusI checked the alert.conf file on 9.3.1 and I found this.
- hooleylistCirrostratusThe email message already includes the IP address and port in the email subject. I don't think the regex is applied to the syslog message when generating the body, so I don't think the expansion you've listed will work for getting the IP:port in the email body. I think there are some wildcards you can use in the email body. but I haven't been able to find any reference to them. Maybe you could open a case with F5 Support if you want to pursue this?
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.10"; email toaddress="admin@example.com" fromaddress="root@bigip.example.com" body="Node Status Down!" }
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