matoy
4cd16708e7
Update requests.pm ( #3044 )
...
azure-cdn-fix
{"code":"BadRequest","message":"Failed to find metric configuration for provider: Microsoft.Cdn, resource Type: profiles, metric: percentage4xx, Valid metrics: RequestCount,ResponseSize,TotalLatency,ByteHitRatio"}
{"code":"BadRequest","message":"Failed to find metric configuration for provider: Microsoft.Cdn, resource Type: profiles, metric: percentage5xx, Valid metrics: RequestCount,ResponseSize,TotalLatency,ByteHitRatio"}
2021-09-06 10:15:58 +02:00
itoussies
7d8a6c789f
fix(plugin): Azure CDN ( #2898 )
2021-06-21 09:45:58 +02:00
itoussies
0706c0f904
Merge pull request #2805 from matoy/new-plugin-for-Azure-CDN-with-4-modes-+-discovery
...
new(plugin): Azure CDN with 4 modes + discovery
2021-06-10 19:37:20 +02:00
itoussies
17d5a5a6eb
Update and rename request.pm to requests.pm
2021-06-10 19:34:35 +02:00
matoy
ac7fa3bbf0
Update cloud/azure/network/cdn/mode/response.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:14:39 +02:00
matoy
b6888c8525
Update cloud/azure/network/cdn/plugin.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:14:23 +02:00
matoy
19b8c7e08f
Update cloud/azure/network/cdn/mode/response.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:14:09 +02:00
matoy
7e5b03cf26
Update cloud/azure/network/cdn/mode/request.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:13:53 +02:00
matoy
c7d32d0250
Update cloud/azure/network/cdn/mode/request.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:13:36 +02:00
matoy
8512a3f78f
Update cloud/azure/network/cdn/mode/request.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:13:24 +02:00
matoy
2cd4f505d0
Update cloud/azure/network/cdn/mode/request.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:13:12 +02:00
matoy
7b6b73d799
Update cloud/azure/network/cdn/mode/request.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:12:59 +02:00
matoy
033b4f648c
Update cloud/azure/network/cdn/mode/request.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:12:46 +02:00
matoy
c7115716f1
Update cloud/azure/network/cdn/mode/request.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:12:35 +02:00
matoy
9b1480fd18
Update cloud/azure/network/cdn/mode/latency.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:12:25 +02:00
matoy
a1e8f3b33d
Update cloud/azure/network/cdn/mode/latency.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:12:15 +02:00
matoy
e7cb7b6c7a
Update cloud/azure/network/cdn/mode/hitratio.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:12:07 +02:00
matoy
5c1b15a37b
Update cloud/azure/network/cdn/mode/hitratio.pm
...
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-09 18:10:55 +02:00
matoy
f13025c6a7
new mode: --mode='backend-health' ( #2795 )
...
* Update plugin.pm
adds a mode to get backends unhealthy host count (FYI: mode backend-status DOES ONLY work on App Gateway v2, not on v1 which are the most deployed globally; app gateway v2 is recent)
* Add files via upload
* Update backendunhealthyhost.pm
* Update backendunhealthyhost.pm
* Update and rename backendunhealthyhost.pm to backendhealth.pm
* Update backendhealth.pm
* Update plugin.pm
* Update cloud/azure/network/appgateway/plugin.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
* Update cloud/azure/network/appgateway/mode/backendhealth.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
* fix help and style
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-05-21 11:33:47 +02:00
matoy
27ce2843dd
Update plugin.pm
2021-05-19 11:27:05 +02:00
Thibault S
9294bd5de6
fix metrics case ( #2807 )
2021-05-19 10:14:23 +02:00
matoy
55e796633a
new plugin for Azure CDN with 4 modes + discovery
...
[xxxcdn]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::network::cdn::plugin --custommode='api' --list-mode
Plugin Description:
Check Microsoft Azure CDP profile service.
Global Options:
--mode Choose a mode.
--dyn-mode
Specify a mode with the path (separated by '::').
--list-mode
List available modes.
--mode-version
Check minimal version of mode. If not, unknown error.
--version
Display plugin version.
--custommode
Choose a custom mode.
--list-custommode
List available custom modes.
--multiple
Multiple custom mode objects (required by some specific modes)
--pass-manager
Use a password manager.
Modes Meta:
multi
Modes Available:
discovery
hit-ratio
latency
request
response
[xxxcdn]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::network::cdn::plugin --custommode='api' --mode='discovery' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='' --resource-group='xxx'
{"end_time":1621344000,"start_time":1621344000,"duration":0,"discovered_items":1,"results":[{"location":"global","sku":[{"value":"Standard_Microsoft","key":"name"}],"name":"xxx","resourceGroup":"xxx","type":"microsoft.cdn/profiles","id":"/subscriptions/xxx/resourceGroups/xxx/providers/microsoft.cdn/profiles/xxx","tags":[]}]}
[xxxcdn]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::network::cdn::plugin --custommode='api' --mode='hit-ratio' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='' --resource-group='xxx' --resource='xxx'
OK: Instance 'xxx' Statistic 'average' Metrics Byte Hit Ratio: 95.27% | 'xxx~average#cdn.byte.hit.percentage'=95.27%;;;0;100
[xxxcdn]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::network::cdn::plugin --custommode='api' --mode='latency' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx'
OK: Instance 'xxx' Statistic 'average' Metrics Total Latency: 1428.45ms | 'xxx~average#cdn.latency.total.milliseconds'=1428.45ms;;;0;
[xxxcdn]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::network::cdn::plugin --custommode='api' --mode='request' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx'
OK: Instance 'xxx' Statistic 'count' Metrics Request count: 118.00 | 'xxx~count#cdn.request.count'=118.00;;;0;
[xxxcdn]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::network::cdn::plugin --custommode='api' --mode='response' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx'
OK: Instance 'xxx' Statistic 'average' Metrics Response Size: 1092832.38Bytes | 'xxx~average#cdn.response.size'=1092832.38Bytes;;;0;
2021-05-18 19:25:39 +02:00
Thibault S
3152331e6c
fix(plugin): azure app gateway - small typo ( #2752 )
2021-04-30 08:54:21 +02:00
Thibault S
236c454379
add(plugin): Azure Application Gateway ( #2745 )
2021-04-29 11:38:29 +02:00
Thibault S
66f69065bb
fix(plugin): Azure FrontDoor help fixes ( #2663 )
2021-03-19 10:03:48 +01:00
Thibault S
448a7243d3
add(plugin): Azure FrontDoor ( #2660 )
2021-03-19 09:39:10 +01:00
qgarnier
35b84c6470
fix carriage return ( #2661 )
2021-03-17 16:35:08 +01:00
Thibault S
61a05110c9
add(plugin): new Azure Plugins ( #2570 )
2021-02-09 10:09:13 +01:00
PendaGTP
31fd542cca
happy new year ( #2579 )
2021-02-08 09:55:50 +01:00
Thibault S
920f5f903f
add(plugin): Azure Load Balancer ( #2536 )
2021-01-25 11:07:53 +01:00
qgarnier
6dcd392c4c
add list-storages + remove carriage return ( #2191 )
2020-09-04 12:51:07 +02:00
Colin Gagnaire
ac6acf237e
add health to azcli custommode
2020-07-17 16:21:19 +02:00
garnier-quentin
db74d39b76
simplify class counters naming
2020-05-13 14:18:28 +02:00
garnier-quentin
dccdc34b0a
happy new year!
2020-01-06 15:19:23 +01:00
Colin Gagnaire
851f23018c
remove health check for some azure plugin
2019-10-15 17:08:10 +02:00
Colin Gagnaire
c3f8d36ff0
add azure resource health check
2019-10-15 15:11:14 +02:00
Colin Gagnaire
940a3f2079
add a discovery mode per azure services
2019-10-01 14:38:15 +02:00
garnier-quentin
1e7e8c1277
move default mode
2019-06-28 16:38:24 +02:00
garnier-quentin
8100ae4467
clean code
2019-03-26 18:11:01 +01:00
Colin Gagnaire
742d015537
several azure fixes
2019-02-01 17:31:45 +01:00
Colin Gagnaire
5966dd5279
add azure virtual network service
2019-01-25 17:07:13 +01:00
Colin Gagnaire
3b11f9afe1
enh azure vpn gateway service
2019-01-25 15:22:06 +01:00
Colin Gagnaire
1df39f1ad4
add azure vpn gateway, fix expressroute circuit status
2019-01-25 12:06:51 +01:00
Colin Gagnaire
f936cb9f9a
add azure expressroute service
2019-01-24 17:55:26 +01:00
Colin Gagnaire
f42b9d807c
enh azure plugins, add tags on list modes
2019-01-18 18:19:54 +01:00
garnier-quentin
d10a5f1ec1
update copyright date
2019-01-09 09:57:11 +01:00
Colin Gagnaire
fffd250d5f
enh azure plugin adding new custom mode ( #1248 )
2018-11-30 16:24:14 +01:00
Colin Gagnaire
83050b55b9
fix azure plugin typos, helpers and other ( #1159 )
...
* fix several typos
* fix several typos, helpers, and other
2018-09-28 16:56:17 +02:00
Colin Gagnaire
ed2dd85ef4
azure plugin fixes, paths break change ( #1154 )
...
* add proxyurl option, update cli installation process
* fix label and perfdata names
* fix label and perfdata names
* change paths to providers/services
* fix vm list resources mode path
2018-09-27 15:10:48 +02:00
Colin Gagnaire
d85a93b99f
add microsoft azure plugin, wip ( #1097 )
2018-08-21 14:14:20 +00:00