Skip to content

HTTP REST Api endpoint Sensorsconfig

hwassman edited this page Feb 21, 2025 · 2 revisions

/metadata/sensorsconfig

- Supported for both: OpenTSDB API and Prometheus API
- Provides details about the performance monitoring sensors configured on the GPFS cluster.
- Further information about the fields in the returned data structure can be found in the GPFS documentation for the “mmperfmon config show” command.

OpenTSDB API

Example output:
```console
# curl http://10.88.0.178:4242/metadata/sensorsconfig -u scale_admin:TXlWZXJ5U3Ryb25nUGFzc3cwcmQhCg== | jq '.[]|select(.name |contains("GPFSFilesystem"))'
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2437  100  2437    0     0   396k      0 --:--:-- --:--:-- --:--:--  475k
{
	"name": "\"GPFSFilesystem\"",
	"period": "10"
}
{
	"name": "\"GPFSFilesystemAPI\"",
	"period": "10"
}

```

Prometheus API

Example output:
```console
# curl http://10.88.0.177:9250/metadata/sensorsconfig -u scale_admin:TXlWZXJ5U3Ryb25nUGFzc3cwcmQhCg== | jq '.[]|select(.name |contains("GPFSDiskCap"))'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 100  2437  100  2437    0     0   396k      0 --:--:-- --:--:-- --:--:--  475k
{
  	"name": "\"GPFSDiskCap\"",
  	"period": "86400",
  	"restrict": "\"@CLUSTER_PERF_SENSOR\""
 }

```

User Guide

Installation

Configuration

Maintenance

Troubleshooting

Use cases

Designing dashboards

Developer Guide

Clone this wiki locally