module Arborist::SNMP

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

Constants

REVISION

Version control revision

VERSION

Package version

Public Class Methods

version_string( include_build: false ) click to toggle source

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

# File lib/arborist/snmp.rb, line 25
def self::version_string( include_build: false )
        str = "%p v%s" % [ self, VERSION ]
        str << ' (' << REVISION.strip << ')' if include_build
        return str
end