Home Forums HAast (High Availability for Asterisk) Configuration & Optimization Sensor for failover on network cable disconnected

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Avatar photoCustomer Inquiry
    Member
    Post count: 197

    I have HAAst running well and it detect all types of failures internal the PBX. I know want to add sensors to monitor external items like the network cable to my PBX (i.e. if I unplug it I want my PBX to failover to the peer). Once this works I will want to monitor my firewall, and the ITSP. Can you give me an example of each of these as sensors?

    Avatar photoTelium Support Group
    Member
    Post count: 258

    I have included a sample sensor below using ping, which will test if your NIC is down or the cable is unplugged. The basic idea is to test reachability for the item after the item you want tested; so to test your cable ping the firewall.

    Instead of creating 3 sensors (cable, firewall, ITSP) you can actually combine them into a single sensor which I’ll call ‘route-to-itsp’. By checking the entire path in one sensor you test all of the items along the way:

    ; Ensure connection to ITSP is ok including NIC, cables, router, gateway, and ITSP
    route-to-itsp/description=Connection to ITSP
    route-to-itsp/type=ping
    route-to-itsp/input=received
    route-to-itsp/parameters=Count: 5 | interface:eth1 | host: 173.239.164.41
    route-to-itsp/scoring=

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.