--
-- OSSP snmpdx - SNMP Daemon Extension
-- Copyright (c) 2003-2007 The OSSP Project
-- Copyright (c) 2003-2007 Ralf S. Engelschall
-- Copyright (c) 2003-2005 Cable & Wireless
--
-- This file is part of OSSP snmpdx, a SNMP daemon extension which
-- can be found at http://www.ossp.org/pkg/tool/snmpdx/.
--
-- This program is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version
-- 2.0 of the License, or (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this file; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-- USA, or contact Ralf S. Engelschall .
--
-- snmpdx.mib: Management Information Base (MIB)
--
snmpdx DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
Integer32, Counter32, Gauge32, TimeTicks
FROM SNMPv2-SMI
TEXTUAL-CONVENTION, DisplayString, DateAndTime
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF;
org OBJECT IDENTIFIER ::= { iso 3 } -- iso = 1
dod OBJECT IDENTIFIER ::= { org 6 }
internet OBJECT IDENTIFIER ::= { dod 1 }
private OBJECT IDENTIFIER ::= { internet 4 }
enterprises OBJECT IDENTIFIER ::= { private 1 }
cw OBJECT IDENTIFIER ::= { enterprises 4007 }
snmpdx OBJECT IDENTIFIER ::= { cw 42 }
host OBJECT IDENTIFIER ::= { snmpdx 1 }
hardware OBJECT IDENTIFIER ::= { host 1 }
system OBJECT IDENTIFIER ::= { host 2 }
software OBJECT IDENTIFIER ::= { host 3 }
--
-- System Identification
--
sysId OBJECT IDENTIFIER
::= { system 1 }
sysIdHostid OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "unique host identification of system"
::= { sysId 1 }
sysIdHostname OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "fully qualified host name of system"
::= { sysId 2 }
--
-- System Virtual Memory
--
sysVM OBJECT IDENTIFIER
::= { system 2 }
sysVMRam OBJECT IDENTIFIER
::= { sysVM 1 }
sysVMRamMax OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "maximum available RAM in MB"
::= { sysVMRam 1 }
sysVMRamUsed OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "currently used RAM in MB"
::= { sysVMRam 2 }
sysVMRamFree OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "currently free RAM in MB"
::= { sysVMRam 3 }
sysVMSwap OBJECT IDENTIFIER
::= { sysVM 2 }
sysVMSwapMax OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "maximum available Swap in MB"
::= { sysVMSwap 1 }
sysVMSwapUsed OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "currently used Swap in MB"
::= { sysVMSwap 2 }
sysVMSwapFree OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "currently free Swap in MB"
::= { sysVMSwap 3 }
sysVMActivity OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "paging activity in units/time"
::= { sysVM 3 }
--
-- System Load Average
--
sysLoad OBJECT IDENTIFIER
::= { system 3 }
sysLoad5 OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "load average during last 5 minutes"
::= { sysLoad 1 }
sysLoad10 OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "load average during last 10 minutes"
::= { sysLoad 2 }
sysLoad15 OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "load average during last 15 minutes"
::= { sysLoad 3 }
--
-- System Processes
--
sysProc OBJECT IDENTIFIER
::= { system 4 }
sysProcMax OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "number of process contexts maximum possible"
::= { sysProc 1 }
sysProcActive OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "number of process contexts currently active"
::= { sysProc 2 }
--
-- System Users
--
sysUser OBJECT IDENTIFIER
::= { system 5 }
sysUserMax OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "number of logged in users maximum possible"
::= { sysUser 1 }
sysUserLoggedIn OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "number of currently logged in users"
::= { sysUser 2 }
--
-- System Uptime
--
sysUptime OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS read-only
STATUS current
DESCRIPTION "time (in hundrets of a second) since the system was booted"
::= { system 6 }
--
-- System Filesystem
--
sysFs OBJECT IDENTIFIER
::= { system 7 }
sysFsTABLE OBJECT-TYPE
SYNTAX SEQUENCE OF SysFsENTRY
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "sysFsTABLE"
::= { sysFs 1 }
sysFsENTRY OBJECT-TYPE
SYNTAX SysFsENTRY
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "sysFsENTRY"
INDEX { sysFsIndex }
::= { sysFsTABLE 1 }
SysFsENTRY ::=
SEQUENCE {
sysFsIndex Integer32,
sysFsDevice DisplayString,
sysFsMountpoint DisplayString,
sysFsMax Integer32,
sysFsUsed Integer32,
sysFsFree Integer32
}
sysFsIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "reference index/row number for each filesystem"
::= { sysFsENTRY 1 }
sysFsDevice OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "filesystem device"
::= { sysFsENTRY 2 }
sysFsMountpoint OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "filesystem mount point"
::= { sysFsENTRY 3 }
sysFsMax OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "maximum available filesystem space in MB"
::= { sysFsENTRY 4 }
sysFsUsed OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "currently used filesystem space in MB"
::= { sysFsENTRY 5 }
sysFsFree OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "currently free filesystem space in MB"
::= { sysFsENTRY 6 }
--
-- Hardware: Product
--
hwProd OBJECT IDENTIFIER
::= { hardware 1 }
hwProdArch OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "name of hardware architecture"
::= { hwProd 1 }
hwProdName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "name of hardware product"
::= { hwProd 2 }
--
-- Hardware: CPU
--
hwCpu OBJECT IDENTIFIER
::= { hardware 2 }
hwCpuNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "number of CPUs"
::= { hwCpu 1 }
hwCpuTABLE OBJECT-TYPE
SYNTAX SEQUENCE OF HwCpuENTRY
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "hwCpuTABLE"
::= { hwCpu 2 }
hwCpuENTRY OBJECT-TYPE
SYNTAX HwCpuENTRY
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "hwCpuENTRY"
INDEX { hwCpuIndex }
::= { hwCpuTABLE 1 }
HwCpuENTRY ::=
SEQUENCE {
hwCpuIndex Integer32,
hwCpuId DisplayString,
hwCpuSpeed Integer32,
hwCpuTemp Integer32
}
hwCpuIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "reference index/row number for each CPU"
::= { hwCpuENTRY 1 }
hwCpuId OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "CPU identification"
::= { hwCpuENTRY 2 }
hwCpuSpeed OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "CPU speed [MHz]"
::= { hwCpuENTRY 3 }
hwCpuTemp OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "CPU temperature [Celsius]"
::= { hwCpuENTRY 4 }
--
-- Hardware: RAM
--
hwRam OBJECT IDENTIFIER
::= { hardware 3 }
hwRamMax OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "installed RAM in MB"
::= { hwRam 1 }
hwRamStatus OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "boolean status of RAM banks"
::= { hwRam 2 }
--
-- Hardware: Disk
--
hwDisk OBJECT IDENTIFIER
::= { hardware 4 }
hwDiskTABLE OBJECT-TYPE
SYNTAX SEQUENCE OF HwDiskENTRY
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "hwDiskTABLE"
::= { hwDisk 1 }
hwDiskENTRY OBJECT-TYPE
SYNTAX HwDiskENTRY
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "hwDiskENTRY"
INDEX { hwDiskIndex }
::= { hwDiskTABLE 1 }
HwDiskENTRY ::=
SEQUENCE {
hwDiskIndex Integer32,
hwDiskId DisplayString,
hwDiskStatus Integer32
}
hwDiskIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "reference index/row number for each Disk"
::= { hwDiskENTRY 1 }
hwDiskId OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Disk identification"
::= { hwDiskENTRY 2 }
hwDiskStatus OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Disk status"
::= { hwDiskENTRY 3 }
--
-- Hardware: Fan
--
hwFan OBJECT IDENTIFIER
::= { hardware 5 }
hwFanTABLE OBJECT-TYPE
SYNTAX SEQUENCE OF HwFanENTRY
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "hwFanTABLE"
::= { hwFan 1 }
hwFanENTRY OBJECT-TYPE
SYNTAX HwFanENTRY
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "hwFanENTRY"
INDEX { hwFanIndex }
::= { hwFanTABLE 1 }
HwFanENTRY ::=
SEQUENCE {
hwFanIndex Integer32,
hwFanId DisplayString,
hwFanSpeed Integer32,
hwFanStatus Integer32
}
hwFanIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "reference index/row number for each Fan"
::= { hwFanENTRY 1 }
hwFanId OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Fan identification"
::= { hwFanENTRY 2 }
hwFanSpeed OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Fan speed"
::= { hwFanENTRY 3 }
hwFanStatus OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Fan status"
::= { hwFanENTRY 4 }
--
-- Hardware: Powersupply
--
hwPs OBJECT IDENTIFIER
::= { hardware 6 }
hwPsTABLE OBJECT-TYPE
SYNTAX SEQUENCE OF HwPsENTRY
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "hwPsTABLE"
::= { hwPs 1 }
hwPsENTRY OBJECT-TYPE
SYNTAX HwPsENTRY
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "hwPsENTRY"
INDEX { hwPsIndex }
::= { hwPsTABLE 1 }
HwPsENTRY ::=
SEQUENCE {
hwPsIndex Integer32,
hwPsId DisplayString,
hwPsStatus Integer32
}
hwPsIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "reference index/row number for each Powersupply"
::= { hwPsENTRY 1 }
hwPsId OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Powersupply identification"
::= { hwPsENTRY 2 }
hwPsStatus OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Powersupply status"
::= { hwPsENTRY 3 }
--
-- Hardware: Chassis
--
hwChassis OBJECT IDENTIFIER
::= { hardware 7 }
hwChassisOpen OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "boolean open/close status of Chassis"
::= { hwChassis 1 }
hwChassisTemp OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "temperature inside Chassis"
::= { hwChassis 2 }
--
-- Software: Operating System
--
swOs OBJECT IDENTIFIER
::= { software 1 }
swOsName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "name of operating system"
::= { swOs 1 }
swOsVersion OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "version of operating system"
::= { swOs 2 }
--
-- Software: OpenPKG Instances
--
swOp OBJECT IDENTIFIER
::= { software 2 }
swOpVersion OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "OpenPKG instance version"
::= { swOp 1 }
swOpPkgTABLE OBJECT-TYPE
SYNTAX SEQUENCE OF SwOpPkgENTRY
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "OpenPKG package table"
::= { swOp 2 }
swOpPkgENTRY OBJECT-TYPE
SYNTAX SwOpPkgENTRY
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry containing a load average and its values."
INDEX { swOpPkgIndex }
::= { swOpPkgTABLE 1 }
SwOpPkgENTRY ::=
SEQUENCE {
swOpPkgIndex Integer32,
swOpPkgName DisplayString,
swOpPkgVersion DisplayString,
swOpPkgRelease DisplayString,
swOpPkgBuilt DateAndTime,
swOpPkgInstalled DateAndTime,
}
swOpPkgIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "reference index/row number for each package"
::= { swOpPkgENTRY 1 }
swOpPkgName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "name of package"
::= { swOpPkgENTRY 2 }
swOpPkgVersion OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "vendor version of package"
::= { swOpPkgENTRY 3 }
swOpPkgRelease OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "OpenPKG release of package"
::= { swOpPkgENTRY 4 }
swOpPkgBuilt OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION "time package was built"
::= { swOpPkgENTRY 5 }
swOpPkgInstalled OBJECT-TYPE
SYNTAX DateAndTime
MAX-ACCESS read-only
STATUS current
DESCRIPTION "time package was installed"
::= { swOpPkgENTRY 6 }
--
-- BIND
--
swBind OBJECT IDENTIFIER
::= { software 3 }
--
-- BIND status ("rndc status")
--
swBindStatus OBJECT IDENTIFIER
::= { swBind 1 }
swBindStatusNumberOfZones OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "number of zones"
::= { swBindStatus 1 }
swBindStatusDebugLevel OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "debug level"
::= { swBindStatus 2 }
swBindStatusXfersRunning OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "xfers running"
::= { swBindStatus 3 }
swBindStatusXfersDeferred OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "xfers deferred"
::= { swBindStatus 4 }
swBindStatusSoaQueries OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "SOA queries in progress"
::= { swBindStatus 5 }
swBindStatusQueryLogging OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION "SOA query logging state"
::= { swBindStatus 6 }
swBindStatusRecClientsActive OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "active recursive clients"
::= { swBindStatus 7 }
swBindStatusRecClientsMax OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "maximum recursive clients"
::= { swBindStatus 8 }
swBindStatusTcpClientsActive OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "active TCP clients"
::= { swBindStatus 9 }
swBindStatusTcpClientsMax OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "maximum TCP clients"
::= { swBindStatus 10 }
--
-- BIND statistics ("rndc stats")
--
swBindStats OBJECT IDENTIFIER
::= { swBind 2 }
swBindStatsSuccess OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Successful Queries"
::= { swBindStats 1 }
swBindStatsReferral OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Referrals"
::= { swBindStats 2 }
swBindStatsNxrrset OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Nx RR Set"
::= { swBindStats 3 }
swBindStatsNxdomain OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Nx Domain"
::= { swBindStats 4 }
swBindStatsRecursion OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Recursion"
::= { swBindStats 5 }
swBindStatsFailure OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Failed Queries"
::= { swBindStats 6 }
END