centreon-plugins/cloud/azure/management/apimanagement
matoy bcf92fb09a
new mode "capacity" for Azure APIM (#2803)
* new mode "capacity" for Azure APIM

new mode "capacity" for Azure APIM
gives the percentage of used capacity of the APIM

[root@svzam-cenpol001 apimanagement]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::management::apimanagement::plugin --custommode='api' --mode='capacity' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --warning-capacity-percentage='80' --critical-capacity-percentage='90'
OK: Instance 'xxx' Statistic 'average' Metrics Capacity: 2.46% | 'xxx#apimanagement.capacity.percentage'=2.46%;0:80;0:90;0;

* Add files via upload

* Update plugin.pm

* Update cloud/azure/management/apimanagement/mode/capacity.pm

Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>

* Update cloud/azure/management/apimanagement/mode/capacity.pm

Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>

* Update cloud/azure/management/apimanagement/mode/capacity.pm

Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>

* Update cloud/azure/management/apimanagement/mode/capacity.pm

Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>

Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-05-21 11:33:29 +02:00
..
mode new mode "capacity" for Azure APIM (#2803) 2021-05-21 11:33:29 +02:00
plugin.pm new mode "capacity" for Azure APIM (#2803) 2021-05-21 11:33:29 +02:00