Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rule from Redfish v1.20.1 #126

Merged
merged 4 commits into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
50 changes: 50 additions & 0 deletions docs/how_to_install_collector.md
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.
takara9 marked this conversation as resolved.
Show resolved Hide resolved

## 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.
takara9 marked this conversation as resolved.
Show resolved Hide resolved

```
{
"support": {
"password": {
"raw": "cybozu"
takara9 marked this conversation as resolved.
Show resolved Hide resolved
}
}
}
```

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"}}
takara9 marked this conversation as resolved.
Show resolved Hide resolved
```

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).
takara9 marked this conversation as resolved.
Show resolved Hide resolved
Loading