Forum Discussion

midhun_108442's avatar
midhun_108442
Icon for Nimbostratus rankNimbostratus
Jan 21, 2012

Configuring 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

 

  • 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.
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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.