From c6e6d2852303ab491badd3af5571af0f36f67cc5 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 15 Mar 2008 19:18:33 +0000 Subject: * Add counter for number of processes in jail * Add configurable refresh interval for jail data * Don't list jails without any processes. * Fix crasher when a jail quits. * Report jailCount correctly after jails quit. --- doc/JAILS-MIB.txt | 7 +++++++ doc/bsnmp-jails.8 | 5 +++++ 2 files changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/JAILS-MIB.txt b/doc/JAILS-MIB.txt index 268f76b..f5fa26c 100644 --- a/doc/JAILS-MIB.txt +++ b/doc/JAILS-MIB.txt @@ -115,4 +115,11 @@ jailOutPackets OBJECT-TYPE DESCRIPTION "Number of packets sent by this jail." ::= { jailEntry 13 } +jailProcesses OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION "Number of processes running in this jail." + ::= { jailEntry 20 } + END diff --git a/doc/bsnmp-jails.8 b/doc/bsnmp-jails.8 index d3a73a6..0cd5e07 100644 --- a/doc/bsnmp-jails.8 +++ b/doc/bsnmp-jails.8 @@ -74,9 +74,14 @@ The number of packets received by the jail over the network. The number of octets sent by the jail over the network. .It Ar jails.jailTable.jailEntry.jailOutPackets.X 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.jailNetworkFilter A tcpdump style filter for the network traffic. Only matched traffic is counted in the jail statistics. +.It Ar jails.jailRefreshRate +The interval (in SNMP time ticks) between refreshing the jail +process statistics and checking which jails are running. .El .Sh OPTIONS To activate the -- cgit v1.2.3