Commit graph

7 commits

Author SHA1 Message Date
Pierre Verkest
d04356379e allow to configure OPNSense REST API calls timeout per REST API endpoint
two new paramters available    and
   parameters.
2023-09-06 10:43:10 +02:00
Pierre Verkest
d56f8dba6d Allow empty string interface to not call the OPNsense traffic diagnostic REST API endpoint 2023-09-06 09:09:41 +02:00
Pierre Verkest
76b1338ae6 Create opnsense_server_ha_state metric
in order to replace
 and  that will be removed
in version 1.0.0.

Also use Enum to store possible OPNsense HA states to avoid typo
2023-09-04 00:06:17 +02:00
Pierre Verkest
7501a0d9b8 Allow to monitor multiple interfaces 2023-09-03 23:38:34 +02:00
Pierre Verkest
091ee429f1 Add role label in metrics
I expecte to refactor and merge metrics together so
later those labels will be required
2023-09-03 21:52:19 +02:00
Pierre Verkest
65179c8b45 use proper api endpoint to compute rate trafic on wan interface 2023-09-02 02:16:27 +02:00
Pierre Verkest
15bb93d8a4 First implementation 2023-09-01 13:27:55 +02:00