Skip to content

Commit 1cc4e63

Browse files
authored
Update rule from Redfish v1.20.1 (#126)
* generate rule from v1.20.1 * add how to memo * update for review comment * deleted the double quoation
1 parent 9e16d83 commit 1cc4e63

File tree

4 files changed

+312
-189
lines changed

4 files changed

+312
-189
lines changed

base-rules/dell.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ Metrics:
7070
## Fabrics
7171
- Path: /redfish/v1/Fabrics/{fabric}
7272
- Path: /redfish/v1/Fabrics/{fabric}/Switches
73+
- Path: /redfish/v1/Fabrics/{fabric}/Switches/{switch}
74+
- Path: /redfish/v1/Fabrics/{fabric}/Switches/{switch}/Ports
75+
- Path: /redfish/v1/Fabrics/{fabric}/Switches/{switch}/Ports/{switchport}
76+
7377
## Managers
7478
- Path: /redfish/v1/Managers/{manager}
7579
- Path: /redfish/v1/Managers/{manager}/Attributes

docs/how_to_install_collector.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
How to install collector command
2+
=====================================
3+
4+
The collector command can run in a setup-hw container or on a bare metal Linux server.
5+
This memo describes how to install the command on a 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 to use the collector command.
23+
24+
```
25+
{
26+
"support": {
27+
"password": {
28+
"raw": "raw password here"
29+
}
30+
}
31+
}
32+
```
33+
34+
Put a bmc-address.json file in /etc/neco.
35+
36+
```
37+
{
38+
"ipv4": {
39+
"address": "192.0.2.3",
40+
"netmask": "255.255.255.0",
41+
"gateway": "192.0.2.1"
42+
}
43+
}
44+
```
45+
46+
please see [config.md](config.md) file.
47+
48+
## 4.Check
49+
50+
By following the above steps, you can execute the collector command.
51+
52+
```
53+
$ collector show
54+
```
55+
56+
Next, see [how to generate rules](how_to_generate_rules.md).

0 commit comments

Comments
 (0)