Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Autoclear

    When a link goes down, a down event will appear in the live event browser. With the autoclear feature turned on, when link comes back up, the up event can be configured to clear the down event automatically.

    Our system will check the reachability of a node every 1 minute in the background. If a node is unreachable, an event will be published to the event browser. With the autoclear feature turned on, when the node becomes reachable, this reachability event can be configured to clear the unreachable event automatically.

    In order to configure autoclear, the autoclear rule pair must be defined in the file /u/wandl/db/config/autoclearpairing.csv. The following are the two cases mentioned above to autoclear linkDown event when there is a linkUp event, and to automatically clear UnreachableError event with DeviceReachable event.

    #downevent,upevent
    UnreachableError,DeviceReachable
    linkDown,linkUp

    Start up the autoclear process for it to take effect:

    bash-3.00$ /u/wandl/bin/.autoclear
    Starting AutoClearServer
    AutoClearServer started (pid=2584)

    Stop autoclear using the command “./.autoclear stop”

    bash-3.00$ /u/wandl/bin/.autoclear stop
    Stopping AutoClearServer

    Modified: 2016-11-08