You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Redfish (BMC) connection for Redfish-only plugins:
135
+
136
+
```json
137
+
{
138
+
"RedfishConnectionManager": {
139
+
"host": "bmc.example.com",
140
+
"port": 443,
141
+
"username": "admin",
142
+
"password": "secret",
143
+
"use_https": true,
144
+
"verify_ssl": true,
145
+
"api_root": "redfish/v1"
146
+
}
147
+
}
148
+
```
149
+
150
+
- `api_root` (optional): Redfish API path (e.g. `redfish/v1`). If omitted, the default `redfish/v1` is used. Override this when your BMC uses a different API version path.
151
+
131
152
**Notes:**
132
153
- If using SSH keys, specify `key_filename` instead of `password`.
133
154
- The remote user must have permissions to run the requested plugins and access required files. If needed, use the `--skip-sudo` argument to skip plugins requiring sudo.
You can pass multiple plugin names to `--skip-plugins` or `--include-plugins`.
321
342
343
+
#### **'show-redfish-oem-allowable' subcommand**
344
+
The `show-redfish-oem-allowable` subcommand fetches the list of OEM diagnostic types supported by your BMC (from the Redfish LogService `OEMDiagnosticDataType@Redfish.AllowableValues`). Use it to discover which types you can put in`oem_diagnostic_types_allowable` and `oem_diagnostic_types`in the Redfish OEM diag plugin config.
345
+
346
+
**Requirements:** A Redfish connection config (same as for RedfishOemDiagPlugin).
Output is a JSON array of allowable type names (e.g. `["Dmesg", "JournalControl", "AllLogs", ...]`). Copy that list into your plugin config’s `oem_diagnostic_types_allowable`if you want to match your BMC.
354
+
355
+
**Redfish OEM diag plugin config example**
356
+
357
+
Use a plugin config that points at your LogService and lists the types to collect. Logs are written under the run log path (see `--log-path`).
- **`log_service_path`**: Redfish path to the LogService (e.g. DiagLogs). Must match your system (e.g. `UBB` vs. another system id).
386
+
- **`oem_diagnostic_types_allowable`**: Full list of types the BMC supports (from `show-redfish-oem-allowable` or vendor docs).
387
+
- **`oem_diagnostic_types`**: Subset of types to collect on each run (e.g. `["JournalControl", "AllLogs"]`).
388
+
- **`task_timeout_s`**: Max seconds to wait per collection task.
389
+
390
+
**How to use**
391
+
392
+
1. **Discover allowable types** (optional): run `show-redfish-oem-allowable` and paste the output into `oem_diagnostic_types_allowable`in your plugin config.
393
+
2. **Set `oem_diagnostic_types`** to the list you want to collect (e.g. `["JournalControl", "AllLogs"]`).
394
+
3. **Run the plugin** with a Redfish connection config and your plugin config:
4. Use **`--log-path`** to choose where run logs (and OEM diag archives) are written; archives go under `<log-path>/scraper_logs_<name>_<timestamp>/redfish_oem_diag_plugin/redfish_oem_diag_collector/`.
399
+
400
+
#### **RedfishEndpointPlugin**
401
+
402
+
The RedfishEndpointPlugin collects Redfish URIs (GET responses) and optionally runs checks on the returned JSON. It requires a Redfish connection config (same as RedfishOemDiagPlugin).
403
+
404
+
**How to run**
405
+
406
+
1. Create a connection config (e.g. `connection-config.json`) with `RedfishConnectionManager` and your BMC host, credentials, and API root.
407
+
2. Create a plugin config with `uris` to collect and optional `checks`for analysis (see example below). For example save as `plugin_config_redfish_endpoint.json`.
- **`uris`**: List of Redfish paths (e.g. `/redfish/v1/`, `/redfish/v1/Systems/1`) to GET and store.
447
+
- **`checks`**: Optional. Map of URI to expected values or constraints for analysis. Supports exact match (e.g. `"PowerState": "On"`), `anyOf`, `min`/`max`, etc.
448
+
322
449
#### **'summary' sub command**
323
450
The 'summary' subcommand can be used to combine results from multiple runs of node-scraper to a
324
451
single summary.csv file. Sample run:
@@ -370,7 +497,11 @@ Below is an example that skips sudo requiring plugins and disables analysis.
0 commit comments