Forum Discussion
midhun_108442
Nimbostratus
Jan 21, 2012Configuring Syslog Server in F5 to send all logs
HI,
Kindly anyone help to configure Syslog server in F5 Box , and i need F5 to send all the logs to Syslog server .
Regards,
Midhun P.K
7 Replies
- Alscion_68122
Nimbostratus
Hi,
1. Create route (or check default gateway on management interface)
tmsh create sys management-route IP_SYSLOG gateway IP_GATEWAY_ADMIN
2. Delete previous syslog configuration (if it was)
tmsh modify sys syslog include none
3. Configure syslog (At least use this command, if you work with UDP syslog, just replace tcp by udp)
tmsh modify sys syslog include "destination remote_server {tcp(\"IP_SYSLOG\" port (514));};filter f_alllogs {level (debug...emerg);};log {source(local);filter(f_alllogs);destination(remote_server);};"
4.Commit the configuration
tmsh save sys config
Pay attention to replace IP_SYSLOG and IP_GATEWAY_ADMIN in your command.
Regards,
Als. - midhun_108442
Nimbostratus
HI ,
Thanks for the Update , Could you please tel me Were should i configure Smtp setup in F5 version 10.2 , AS i required to send log message to My mail id but F5 is sending to wrong smtp mail server , Kindly help on this - midhun_108442
Nimbostratus
HI ,
Thanks for the Update , Could you please tel me Were should i configure Smtp setup in F5 version 10.2 , AS i required to send log message to My mail id but F5 is sending to wrong smtp mail server , Kindly help on this - nitass
Employee
Could you please tel me Were should i configure Smtp setup in F5 version 10.2is this what you are looking for?
Syslog NG Email Configuration by lrhazi (Mohamed Lrhazi)
http://devcentral.f5.com/wiki/AdvDesignConfig.SyslogNGEmailConfiguration.ashx - midhun_108442
Nimbostratus
Hi,
Thanks for the Information , I am looking same as you provided , but unable to send mail when i send a test mail manually.
From the logs i can see that its sending to Different SMTP server , could you please tel me where should SMTP configuration in F5
Below are mailq logs.
mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
05CC91803E 313 Tue Jan 31 10:33:32 root@RYDGOS1GSNLB01.YESSER.EGOV
(Host or domain name not found. Name service error for name=yesser.gov.sa type=MX: Host not found, try again)
asaco.mmohan@yesser.gov.sa
Regards,
Midhun P.K - nitass
Employee
could you please tel me where should SMTP configuration in F5 it depends on software version. it is either postfix or ssmtp.
sol9445: The BIG-IP third-party software matrix
http://support.f5.com/kb/en-us/solutions/public/9000/400/sol9445.html - nitass
Employee
sol7365: Configuring the BIG-IP system to deliver locally generated email messages without using DNS
http://support.f5.com/kb/en-us/solutions/public/7000/300/sol7365.html
sol3664: Configuring the BIG-IP system to deliver locally generated email messages (9.x - 10.x)
http://support.f5.com/kb/en-us/solutions/public/3000/600/sol3664.html
sol13180: Configuring the BIG-IP system to deliver locally generated email messages (11.x)
http://support.f5.com/kb/en-us/solutions/public/13000/100/sol13180.html
hope these help.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
