This repository has been archived by the owner on Sep 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ini
141 lines (130 loc) · 4.76 KB
/
config.ini
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
## Configuration file for `lnxdiagd` programs
[11]
# format: <hostname>.hwdevice: /path/to/cpu/temperature/device
# hosts that do not find a hwdevice in this list will abort lnxdiag11d.py
# bbone.hwdevice: /sys/class/hwmon/hwmon0/device/temp1_input
# BeagleBone alternate =/sys/devices/ocp.3/44e10448.bandgap/temp1_input
# NOTE: BeagleBone Black may not provide a cpu-sensor in Debian 8.0 and later.
rbian.hwdevice: /sys/devices/virtual/thermal/thermal_zone0/temp
rbagain.hwdevice: /sys/devices/virtual/thermal/thermal_zone0/temp
rbelec.hwdevice: /sys/devices/virtual/thermal/thermal_zone0/temp
rbpihole.hwdevice: /sys/devices/virtual/thermal/thermal_zone0/temp
rbups.hwdevice: /sys/devices/virtual/thermal/thermal_zone0/temp
rbtor3.hwdevice: /sys/devices/virtual/thermal/thermal_zone0/temp
rbux.hwdevice: /sys/devices/virtual/thermal/thermal_zone0/temp
rbtor.hwdevice: /sys/devices/virtual/thermal/thermal_zone0/temp
rbux3.hwdevice: /sys/devices/virtual/thermal/thermal_zone0/temp
osmc.hwdevice: /sys/devices/virtual/thermal/thermal_zone0/temp
# RPi alternate =/sys/devices/virtual/hwmon/hwmon0/temp1_input
boson.hwdevice: /sys/devices/platform/nct6775.656/hwmon/hwmon1/temp2_input
reporttime: 60
cycles: 6
samplespercycle: 3
lockfile: /tmp/lnxdiagd/11.lock
resultfile: /tmp/lnxdiagd/11-therm.csvsql
sqlcmd: INSERT INTO systemp (
sample_time, sample_epoch, host,
temperature, id)
VALUES (
%%s, %%s, %%s,
%%s, %%s)
rawfile: /tmp/lnxdiagd/11-therm.csv
[12]
reporttime: 300
cycles: 1
samplespercycle: 1
lockfile: /tmp/lnxdiagd/12.lock
resultfile: /tmp/lnxdiagd/12-load.csvsql
sqlcmd: INSERT INTO sysload (
sample_time, sample_epoch, host,
load1min, load5min, load15min,
active_procs, total_procs, last_pid,
user, system, idle, waiting, stolen, id)
VALUES (
%%s, %%s, %%s,
%%s, %%s, %%s,
%%s, %%s, %%s,
%%s, %%s, %%s, %%s, %%s, %%s)
rawfile: /tmp/lnxdiagd/12-load.csv
[13]
# Set an alternative network interface in case eth0 doesn't exist
# <device>.net
# hosts that do not find an *.net listing here will default to using `eth0`
# as the main network device.
rbagain.net: wlan0
#osmc.net: wlan0
boson.net: p17p1
reporttime: 60
cycles: 1
samplespercycle: 1
lockfile: /tmp/lnxdiagd/13.lock
resultfile: /tmp/lnxdiagd/13-net.csvsql
sqlcmd: INSERT INTO sysnet (
sample_time, sample_epoch, host,
loIn, loOut,
etIn, etOut,
wlIn, wlOut, id)
VALUES (
%%s, %%s, %%s,
%%s, %%s,
%%s, %%s,
%%s, %%s, %%s)
rawfile: /tmp/lnxdiagd/13-net.csv
[14]
reporttime: 60
cycles: 1
samplespercycle: 1
lockfile: /tmp/lnxdiagd/14.lock
resultfile: /tmp/lnxdiagd/14-mem.csvsql
sqlcmd: INSERT INTO sysmem (
sample_time, sample_epoch, host,
total, used, buffers, cached, free,
swaptotal, swapfree, swapused, id)
VALUES (
%%s, %%s, %%s,
%%s, %%s, %%s, %%s, %%s,
%%s, %%s, %%s, %%s)
rawfile: /tmp/lnxdiagd/14-mem.csv
[15]
reporttime: 600
cycles: 1
samplespercycle: 1
lockfile: /tmp/lnxdiagd/15.lock
resultfile: /tmp/lnxdiagd/15-log.csvsql
sqlcmd: INSERT INTO syslog (
sample_time, sample_epoch, host,
p0, p1, p2, p3, p4, p5, p6, p7, id)
VALUES (
%%s, %%s, %%s,
%%s, %%s, %%s, %%s, %%s, %%s, %%s, %%s, %%s)
rawfile: /tmp/lnxdiagd/15-log.csv
[19]
reporttime: 300
cycles: 6
samplespercycle: 1
lockfile: /tmp/lnxdiagd/19.lock
resultfile: /tmp/lnxdiagd/19-tempdisk.csvsql
sqlcmd: INSERT INTO disktemp (
sample_time, sample_epoch, host,
diskid, diskt, id)
VALUES (
%%s, %%s, %%s,
%%s, %%s, %%s)
rawfile: /tmp/lnxdiagd/19-tempdisk.csv
[82]
reporttime: 600
cycles: 1
samplespercycle: 1
lockfile: /tmp/lnxdiagd/82.lock
markdown: /tmp/lnxdiagd/site/text.md
[97]
reporttime: 60
cycles: 1
samplespercycle: 1
lockfile: /tmp/lnxdiagd/97.lock
[98]
reporttime: 60
cycles: 1
samplespercycle: 1
lockfile: /tmp/lnxdiagd/98.lock
lftpscript: /tmp/lnxdiagd/script.lftp