File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "plugin" : " custom" ,
3+ "pluginConfig" : {
4+ "invoke_interval" : " 5m" ,
5+ "timeout" : " 1m" ,
6+ "max_output_length" : 80 ,
7+ "concurrency" : 1
8+ },
9+ "source" : " docker-monitor" ,
10+ "conditions" : [
11+ {
12+ "type" : " CorruptDockerOverlay2" ,
13+ "reason" : " NoCorruptDockerOverlay2" ,
14+ "message" : " docker overlay2 is functioning properly"
15+ }
16+ ],
17+ "rules" : [
18+ {
19+ "type" : " permanent" ,
20+ "condition" : " CorruptDockerOverlay2" ,
21+ "reason" : " CorruptDockerOverlay2" ,
22+ "path" : " /home/kubernetes/bin/log-counter" ,
23+ "args" : [
24+ " --journald-source=dockerd" ,
25+ " --log-path=/var/log/journal" ,
26+ " --lookback=5m" ,
27+ " --count=10" ,
28+ " --pattern=returned error: readlink /var/lib/docker/overlay2.*: invalid argument.*"
29+ ],
30+ "timeout" : " 1m"
31+ }
32+ ]
33+ }
You can’t perform that action at this time.
0 commit comments