Forum Discussion
Can I add the SMTP server in System –configuration- devices- SMTP and edit the add the following to /config/user_alert.conf: System ›› Configuration : Device : SMTP ›› New SMTP Configuration...
Yes, create pool of SMTP server & set alert of pool_name
Can i use Google or any free SMTP address?
Do you have access from LB to free SMTP server?
YES/NO
, If YES then you can use external Free SMTP server & LB will send mail to you.
alert BIGIP_MCPD_MCPDERR_POOL_MEMBER_MON_STATUS {
snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.10";
email toaddress="test@gmail.com"
fromaddress="root"
body="A pool member health check has failed."
}
follow the article
- SP_266134Dec 20, 2017Nimbostratus
Hi , What do you mean by pool of smtp server, do you mean to create fill the smtp section with the server name, not create a pool in F5 for lb. My test f5 is in the dmz so i will have access to it to use google smtp for testing. One more question ? snmptrap OID is this ID self generated or system generated. What does it correspond to.?
- Samir_Jha_52506Dec 20, 2017Noctilucent
What do you mean by pool of smtp server?
We create pool for VIP right, same way we have to create pool for smtp servers. so that it will monitor & update the status to
file. This is for monitoring purpose of smtp_pooluser_alert.conf
Do you mean to create fill the smtp section with the server name, not create a pool in F5 for lb. ---> update the smtp server here "System ›› Configuration : Device : SMTP ›› New SMTP Configuration"
snmptrap OID is this ID self generated or system generated. What does it correspond to.? A numeric identifier that indicates the location of an object within the MIB tree. Each object defined in the MIB has a unique OID as per F5, written as a series of integers.
- SP_266134Dec 21, 2017Nimbostratus
I can create a pool and add the smtp server as the node and add a health monitor to it. What I am not sure is how to make it update the status to the user_alert.config . Where do i configure that.
- Samir_Jha_52506Dec 21, 2017Noctilucent
Did you get chance to see article which I had pasted in previous answer. Go go /config directory, edit n update alert comments in user_alert.conf.
- SP_266134Dec 21, 2017Nimbostratus
hi , I made the smtp changes and tested OK. I have trouble in going to /config directory. I logged into putty , it pwd is /common. I do not know how to change the directory to go to /config . when i try CD '/config' it says i /common/config not found. I tries ls-l but in vain. How can i get to the user_alert.conf file and edit.
tried this cp '/config/user_alert.conf' '/config/user_alert.conf.SOL3667' says unexpected argument. Syntax error.
Any suggestions.
- Samir_Jha_52506Dec 21, 2017Noctilucent
After login to F5 via CLI. Go to
modebash
cd /root --> Go to root direcory cd /config --> Go to /config dir ls -l --> check the file
- SP_266134Dec 21, 2017Nimbostratus
Thanks much, i was able to get to here, now sorry another basic question form putty how can i edit the user_alert config. When i test echo echo "ssmtp test mail" | mail -vs "Test email " abcs@gmail.com i get cannot open localhost.. But when i configured the SMTP via the portal devices smtp configuration , i gave the same smtp address as local host address and test , it connected successfully. What am i doing wrong.