fortigate_exporter
fortigate_exporter copied to clipboard
Metrics to detect a device failover
With the following endpoint /api/v2/monitor/system/ha-checksums we would be able to check which role (master/slave) has each node.
It would be nice to have the following information:
- is_manage_master
- serial_no
Having the node name would be also good but this information is not provided into the same api endpoint...
If you think it could be useful for other people I would be happy to have this information too.
Thank you very much for this software!
Hi,
The role definitely feels like something we should have, I was surprised to learn that we don't - at least I can't find a metric for it now straight away. For serial, we already have it in fortigate_ha_member_info.
Are you able to contribute an example JSON dump from the relevant API endpoint? That way somebody can add the metric