-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.monitord.conf
57 lines (57 loc) · 1.64 KB
/
example.monitord.conf
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
{
"comments": [
"hostname is the reporting hostname in the channel.",
"shorthost must be an array containing at least one short",
"name for this host. sudops must not be 1 or true unless the user",
"the bot runs as has passwordless sudo ps. ignored on Linux.",
"nohostprefix is the prefix which commands may be used by without",
"a host prefix. may be empty."
],
"hostname": "pandersticks.000",
"shorthost": [
"anyothernamesyouwantthebottorespondto",
"grapes"
],
"nohostprefix": ".",
"prefixchar": "@!",
"infix": [":", "->"],
"modules": {
"ircdtools": {
"enabled": "false"
},
"irchelp": {
"msgfmt": "[%c6%t%c] %m",
"headerfmt": " ---===[ %b%t%b ]===---",
"helpfile": "example.help.json"
},
"procutils": {
"stopat": 5,
"sudops": true
}
},
"comments": ["commands is a dict of lists. the elements are: permissions",
"publicity, and slashpath proc relative to ::tclmoni:."],
"commands": {
"rehashircd": ["nI|-", true, "procutils/m_ps"],
"help": ["-|-", true, "irchelp/m_help"],
"ps": ["n|-", true, "procutils/m_ps"],
"rehashbot": ["n|-", true, "botutils/m_rehash"],
"hibernatebot": ["n|-", true, "botutils/m_shutdown"]
},
"comments": ["msgfmt is the format of the message.",
"some IRC color codes can be used:",
"%b - bold/unbold",
"%c - color",
"%o - original",
"",
"origin codes also exist.",
"%h - machine",
"%u - module",
"%m - message sent by module",
"",
"%n - target nick, with comma (set root option comma to use non-",
" default) and space, with precomma if option set.",
""],
"msgfmt": "[%c13%u%c14(%c06%h%c14)%c] %n%m",
"comma": ":"
}