Sha256: cf7171ef05018eeb2294670d4811dcc082a0adf0bad8444fa5153b425401e41d

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

module Perus
    module Pinger
        Dir.chdir(__dir__) do
            # commands
            require './pinger/command'
            require './pinger/chrome_command'
            require './pinger/commands/chrome_execute'
            require './pinger/commands/chrome_navigate'
            require './pinger/commands/chrome_reload'
            require './pinger/commands/kill_process'
            require './pinger/commands/remove_path'
            require './pinger/commands/replace'
            require './pinger/commands/restart'
            require './pinger/commands/upload'
            require './pinger/commands/upgrade'
            require './pinger/commands/script'
            require './pinger/commands/sleep'
            require './pinger/commands/upstart_start'
            require './pinger/commands/upstart_stop'

            # metrics
            require './pinger/metrics/chrome'
            require './pinger/metrics/cpu'
            require './pinger/metrics/hd'
            require './pinger/metrics/mem'
            require './pinger/metrics/process'
            require './pinger/metrics/screenshot'
            require './pinger/metrics/temp'
            require './pinger/metrics/value'
            require './pinger/metrics/uptime'
            require './pinger/metrics/running'

            # pinger
            require './pinger/pinger'
        end

        # options file
        DEFAULT_PINGER_OPTIONS_PATH = '/etc/perus-pinger'
    end

    Pinger::Pinger.new.run if __FILE__ == $0
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
perus-0.1.7 lib/perus/pinger.rb