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

Appendix D SESSION-STATS.txt

This MIB is used by the NetSNMP::PHPSession module, which provides statistics about the usage of PHP session files. The module is Linux-specific. Although it is widely used on servers of Norse Digital, I feel that it is too specific to merit any interest. Therefore I have never published it. Quite possibly the module would phase out some of these days, and the OID will be reused for some other purpose.

Base OID: 1.3.6.1.4.1.9163.101

SESSION-STATS DEFINITIONS ::= BEGIN

-- *************************************************************
--
-- PHP session statistics MIB
--
-- *************************************************************

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

phpsession MODULE-IDENTITY
        LAST-UPDATED "201604141630Z"
	ORGANIZATION "Gray Software"
	CONTACT-INFO "Sergey Poznyakoff <gray@gnu.org>"
	DESCRIPTION
	        "This MIB module defines objects for PHP session statistics."
	REVISION "201604141630Z"
	DESCRIPTION
	        "First revision."
	::= { enterprises 9163 101 }

totalSessionFiles        OBJECT-TYPE
        SYNTAX  Integer32 (0..65535)
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of session files in use."
	::= { phpsession 1 }

totalSessionProcesses    OBJECT-TYPE
        SYNTAX  Integer32 (0..65535)
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Total number of processes using the session files."
	::= { phpsession 2 }

avgProcessesPerSession	OBJECT-TYPE
	SYNTAX Integer32 (0..65535)
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Average number of processes using a singe session,
		 rounded to the nearest integer digit."
	::= { phpsession 3 }

maxProcessesPerSession	OBJECT-TYPE	
	SYNTAX Integer32 (0..65535)
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Maximum number of processes using a singe session."
	::= { phpsession 4 }

mostUsedSessionFile	OBJECT-TYPE
	SYNTAX	DisplayString	(SIZE(0..1024))
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Name of the session file corresponding to
		 maxProcessesPerSession value."
	::= { phpsession 5 }

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: