[Box Backup] Logwatch files for bbstored

Per Thomsen boxbackup@fluffy.co.uk
Wed, 02 Feb 2005 22:57:31 -0800


This is a multi-part message in MIME format.
--------------060903070209000600050101
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,
I have created a complement of logwatch files for bbstored, which I have 
been using for about a week now. I find the information very useful to 
me. Information includes:

- Restart counts, and config files used.
- Housekeeping start/stop counts
- account login counts
- host connection information and counts

I have attached a tarfile that complies with the directory structure (on 
Linux, at least) and can be dropped into /etc/log.d. I'm running this on 
FC2, and it's working fine there. You'll

If you feel that something else should be added to the stats shown, 
please let me know (or send me a patch), and I'll look into it.

I'm looking at housekeeping duration stats, like shortest, longest, 
average, but haven't had the time to get it done yet.

If, at some point, this could go into the source-tree (contrib), that 
would be great!

Below is a sample of the output generated in my daily logwatch mail.

Thanks,
Per

 --------------------- Box Backup Begin ------------------------ 

======= Daemon Stats

Daemon started:    1 times
Daemon terminated: 1 times

Housekeeping started:  97 times
Housekeeping finished: 97 times

Config File use:
	/etc/box/bbstored.conf:		1


======= Account Logins

Account 00000001 logged in 27 times
Account 00000002 logged in 1 times
Account 00000003 logged in 0 times
Account 00000004 logged in 0 times
Account 00000100 logged in 36 times
Account 00000200 logged in 12 times
Account 00000300 logged in 23 times
Account 00000400 logged in 1 times
Account 00000401 logged in 4 times
Account 00000500 logged in 0 times


======= Host Connections

Host 1.2.3.4 (host1.isp.com) connected 36 times
Host 5.6.7.8 (host2.isp.com) connected 20 times
Host 9.10.11.12 (host3.isp.com) connected 1 times
Host 13.14.15.16 (host4.isp.com) connected 27 times
Host 17.18.19.20 (host5.isp.com) connected 20 times
Host 21.22.23.24 (host6.isp.com) connected 1 times
Host 25.26.27.28 (host7.isp.com) connected 20 times
Host 29.30.31.32 (host8.isp.com) connected 8 times

 ---------------------- Box Backup End ------------------------- 


-- 
Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119
V: 209 883 4102    |   pthomsen@reedtz.com  | C: 209 996 9561
GPG ID: 1209784F   |  Yahoo! Chat: pthomsen | AIM: pthomsen


--------------060903070209000600050101
Content-Type: application/x-gzip; x-mac-type="0"; x-mac-creator="0";
 name="logwatch-bbstored.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="logwatch-bbstored.tar.gz"

H4sIADvKAUIAA+0Z/VPbxjK/or9iS+hEAmrLxsYdJ/BKMTSeMpApnnY6dZs5SydLD32N7oRx
qPu3d/dOtuWPJC95QNupd7A+9vb28253dThJ7FWfPS7YdsNuNZt4V7B8V881u27bB416zW48
s/Fy2HoGzUfWS0EuJMsAnmVJIj9E97Hxfyg4FH/Bs9vA4eKRFsInxf8Q8bX6Qa2xif9TwGL8
BwMhk4y7FUI/mAzcz/Zho/G++Nea9RbGv9Y6tO1mrYXrpNa0bdz/9oNp8AH4l8f/+cOB8Rx2
uu6O8ZAskefPSQ4OiyHNJThJFPFYCmDxeOTzjMMYR0csliCTCkDP52NgiOaexx0Z3HLwkgyk
z5FRxoWExKM3CIOYV4i79AMB9BcrPFJHTFG9ilnEj+EIXt2yMOfHyP0nP5BcpMzhgDREPuDD
II6DeIicWOwCx19JguKc8Si5xS21MH/AURJXc5gnuVIRZYlgGCOrhVlntzwbo5rxkPAOExx2
g1jwWARk4K4y42eUdQS9LOeA96uYrjXEXyb0dM5CQeyvPA+vtmH0AhkSYvvb5A6+Zc5Nnm4T
G9TQ8SFMhl6A48MsydNKpWJcJMPzQE0YJHcDRW58dphRTI+cPmL4ywIpeaz8gKiIBbHEH3dh
MG4jIcIbdE7PTyI0GMxU6qdvMs5d+Q7TVGQZxPFNyMkxggLAwnC2UPZB5MMhBj5IYnwZ5EP0
bJpkOKLZc+ns49qBNZwrn2+i8Vdv6/8ZVP4vAv63qP8HLVX/7dqm/j8FLMb/r6n/rZo9r/8H
h0jfaDU39f9J4HNT3Nq8/sDl/19QY/6PEkPVGtsQ5sichUD79z8AHe6xPMQGCcVh1X7DpA+B
B3GChAORhLnkkCKy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