Sha256: c7e7ef65360f79a2f6d091fd4c000c421d42604e00586b9181e07d4a0bd7eb07

Contents?: true

Size: 480 Bytes

Versions: 1

Compression:

Stored size: 480 Bytes

Contents

require 'bundler/setup'
require 'wifidiag'

config =   Wifidiag::Config.new(
  adapter: Wifidiag::Adapters::CiscoWlc.new(
    host: ENV.fetch('WLC_HOST'),
    community: ENV.fetch('WLC_COMMUNITY'),
  ),
  reporters: [
    ENV['WIFIDIAG_SLACK_WEBHOOK_URL'] ? Wifidiag::Reporters::Slack.new(
      webhook_url: ENV['WIFIDIAG_SLACK_WEBHOOK_URL'],
    ) : nil,
  ].compact,
  dummy_ip: ENV['WIFIDIAG_DUMMY_IP'],
)

config.collector.start_periodic_update(60)

run Wifidiag.app(config)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wifidiag-0.1.0 config.ru