lib/arborist/snmp.rb
author Katelyn Schiesser <kschiesser@laika.com>
Thu, 18 Apr 2019 11:59:38 -0700
changeset 21 58e70e52f817
parent 20 00a38d493f2c
child 24 0224c1cd2094
permissions -rw-r--r--
Added tag v0.6.0 for changeset 00a38d493f2c

# -*- ruby -*-
#encoding: utf-8

require 'loggability'
require 'arborist'


# Various monitoring checks using SNMP, for the Arborist monitoring toolkit.
module Arborist::SNMP
	extend Loggability

	# Loggability API -- set up a log host for this library
	log_as :arborist_snmp


	# Package version
	VERSION = '0.6.0'

	# Version control revision
	REVISION = %q$Revision$


	### Return the name of the library with the version, and optionally the build ID if
	### +include_build+ is true.
	def self::version_string( include_build: false )
		str = "%p v%s" % [ self, VERSION ]
		str << ' (' << REVISION.strip << ')' if include_build
		return str
	end


	require 'arborist/monitor/snmp'

end # module Arborist::SNMP