Forum Discussion

Santavi_241428's avatar
Santavi_241428
Icon for Nimbostratus rankNimbostratus
Apr 23, 2016

Configuring the BIG-IP system to deliver locally generated email messages without using DNS

HI all,

 

I need to configure the certificate expiration alert before one month or 45 days.

 

Can anybody please help me how to configure the same on LTM?

 

My all LTM are in version 10.2.X codes.

 

Kindly let me know if there is any way we can configure the same..

 

I want to send those alerts on my technical team group mail box......

 

We have followed numerous support article as follows: "Configuring the BIG-IP system to deliver locally generated email messages without using DNS" https://support.f5.com/kb/en-us/solutions/public/7000/300/sol7365 .html

 

"Configuring the BIG-IP system to deliver locally generated email messages (9.x - 10.x)"

 

https://support.f5.com/kb/en-us/solutions/public/3000/600/sol3664 .html

 

"Configuring custom SNMP traps" https://support.f5.com/kb/en-us/solutions/public/3000/700/sol3727 .html

 

We have created following alert

 

[xyz@LB:Active] config more user_alert.conf alert CERTIFICATE_EXPIRED "Certificate (.*) expired" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.300"; email toaddress="abc@example.com" body="Certificate Expired on " }

 

alert CERTIFICATE_WILL_EXPIRE "Certificate (.*) will expire" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.301"; email toaddress="abc@example.com" body="Certificate will Expire on " } [xyz@LB:Active] config pwd /config

 

We could see the certificate expired alert is generated on the box:

 

Run the 5checkcert script by typing the following command:

 

/etc/cron.weekly/5checkcert

we are getting following message on mailq.

 

(Host or domain name not found. Name service error for name=stewart.com type=MX: Host not found, try again) abc@example.com....................Please help on sam