From 663a4dce7c52dd50fefd1d71d9ff3ec811acb795 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 15 Jan 2009 23:20:54 +0000 Subject: Add support for monitoring CPU usage. --- doc/JAILS-MIB.txt | 9 +++++++++ doc/bsnmp-jails.8 | 2 ++ 2 files changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/JAILS-MIB.txt b/doc/JAILS-MIB.txt index 6fac74f..c7016fc 100644 --- a/doc/JAILS-MIB.txt +++ b/doc/JAILS-MIB.txt @@ -71,6 +71,8 @@ JailEntry ::= jailInPackets Counter64, jailOutOctets Counter64, jailOutPackets Counter64, + jailProcesses Integer32, + jailCpuTime TimeTicks } jailIndex OBJECT-TYPE @@ -122,6 +124,13 @@ jailProcesses OBJECT-TYPE DESCRIPTION "Number of processes running in this jail." ::= { jailEntry 20 } +jailCpuTime OBJECT-TYPE + SYNTAX TimeTicks + MAX-ACCESS read-only + STATUS current + DESCRIPTION "Amount of CPU time taken by this jail." + ::= { jailEntry 21 } + jailDiskSpace OBJECT-TYPE SYNTAX Counter64 MAX-ACCESS read-only diff --git a/doc/bsnmp-jails.8 b/doc/bsnmp-jails.8 index daaf2db..93ea091 100644 --- a/doc/bsnmp-jails.8 +++ b/doc/bsnmp-jails.8 @@ -76,6 +76,8 @@ The number of octets sent by the jail over the network. The number of packets sent by the jail over the network. .It Ar jails.jailTable.jailEntry.jailProcesses.X The number of processes running in the jail. +.It Ar jails.jailTable.jailEntry.jailCpuTime.X +The amount of CPU time (in SNMP time ticks) the jail has used. .It Ar jails.jailNetworkFilter A tcpdump style filter for the network traffic. Only matched traffic is counted in the jail statistics. -- cgit v1.2.3