fortigate_exporter
fortigate_exporter copied to clipboard
Switch-Controller Metric Addition
Hi,
Currently, switch-controller metrics are not yet added, can you please add the following metrics.
/api/v2/monitor/switch-controller/managed-switch /api/v2/monitor/switch-controller/managed-switch/status /api/v2/monitor/switch-controller/managed-switch/port-stats /api/v2/monitor/switch-controller/managed-switch/update /api/v2/monitor/switch-controller/managed-switch/restart /api/v2/monitor/switch-controller/managed-switch/poe-reset /api/v2/monitor/switch-controller/managed-switch/faceplate-xml /api/v2/monitor/switch-controller/managed-switch/factory-reset /api/v2/monitor/switch-controller/managed-switch/dhcp-snooping /api/v2/monitor/switch-controller/managed-switch/transceivers /api/v2/monitor/switch-controller/managed-switch/health /api/v2/monitor/switch-controller/managed-switch/cable-status /api/v2/monitor/switch-controller/managed-switch/models
/api/v2/monitor/switch-controller/fsw-firmware /api/v2/monitor/switch-controller/fsw-firmware/download /api/v2/monitor/switch-controller/fsw-firmware/push /api/v2/monitor/switch-controller/fsw-firmware/upload
Can anyone help me on this, it was mentioned that if we need extra metrics then just open an issue.
I have opened a issue last week but there is no response from anyone.
Hi @Shahab5737 - well, opening an issue is certainly the first step to get the metrics in the exporter. Next step is waiting for somebody to implement it. Nobody is getting paid to work on this software, so that step can take everything from a few days to never. Best is of course to implement it yourself and submit a PR for it to be added for everyone else to use
Hi, had a brief look at the port_stats. You can have a look/test. Any feedback appreciated. https://github.com/Jurka007/fortigate_exporter/tree/fortiswitch_port_stats
Hi, had a brief look at the port_stats. You can have a look/test. Any feedback appreciated. https://github.com/Jurka007/fortigate_exporter/tree/fortiswitch_port_stats
Great! Thanks for sharing this, is this submited for PR? It would be great for all folks out there looking for this!