aboutsummaryrefslogtreecommitdiff
path: root/cmd/silentct-mon/examples.help2man
blob: 33cb5839e16e3df7b8c976181915333554825266 (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
[EXAMPLES]

A basic configuration is shown below.

  {
    "monitor": [
      {
        "bootstrap_at": "2024-05-16T00:00:00Z",
        "wildcard": "example.org",
        "excludes": [
          "test"
        ]
      }
    ],
    "nodes": [
      {
        "name": "example.org",
        "secret": "sikritpassword",
        "url": "https://www.example.org/silentct/allowlist",
        "issues": [
          "example.org",
          "www.example.org"
        ]
      }
    ]
  }

Bootstrap a new monitor in a non-existent directory:

.B $ silentct-mon -b -c ~/.config/silentct/config.json -d ~/.local/lib/silentct

Run the monitor continuously:

.B $ silentct-mon -c ~/.config/silentct/config.json -d ~/.local/lib/silentct

Use
.B -v DEBUG
to see what's happening underneath the hood.