From c6e6d2852303ab491badd3af5571af0f36f67cc5 Mon Sep 17 00:00:00 2001
From: Stef Walter <stef@memberwebs.com>
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.

---
 module/jails-tree.def | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'module/jails-tree.def')

diff --git a/module/jails-tree.def b/module/jails-tree.def
index fc70afd..6d5a79a 100644
--- a/module/jails-tree.def
+++ b/module/jails-tree.def
@@ -46,15 +46,19 @@
               (1 jailEntry : INTEGER op_jailentry
                 (0 jailIndex INTEGER GET)
                 (1 jailHost OCTETSTRING GET)
+
                 (10 jailInOctets COUNTER64 GET)
                 (11 jailInPackets COUNTER64 GET)
                 (12 jailOutOctets COUNTER64 GET)
                 (13 jailOutPackets COUNTER64 GET)
+
+                (20 jailProcesses INTEGER GET)
               )
             )
 
             # Valid only during configuration 
             (100 jailNetworkFilter OCTETSTRING op_jailconfig GET SET)
+            (101 jailRefreshInterval TIMETICKS op_jailconfig GET SET)
           )
         )
       )
-- 
cgit v1.2.3

