Module: Arborist::SNMP

Extended by:
Loggability
Defined in:
lib/arborist/snmp.rb

Overview

Various monitoring checks using SNMP, for the Arborist monitoring toolkit.

Constant Summary collapse

VERSION =

Package version

'0.7.0'
REVISION =

Version control revision

%q$Revision$

Class Method Summary collapse

Class Method Details

.version_string(include_build: false) ⇒ Object

Return the name of the library with the version, and optionally the build ID if include_build is true.



26
27
28
29
30
# File 'lib/arborist/snmp.rb', line 26

def self::version_string( include_build: false )
	str = "%p v%s" % [ self, VERSION ]
	str << ' (' << REVISION.strip << ')' if include_build
	return str
end