UFM Plugin AHX Monitoring
1.6K
AHX Monitoring is a tool that monitors AHX devices
AHX monitoring enables monitoring HDR director switch cooling devices (i.e. AHX) and sending events to UFM.
The events are triggered on the switch associated with the cooling device if the monitoring utility encounters an issue.
The monitoring utility runs periodically and communicates with the AHX devices over the Modbus protocol (TCP port 502).
To deploy the plugin with UFM Enterprise (SA or HA):
Install the latest UFM version
Pull the latest plugin docker container. Run:
docker pull mellanox/ufm-plugin-ahxmonitor
Deploy the plugin. Run:
/opt/ufm/scripts/manage_ufm_plugins.sh add -p ahxmonitor
Check that the plugin is up and running. Run:
docker ps
Show the plugin settings and state. Run:
/opt/ufm/scripts/manage_ufm_plugins.sh show
/opt/ufm/scripts/manage_ufm_plugins.sh show
Plugin ahxmonitor:
Enabled: Yes
Plugin tag: latest
Shared volumes: /opt/ufm/files/log:/log,/opt/ufm/files/conf:/opt/ufm/files/conf
Httpd port: 8910
State: running
The log file ahxmonitor.log is located in folder /opt/ufm/files/log on the host.
Note: The AHX switch hostname (i.e. ahx_devices.switch_name) is the identifier of the AHX device
URL: GET ufmRest/plugin/ahxmonitor/monitor/settings
Response
{
"enable": true,
"interval": "5m",
"ahx_devices": [
{
"switch_name": "mantaray-switch1-01",
"primary_ip": "10.210.10.111",
"secondary_ip": "10.210.20.222",
"alternative_switch_name": "mantaray-switch1-02"
}
]
}
URL: PUT ufmRest/plugin/ahxmonitor/monitor/settings
Content Type: Application/json
Payload
{
"enable": true,
"interval": "1m",
"ahx_devices": [
{
"switch_name": "switch1-01",
"primary_ip": "10.10.1.11",
"secondary_ip": "10.10.2.22",
"alternative_switch_name": "switch1-02"
}
]
}
Status Codes:
| Parameter | Required | Description |
|---|---|---|
| enable | Yes | Enable/Disable AHX monitoring |
| interval | Yes | AHX monitoring interval |
| ahx_devices.switch_name | Yes | AHX switch hostname (as presented in UFM) |
| ahx_devices.primary_ip | Yes | Primary AHX IPv4/IPv6 address |
| ahx_devices.secondary_ip | Yes | Secondary AHX IPv4/IPv6 address |
| ahx_devices.alternative_switch_name | No | Alternative AHX switch hostname (as presented in UFM) |
URL: PATCH ufmRest/plugin/ahxmonitor/monitor/settings
Content Type: Application/json
Payload (example: Update the AHX monitoring interval)
{
"interval": "5m"
}
Status Codes:
URL: DELETE ufmRest/plugin/ahxmonitor/monitor/settings
Status Codes:
URL: DELETE ufmRest/plugin/ahxmonitor/monitor/settings/ahx_devices
Status Codes:
URL: DELETE ufmRest/plugin/ahxmonitor/monitor/settings/ahx_devices/{switch_name}
Status Codes:
URL: GET ufmRest/plugin/ahxmonitor/app/version
Response
{
"version": "2.0.0-3"
}
Content type
Image
Digest
sha256:d0265aed7…
Size
177.3 MB
Last updated
about 4 years ago
docker pull mellanox/ufm-plugin-ahxmonitor