summaryrefslogtreecommitdiff
path: root/docs/guprecords.txt
blob: dac01a632d50e0a0f74af26b791e2ea7482aa406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
NAME
    guprecords - Global uptime records

    Shows uprecord stats of several hosts at once.

  Synopsis
    guprecords [--help] [--total|--all] [--count=i] [--indir=s]

  Parameters
    --all
        Shows every individual uptime of all hosts.

    --count=i
        Show i num of entries. Default is 23.

    --nofqdn
        Don't display the FQDNs

    --help
        Shows the help

    --indir=s
        Read all the *.records files from dir s. Default is ./

    --total
        Aggregates a total uptime for every single host.

  Quick getting started
   Uptimed
    Firstival, you need to collect uprecords using the uptimed deaemon. To
    install it run:

        sudo aptitude install uptimed

    Please consult the uptimed and uprecords manpages. Please ensure to
    understand how it works and what it does.

    uptimed collects uprecords to

      /var/spool/uptimed/records

    And this file is used by guprecords for further processing.

   Collect all the uprecords
    You may have several hosts with uptimed running already. Collect all the
    records file to a central repository (e.g. git). Name each file
    FQDN.records and run

      guprecords --indir ./

    You may automate the collecting of all the uprecords using something
    like cron or puppet.

LICENSE
    See package description or project website.

AUTHOR
    Paul Buetow - <http://guprecords.buetow.org>