Forum Discussion
Spike_Henning_8
Nimbostratus
Oct 31, 2005How to sniff node down
How can I get the LTM to notify me when it detects a node down? So far, the first I know about it is when both nodes are down so the pool is unavailable causing the F5 to redirect requests to an outage URL. I'm only worried about http, but it seems I cannot create a node specific http monitor.
Any suggestions?
- Spike_Henning_8
Nimbostratus
Thanks for your response. It looks like the answer I was looking for is the BIGIP_MCPD_MCPDERR_NODE_ADDRESS_MON_DOWN event. I didn't find it anywhere in the documentation regarding nodes. I wanted to find a NODE_DOWN event in iRules that I could program around to send me the notification when that event was raised and judging from the name I'll assume that's it. - JRahm
Admin
I haven't tried this, but you could use something like this (I think you need version 9.2 for the LB::status query): - Colin_Walker_12Historic F5 AccountYou're close...
when LB_FAILED { if { [LB::status pool member ] eq "down" } { log "Server $ip $port down!" } }
- Spike_Henning_8
Nimbostratus
I can't seem to find a good reference for things like LB::status and BIGIP_MCPD_MCPDERR_NODE_ADDRESS_MON_DOWN so I can see what all I can do with iRules. Could you please point me in the right direction? You are correct about using version 9.2 for the LB::Status though. I'd downloaded documentation for 9.0 and have been referring to it and find that it doesn't discuss querying Node Status. I still haven't seen anything about BIGIP_MCPD_MCPDERR_NODE_ADDRESS_MON_DOWN though so there's still some documentation around that I haven't uncovered.
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