/[cricket]/maillog/Defaults
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /maillog/Defaults

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Fri May 10 16:07:58 2002 UTC (21 years, 11 months ago) by dpavlin
Branch: DbP, MAIN
CVS Tags: r0, HEAD
Changes since 1.1: +0 -0 lines
initial import

1 dpavlin 1.1 # a subtree to monitor mail.log, by Dobrica Pavlinusic <dpavlin@rot13.org>
2    
3     # this subtree is setup to fetch stats via ssh from
4     # a remote mail server. To do this from the background,
5     # ssh authentication needs to be setup accordingly.
6     #
7     # This include:
8     # - create public rsa key for user cricket (under which this script is run)
9     # - create user mailq on mail server
10     # and transfer it to mail server
11     #
12     # check configuration with: (you will have to save ssh host keys in this step!)
13     # $ ./collector /mailq
14     #
15    
16     target --default--
17     # you'll probably want to change this... unless you
18     # have Cricket in ~/cricket and your config tree in ~/config
19     util-dir = /usr/share/cricket/util
20     remexec = "ssh -1 -q -l %user% %server%"
21     user = mailq
22     target-type = mail-server
23    
24     datasource out-nr
25     ds-source = "exec:0:%remexec% parse_maillog.pl"
26     desc = "Number of outgoing messages."
27     rrd-ds-type = GAUGE
28     rrd-min = 0
29     precision = integer
30    
31     datasource out-size
32     ds-source = "exec:1:%remexec% parse_maillog.pl"
33     desc = "Size of outgoing messages."
34     rrd-ds-type = GAUGE
35     rrd-min = 0
36     precision = integer
37    
38     datasource in-nr
39     ds-source = "exec:2:%remexec% parse_maillog.pl"
40     desc = "Number of incomming messages."
41     rrd-ds-type = GAUGE
42     rrd-min = 0
43     precision = integer
44    
45     datasource in-size
46     ds-source = "exec:3:%remexec% parse_maillog.pl"
47     desc = "Size of incomming messages."
48     rrd-ds-type = GAUGE
49     rrd-min = 0
50     precision = integer
51    
52     targetType mail-server
53     ds = "in-nr, in-size, out-nr, out-size"
54     view = "Requests: in-nr out-nr, Size: in-size out-size"
55    
56     graph in-size
57     legend = "incomming size"
58     units = bytes
59    
60     graph out-size
61     legend = "outgoing size"
62     units = bytes
63    
64     graph in-nr
65     legend = "incomming messages"
66     units = num
67    
68     graph out-nr
69     legend = "outgoing messages"
70     units = num
71    

  ViewVC Help
Powered by ViewVC 1.1.26