summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-05-03 02:36:31 +0000
committerStef Walter <stef@memberwebs.com>2008-05-03 02:36:31 +0000
commitec0d36ee55709f1df76f977823722a4b53cf27ed (patch)
tree4df12b55e1f5568c85bfc0aec72ae09e219fefa7 /doc
parentc6e6d2852303ab491badd3af5571af0f36f67cc5 (diff)
A whole bunch of changes including:
* Measure disk space * Support mulitple IPs per jail.
Diffstat (limited to 'doc')
-rw-r--r--doc/JAILS-MIB.txt14
-rw-r--r--doc/bsnmp-jails.86
2 files changed, 19 insertions, 1 deletions
diff --git a/doc/JAILS-MIB.txt b/doc/JAILS-MIB.txt
index f5fa26c..6fac74f 100644
--- a/doc/JAILS-MIB.txt
+++ b/doc/JAILS-MIB.txt
@@ -122,4 +122,18 @@ jailProcesses OBJECT-TYPE
DESCRIPTION "Number of processes running in this jail."
::= { jailEntry 20 }
+jailDiskSpace OBJECT-TYPE
+ SYNTAX Counter64
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION "Amount of disk space taken by this jail. Zero means unknown."
+ ::= { jailEntry 30 }
+
+jailDiskFiles OBJECT-TYPE
+ SYNTAX Integer32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION "Number of files (inodes) in this jail. Zero means unknown."
+ ::= { jailEntry 31 }
+
END
diff --git a/doc/bsnmp-jails.8 b/doc/bsnmp-jails.8
index 0cd5e07..daaf2db 100644
--- a/doc/bsnmp-jails.8
+++ b/doc/bsnmp-jails.8
@@ -79,9 +79,12 @@ 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
+.It Ar jails.jailRefreshInterval
The interval (in SNMP time ticks) between refreshing the jail
process statistics and checking which jails are running.
+.It Ar jails.jailMeasureInterval
+The interval (in SNMP time ticks) between measuring the amount of
+files and disk space used by the jail.
.El
.Sh OPTIONS
To activate the
@@ -101,6 +104,7 @@ The following would be added to
begemotSnmpdModulePath."jails" = "/usr/local/lib/snmp_jails.so"
%jails
jailNetworkFilter = "not net 10.0.0.0/8"
+jailMeasureInterval = 360000
.Ed
.Sh SEE ALSO
.Xr bsnmpd 1,