summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-01-15 23:20:54 +0000
committerStef Walter <stef@memberwebs.com>2009-01-15 23:20:54 +0000
commit663a4dce7c52dd50fefd1d71d9ff3ec811acb795 (patch)
tree099c9b8aa7a1298e949e2b1c0601d5a5ccfacbc1 /doc
parente0efaf285c3d7daff0037d4fd446aa5dd55741f4 (diff)
Add support for monitoring CPU usage.
Diffstat (limited to 'doc')
-rw-r--r--doc/JAILS-MIB.txt9
-rw-r--r--doc/bsnmp-jails.82
2 files changed, 11 insertions, 0 deletions
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.