Skip to content

Commit

Permalink
Update rule from Redfish v1.20.1 (#126)
Browse files Browse the repository at this point in the history
* generate rule from v1.20.1

* add how to memo

* update for review comment

* deleted the double quoation
  • Loading branch information
takara9 authored Jan 19, 2025
1 parent 9e16d83 commit 1cc4e63
Show file tree
Hide file tree
Showing 4 changed files with 312 additions and 189 deletions.
4 changes: 4 additions & 0 deletions base-rules/dell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ Metrics:
## Fabrics
- Path: /redfish/v1/Fabrics/{fabric}
- Path: /redfish/v1/Fabrics/{fabric}/Switches
- Path: /redfish/v1/Fabrics/{fabric}/Switches/{switch}
- Path: /redfish/v1/Fabrics/{fabric}/Switches/{switch}/Ports
- Path: /redfish/v1/Fabrics/{fabric}/Switches/{switch}/Ports/{switchport}

## Managers
- Path: /redfish/v1/Managers/{manager}
- Path: /redfish/v1/Managers/{manager}/Attributes
Expand Down
56 changes: 56 additions & 0 deletions docs/how_to_install_collector.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
How to install collector command
=====================================

The collector command can run in a setup-hw container or on a bare metal Linux server.
This memo describes how to install the command on a 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 to use the collector command.

```
{
"support": {
"password": {
"raw": "raw password here"
}
}
}
```

Put a bmc-address.json file in /etc/neco.

```
{
"ipv4": {
"address": "192.0.2.3",
"netmask": "255.255.255.0",
"gateway": "192.0.2.1"
}
}
```

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_generate_rules.md).
Loading

0 comments on commit 1cc4e63

Please sign in to comment.