OID Assignments in 1.3.6.1.4.1.9163:           Chapter:FastBack: MYSQL-STAT-MIB.txt   Up: Top   FastForward: OWS-STATS.txt   Contents: Table of Contents

Appendix F TALLYMAN-MIB.txt

This MIB is used by the tallyman package. Tallyman is an SNMP monitor for docker containers. It is avaialable from https://puszcza.gnu.org.ua/projects/tallyman.

The most recent version of this MIB is available from http://git.gnu.org.ua/cgit/tallyman.git/tree/src/TALLYMAN-MIB.txt.

Base OID: 1.3.6.1.4.1.9163.103

TALLYMAN-MIB DEFINITIONS ::= BEGIN

-- *************************************************************
--
-- Docker service MIBS
--
-- *************************************************************

IMPORTS
	MODULE-IDENTITY, OBJECT-TYPE, enterprises, Integer32, Counter64,
		Gauge32
		FROM SNMPv2-SMI
	TEXTUAL-CONVENTION, TimeStamp, DateAndTime
		FROM SNMPv2-TC
	OBJECT-GROUP, MODULE-COMPLIANCE
	        FROM SNMPv2-CONF;

tallyman MODULE-IDENTITY
        LAST-UPDATED "201806052216Z"
	ORGANIZATION "Gray Software"
	CONTACT-INFO "Sergey Poznyakoff <gray@gnu.org>"
	DESCRIPTION
	        "This MIB module defines objects for Docker service statistics."
	REVISION "201806052216Z"
	DESCRIPTION
	        "First revision."
	::= { enterprises 9163 103 }

services      OBJECT IDENTIFIER       ::= { tallyman 1 }

servicesUpTime	OBJECT-TYPE
        SYNTAX TimeStamp
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Total uptime of the Stevedore server."
     	::= { services 1 }

servicesTotal	OBJECT-TYPE
        SYNTAX Gauge32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of configured services."
     	::= { services 2 }

servicesRunning	OBJECT-TYPE
        SYNTAX Gauge32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of running services."
     	::= { services 3 }

ServiceNameString ::= TEXTUAL-CONVENTION
	DISPLAY-HINT "128t"
	STATUS current
	DESCRIPTION "A string containing service name."
        SYNTAX OCTET STRING (SIZE (0..128))

InstanceNameString  ::= TEXTUAL-CONVENTION
	DISPLAY-HINT "256t"
	STATUS current
	DESCRIPTION "A string containing service instance name."
        SYNTAX OCTET STRING (SIZE (0..256))

ServiceEntry ::=	     SEQUENCE {
	serviceIndex		Integer32,
	serviceName		ServiceNameString,
	serviceInstances	Gauge32
}	

serviceTable   	     OBJECT-TYPE
        SYNTAX  SEQUENCE OF ServiceEntry
	MAX-ACCESS not-accessible
	STATUS  current
	DESCRIPTION
	        "Service table."
	::= { services 4 }

serviceEntry          OBJECT-TYPE
        SYNTAX	   ServiceEntry
	MAX-ACCESS not-accessible
	STATUS	   current
	DESCRIPTION
	        "An entry (conceptual row) describing a service."
	INDEX { serviceIndex }
	::= { serviceTable 1 }

serviceIndex	        OBJECT-TYPE
        SYNTAX  Integer32 (0..65535)
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION
	        "A number uniquely identifying each service."
	::= { serviceEntry 1 }

serviceName		OBJECT-TYPE
        SYNTAX ServiceNameString
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "The name of the service."
     	::= { serviceEntry 2 }

serviceInstances	OBJECT-TYPE
        SYNTAX Gauge32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of running instances in this service."
     	::= { serviceEntry 3 }

InstanceState ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION
            "Represents a state of the instance."
    SYNTAX       INTEGER { stopped(0), running(1), expired(2), error(3) }

InstanceErrorMessage ::= TEXTUAL-CONVENTION
    DISPLAY-HINT "1024t"
    STATUS       current
    DESCRIPTION "Error text associated with an instance."
    SYNTAX       OCTET STRING (SIZE (0..1024))

InstanceEntry ::=	     SEQUENCE {
	instanceIndex		Integer32,
	instanceName		InstanceNameString,
	instanceService         ServiceNameString,
	instanceState		InstanceState,
	instanceTimeStamp	DateAndTime,
	instanceErrorMessage	InstanceErrorMessage
}	

instanceTable   	     OBJECT-TYPE
        SYNTAX  SEQUENCE OF InstanceEntry
	MAX-ACCESS not-accessible
	STATUS  current
	DESCRIPTION
	        "Instance table."
	::= { services 5 }

instanceEntry          OBJECT-TYPE
        SYNTAX	   InstanceEntry
	MAX-ACCESS not-accessible
	STATUS	   current
	DESCRIPTION
	        "An entry (conceptual row) describing an instance."
	INDEX { instanceIndex }
	::= { instanceTable 1 }

instanceIndex	        OBJECT-TYPE
        SYNTAX  Integer32 (0..65535)
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION
	        "A number uniquely identifying each instance."
	::= { instanceEntry 1 }

instanceName		OBJECT-TYPE
        SYNTAX InstanceNameString
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "The name of the instance."
     	::= { instanceEntry 2 }

instanceService		OBJECT-TYPE
        SYNTAX ServiceNameString
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "The name of the instance."
     	::= { instanceEntry 3 }

instanceState	OBJECT-TYPE
	SYNTAX InstanceState
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
		"State of the instance"
	::= { instanceEntry 4 }

instanceTimeStamp	OBJECT-TYPE
	SYNTAX	DateAndTime
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
		"Time of the last successful probe"
	::= { instanceEntry 5 }

instanceErrorMessage	OBJECT-TYPE
	SYNTAX InstanceErrorMessage
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
		"If instanceState is error(3), error message
	         associated with this instance"
	::= { instanceEntry 6 }
	

END

-- Local variables:
-- eval: (add-hook 'write-file-hooks 'time-stamp)
-- time-stamp-start: "\\(LAST-UPDATED\\|REVISION\\)  *\""
-- time-stamp-end: "\""
-- time-stamp-format: "%:y%02m%02d%02H%02MZ"
-- time-stamp-line-limit: 32
-- time-stamp-count: 2
-- end: