545 Commits

Author SHA1 Message Date
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
itoussies
fb442bb775
Update storage.pm (#2804) 2021-05-18 17:51:10 +02:00
itoussies
3ea61efaad
add(plugin): Azure Application Insights (#2762) 2021-05-17 20:18:38 +02:00
matoy
b2159b0a9e
Update storage.pm 2021-05-17 17:54:33 +02:00
matoy
12eb26f7c5
Update connections.pm 2021-05-17 17:47:57 +02:00
matoy
8a1c6e9a67
Update replication.pm 2021-05-17 17:47:38 +02:00
matoy
e789b325e3
Update storage.pm 2021-05-17 17:30:55 +02:00
matoy
9a2a4d24cd
Update replication.pm 2021-05-17 17:30:20 +02:00
matoy
014e03f310
Update connections.pm
fix ; $metric_type (servers, flexibleServers) don't exist in $metrics_mapping hash (active_connections, connections_failed)
same bug in several modes of this plugin.
2021-05-17 17:27:02 +02:00
itoussies
250e391136
Deleting 'health' mode reference in plugin.pm (#2792) 2021-05-12 13:37:51 +02:00
matoy
37bf9b7f7d
Update memory.pm (#2790)
removal of one extra quote in example (2nd warning-app-memory)
2021-05-12 08:09:48 +02:00
matoy
1862e1099d
Update vaultcapacity.pm (#2789)
missing "-percentage" in examples.
2021-05-12 08:08:59 +02:00
itoussies
a7cd8142da
add(plugin): Azure Database for MySQL (#2771)
* add(plugin): Azure Database for MySQL

* - remove extra tab

* Default value fix

Co-authored-by: Simon Bomm <sbomm@centreon.com>
2021-05-06 14:24:00 +02:00
Thibault S
a2cce9b7a0
add(plugin): Azure App Service Plan (#2765) 2021-05-05 22:17:36 +02:00
itoussies
1353ccfd3b
add(plugin): Azure Management ApiManagement (#2766) 2021-05-05 21:50:21 +02:00
Thibault S
6dda5bfe0d
add(plugin): Azure Cosmos DB account (#2770) 2021-05-05 21:46:52 +02:00
Thibault S
bea0aca336
fix(plugin): SignalR help fixes (#2768) 2021-05-05 21:39:43 +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
qgarnier
0f80b9ea03
enh(aws): add assume role option for paws custommode (#2734) 2021-04-23 10:24:53 +02:00
matoy
c2ddf8bb4c
Update kubectl.pm (#2733)
sub kubernetes_list_ingresses ADDED (it was missing comparing to api.pm)
2021-04-23 10:01:22 +02:00
qgarnier
cf2b2c162e
fix(aws/health): events mode - limit issue with paws (#2732) 2021-04-23 09:37:07 +02:00
qgarnier
0df621c812
fix(aws/health): events mode - filter issue with paws custommode (#2731) 2021-04-23 09:09:14 +02:00
Thibault S
e2ec119a86
add(plugin): Azure Discover meta Plugin (#2725) 2021-04-21 07:53:58 +02:00
Simon Bomm
b80a25b8f8
+ use metric-namespace correctly
Fix https://github.com/centreon/centreon-plugins/issues/2719
2021-04-19 14:38:40 +02:00
itoussies
60bff45ea3 help fix 2021-04-16 17:22:02 +02:00
qgarnier
f2438e7296
Fix #2690 (#2703) 2021-04-12 08:51:54 +02:00
qgarnier
2fd7bbb451
fix csv encoding (#2696) 2021-04-01 15:45:26 +02:00
qgarnier
b0b55a27cc
Secure plugins (#2691) 2021-04-01 09:48:14 +02:00
itoussies
0902fe55a2
add(plugin): Azure Functions (#2673) 2021-03-30 09:29:27 +02:00
petneli
e6535f8cc3
enh(plugin) add metricnamespace option to Azure Monitor get-metric mode (#2675)
* Added metricnamespace as parameter to the Azure Metrics script

* Adjusted azcli.pm + added count as aggregation
2021-03-30 08:28:11 +02:00
itoussies
5c6abd70a6
add(plugin): Azure App Service (#2669)
* add(plugin)azure

* nlabel fixes, memory mode fix

* commom/appservice creation folder
2021-03-25 20:47:38 +01:00
Thibault S
e157f003c1
add(plugin): Azure EventHub (#2671) 2021-03-25 20:40:14 +01:00
itoussies
d131e60a18
Add(epp) Azure SQL Managed Instance (#2665) 2021-03-22 15:27:26 +01:00
Thibault S
2454d090ba
Update plugin.pm 2021-03-22 14:04:14 +01:00
Simon Bomm
dd8f70fe02 fix az-servicebus-namespace-mode 2021-03-22 13:58:29 +01: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
itoussies
034b1478b9
Add(plugin): Azure DevTools App Configuration (#2659) 2021-03-17 21:23:00 +01:00
qgarnier
35b84c6470
fix carriage return (#2661) 2021-03-17 16:35:08 +01:00
Thibault S
fb9abfb257
fix(mode): Azure SignalR typo (#2657) 2021-03-17 10:08:00 +01:00
Thibault S
4f2ab315fe
add(plugin): New Azure Plugins (#2656)
Co-authored-by: itoussies <itoussies@centreon.com>
Co-authored-by: Simon Bomm <sbomm@centreon.com>
2021-03-16 22:02:43 +01:00
Colin Gagnaire
7318bf4d68
enh(cloud/kubernetes): align services wording (#2646) 2021-03-11 14:16:13 +01:00
Colin Gagnaire
4fb907b3e3
enh(cloud/kubernetes): use environment variable for config file, add new modes, rename discovery, force new perfdata (#2643)
* enh(cloud/kubernetes): use environment variable for config file

* enh(cloud/kubernetes): add new modes, rename discovery, for new perfdata

* enh(cloud/kubernetes): remove dashes

* enh(cloud/kubernetes): remove default config file

* enh(cloud/kubernetes): re-add default config file and use File::HomeDir if needed

* enh(cloud/kubernetes): add context for kubectl custommode
2021-03-11 09:02:31 +01:00
Colin Gagnaire
be792e87b9
enh(cloud/kubernetes): map timeout option to kubectl command line (#2630) 2021-03-02 16:45:51 +01:00
Colin Gagnaire
fae986f19b
enh(cloud/kubernetes): add proxy and debug management to kubectl custommode (#2624) 2021-03-01 15:46:39 +01:00
Colin Gagnaire
2b157f679f
enh(cloud/kubernetes): add metrics to node-usage mode (#2623) 2021-03-01 15:46:17 +01:00
Colin Gagnaire
635581053a
fix(cloud/kubernetes): fix kubectl custommode return ref (#2620) 2021-02-26 16:20:19 +01:00
garnier-quentin
1cb09f0adc some fix on gcp 2021-02-26 11:36:30 +01:00
Colin Gagnaire
c78532b8b6
enh(cloud/kubernetes): add nodes discovery, implement API pagination (#2618) 2021-02-26 11:30:49 +01:00