-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
How to install collector command | ||
===================================== | ||
|
||
The collector command can run in setup-hw container and bare metal linux server. | ||
in this memo describe how to install bare metal server. | ||
|
||
## 1.Clone code from github repository | ||
|
||
``` | ||
$ git clone https://github.com/cybozu-go/setup-hw | ||
``` | ||
|
||
## 2.Build & install collector command | ||
|
||
``` | ||
$ cd setup-hw | ||
$ make install | ||
``` | ||
|
||
## 3.Setup config | ||
|
||
Put a bmc-user.json file in /etc/neco/ that must have "support" user due to use the collector command. | ||
|
||
``` | ||
{ | ||
"support": { | ||
"password": { | ||
"raw": "cybozu" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
Put a bmc-address.json file in /etc/neco. | ||
|
||
``` | ||
{"ipv4":{"address":"10.210.152.197","netmask":"255.255.252.0","maskbits":22,"gateway":"10.210.152.198"}} | ||
``` | ||
|
||
please see [config.md]("config.md") file. | ||
|
||
## 4.Check | ||
|
||
By following the above steps, you can execute the collector command. | ||
|
||
``` | ||
$ collector show | ||
``` | ||
|
||
Next, see [how to generate rules](how_to_install_collector.md). |