Forums

matthieu
matthieu
Offline
Resolved
0 votes
Hi,

This morning one of our wireless link went mad and the connection became slow with >25% lost packets and >500ms ping responses. However this wasn't detected by the Multi-Wan module which didn't failover the backup connection.

What's the way of detecting a failing connection on Clearos ? Is there a way to configure the thresholds ?

Thanks for your insight.

Matthieu
Monday, December 05 2016, 03:06 PM

Location [ View Larger Map ]

http://maps.googleapis.com/maps/api/staticmap?center=50.8503396,4.351710300000036&language=en&maptype=roadmap&zoom=5&size=450x300&sensor=true&markers=color:red|label:S|50.8503396,4.351710300000036
Share this post:
Responses (4)
  • Accepted Answer

    Tuesday, December 06 2016, 10:12 AM - #Permalink
    Resolved
    0 votes
    @matthieu - you could put in a feature request for more fine grained control over multi-wan like round trip stats, or packet loss
    The reply is currently minimized Show
  • Accepted Answer

    matthieu
    matthieu
    Offline
    Monday, December 05 2016, 09:46 PM - #Permalink
    Resolved
    0 votes
    Thanks all !

    i guess that this kind of instability cannot be detected by this quite basic implementation.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, December 05 2016, 09:25 PM - #Permalink
    Resolved
    0 votes
    My post has been eaten :(

    Have a look in /usr/sbin/syswatch. It is in perl and uses the Net::Ping library. I can't do perl, but it looks like it has a hard-coded 5s timeout. You could try changing it (3 places).
    The reply is currently minimized Show
  • Accepted Answer

    Monday, December 05 2016, 07:35 PM - #Permalink
    Resolved
    0 votes
    The options can be configured in /etc/syswtach

    Here you can change the server that is pinged, number of retries, time between pings etc

    [root@cos ~]# cat /etc/syswatch
    # This is the configuration file for the syswatch daemon
    # ** no extra spaces please **
    #------------------------------------------------------------------------------

    # Connection type
    # - values: dhcp, static, or pppoe

    conntype=static


    # Server type
    # - values: gateway, onlan

    servtype=gateway


    # Heartbeat
    # - Number of times we ping between writing a "heartbeat" in the log file
    # - default: 10

    heartbeat=10


    # Retries
    # - Number of times we should ping before we call the network "down"
    # - default: 5

    retries=5


    # Ping interval
    # - Interval time (in seconds) between test pings
    # - default: 60

    interval=60


    # Failed interval
    # - Time (in seconds) between pings when Internet is down
    # - default: 15

    failedinterval=15


    # Firewall
    # - Command that restarts the firewall
    # - default: "/etc/rc.d/init.d/firewall restart >/dev/null"

    #firewall="/etc/rc.d/init.d/firewall restart >/dev/null"


    # Ping servers
    # - The syswatch daemon by default will just ping the next hop on the Internet
    # and another device. You can override this with a comma separated list of
    # 2 servers.

    ping_servers=8.8.8.8
    The reply is currently minimized Show
Your Reply