Forum Discussion
Email notification of node/vs down
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.
- David_DennisonNimbostratus
- keenon_49862Nimbostratusdo these still work for ver 10 and 11?
- David_DennisonNimbostratusNot sure, we moved to Nagios to do checking of our F5's. But SEC should always work. The only thing between versions would be to make sure the trap message keeps the same format between versions. If it changes, just change the regexp pattern match to mirror the new trap message accordingly.
- Huub_Dewachter1Nimbostratus
Interesting! Could you give a working example, please?
Tnx,
Huub Dewachter.
- aygitci_128716Nimbostratus
Hi All
Despite the syntax used from the document K3667, I have the error ' Feb 22 19:47:42 localhost emerg logger: Re-starting alertd'. The error is looping. I have to copy an empty user_alert.conf file in order to stop it. Below the conf added into file /config/user_alert.conf with the rights 644:alert BIGIP_LIBHAL_HALERR_BLADE_POWERED_OFF { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.119"; lcdwarn description="Blade is about to be powered off." priority="4" email toaddress="..." fromaddress="..." body="The test of this Solution worked!" }
Thanks for help
- Kevin_K_51432Historic F5 Account
Greeting,
I took a quick peek at the article and didn't notice any mention of lcdwarn or description.I removed those and it's working:
alert BIGIP_LIBHAL_HALERR_BLADE_POWERED_OFF { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.119"; email toaddress="..." fromaddress="..." body="The test of this Solution worked!" }
Hopefully those aren't necessary for you?
Kevin - aygitci_128716Nimbostratus
Thanks for your reply. Yes it's working now.
Thanks again :)
- Kevin_K_51432Historic F5 Account
Sure thing!
So, internally, TMM is picking this message up "BIGIP_LIBHAL_HALERR_BLADE_POWERED_OFF".
Then it sends the trap with that OID. You could type anything in actually.
Have you following this article for configuring the SMTP mailhub on BIG-IP?
https://support.f5.com/csp/article/K13180
Lastly, if you are using domain names, have you set up a DNS name server on BIG-IP?
Thanks,
Recent Discussions
Related Content
* 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