lib/arborist/monitor/fping.rb
changeset 4 1801334b8dc4
parent 1 69f2ba4d4d93
child 5 6cf2c60c80f7
equal deleted inserted replaced
3:1c195ed0a049 4:1801334b8dc4
     9 #    require 'arborist/monitor/fping'
     9 #    require 'arborist/monitor/fping'
    10 #
    10 #
    11 #    Arborist::Monitor 'ping check' do
    11 #    Arborist::Monitor 'ping check' do
    12 #        every 20.seconds
    12 #        every 20.seconds
    13 #        match type: 'host'
    13 #        match type: 'host'
    14 #        include_down true
       
    15 #        use :addresses
       
    16 #        exec 'fping', '-e', '-t', '150'
    14 #        exec 'fping', '-e', '-t', '150'
    17 #        exec_callbacks( Arborist::Monitor::FPing )
    15 #        exec_callbacks( Arborist::Monitor::FPing )
    18 #    end
    16 #    end
    19 
    17 
    20 
    18