centreon-plugins
centreon-plugins copied to clipboard
add(mode): stormshield api vpn tunnels
Description
New mode to monitor stormshield vpn tunnels.
Type of change
- [ ] Patch fixing an issue (non-breaking change)
- [X] New functionality (non-breaking change)
- [ ] Breaking change (patch or feature) that might cause side effects breaking part of the Software
Target serie
- [X] 22.10.x
- [X] 23.04.x
- [X] 23.10.x
- [X] 24.04.x
- [X] master
How this pull request can be tested ?
Stormshield v4 is needed (v3 doesn't have API commands for monitoring vpn tunnels).
$ perl centreon_plugins.pl --plugin=network::stormshield::api::plugin --mode=list-vpn-tunnels --hostname=10.0.0.1 --api-username=admin --api-password=xxxx --verbose --disco-show
$ perl centreon_plugins.pl --plugin=network::stormshield::api::plugin --mode=vpn-tunnels --hostname=10.0.0.1 --api-username=admin --api-password=xxxx --verbose --filter-name="xxx"
Checklist
Community contributors & Centreon team
- [X] I have followed the coding style guidelines provided by Centreon
- [ ] I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
- [ ] I have commented my code, especially hard-to-understand areas of the PR.
- [ ] I have rebased my development branch on the base branch (master, maintenance).