Skip to content

Commit bf857a4

Browse files
committed
add how to memo
1 parent 154d09b commit bf857a4

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

docs/how_to_install_collector.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
How to install collector command
2+
=====================================
3+
4+
The collector command can run in setup-hw container and bare metal linux server.
5+
in this memo describe how to install bare metal server.
6+
7+
## 1.Clone code from github repository
8+
9+
```
10+
$ git clone https://github.com/cybozu-go/setup-hw
11+
```
12+
13+
## 2.Build & install collector command
14+
15+
```
16+
$ cd setup-hw
17+
$ make install
18+
```
19+
20+
## 3.Setup config
21+
22+
Put a bmc-user.json file in /etc/neco/ that must have "support" user due to use the collector command.
23+
24+
```
25+
{
26+
"support": {
27+
"password": {
28+
"raw": "cybozu"
29+
}
30+
}
31+
}
32+
```
33+
34+
Put a bmc-address.json file in /etc/neco.
35+
36+
```
37+
{"ipv4":{"address":"10.210.152.197","netmask":"255.255.252.0","maskbits":22,"gateway":"10.210.152.198"}}
38+
```
39+
40+
please see [config.md]("config.md") file.
41+
42+
## 4.Check
43+
44+
By following the above steps, you can execute the collector command.
45+
46+
```
47+
$ collector show
48+
```
49+
50+
Next, see [how to generate rules](how_to_install_collector.md).

0 commit comments

Comments
 (0)