Sha256: 62750d686d3f4d44a028f1a874af0e160436751be57be0a1b5dac60b860cbb6f

Contents?: true

Size: 463 Bytes

Versions: 2

Compression:

Stored size: 463 Bytes

Contents

# frozen_string_literal: true

require 'socket'

require 'puma'
require 'rack'
require 'sinatra'
require 'oj'
require 'multi_json'

ENV['telemetry_snmp_amqp_nodes'] = 'apvrs33012'
ENV['telemetry_snmp_amqp_username'] = 'snmp'
ENV['telemetry_snmp_amqp_password'] = 'snmp'
ENV['telemetry_snmp_amqp_port'] = '8080'
ENV['telemetry_snmp_amqp_vhost'] = 'telegraf'

require 'telemetry/snmp'
require 'telemetry/snmp/api'
Telemetry::Snmp.bootstrap
run Telemetry::Snmp::API

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telemetry-snmp-0.3.0 config.ru
telemetry-snmp-0.2.0 config.ru