File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,19 +18,19 @@ Choose one deployment style:
1818
19191 . Build and start:
2020
21- < pre >
21+ ```
2222docker compose build
2323docker compose up -d
24- </ pre >
24+ ```
2525
26262 . Create ` /usr/local/gri/gritab ` in the running container (example):
2727
28- < pre >
28+ ```
2929docker compose exec gri sh -lc 'cat >/usr/local/gri/gritab <<EOF
3030host.example.com ver=2c community=public
3131router.example.com ver=2c community=xxxxxxxx
3232EOF'
33- </ pre >
33+ ```
3434
35353 . Check logs:
3636
@@ -96,11 +96,11 @@ gritab is a file used to specify the information collection target.
9696By default, the file path is ` /usr/local/gri/gritab `
9797
9898Example:
99- < pre >
99+ ```
100100# gritab example
101101host.example.com ver=2c community=public
102102router.example.com ver=2c community=xxxxxxxx
103- </ pre >
103+ ```
104104
105105 * A line beginning with # is a comment line.
106106 * Each line consists of one host for which data is to be collected by GRI.
@@ -133,12 +133,12 @@ gri.conf is the settings file that determines the global operation of GRI.
133133By default, the file path is ` /usr/local/gri/gri.conf ` .
134134
135135Example:
136- < pre >
136+ ```
137137# gri.conf example
138138root-dir /usr/local/gri
139139gritab-path /usr/local/gri/gritab
140140font DEFAULT:0:IPAPGothic
141- </ pre >
141+ ```
142142
143143###### Description of typical options
144144
You can’t perform that action at this time.
0 commit comments