Commit Graph

509 Commits

Author SHA1 Message Date
matoy 657c1afcfc
Update cloud/azure/storage/storagesync/mode/sessions.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:54:48 +02:00
matoy 248ac60289
Update cloud/azure/storage/storagesync/plugin.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:54:40 +02:00
matoy 787c1aec67
Update cloud/azure/storage/storagesync/mode/sessions.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:54:32 +02:00
matoy 440875b70f
Update cloud/azure/storage/storagesync/mode/sessions.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:54:25 +02:00
matoy 97a75bf460
Update cloud/azure/storage/storagesync/mode/sessions.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:54:18 +02:00
matoy ac0995a3ee
Update cloud/azure/storage/storagesync/mode/heartbeat.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:54:08 +02:00
matoy 6f27c2e2e9
Update cloud/azure/storage/storagesync/mode/sessions.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:54:01 +02:00
matoy 1b872e0704
Update cloud/azure/storage/storagesync/mode/heartbeat.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:53:55 +02:00
matoy 71ec2c1d16
Update cloud/azure/storage/storagesync/mode/heartbeat.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:53:49 +02:00
matoy 45102dd726
Update cloud/azure/storage/storagesync/mode/sessions.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:53:41 +02:00
matoy 6e13a28b66
Update cloud/azure/storage/storagesync/mode/sessions.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:53:35 +02:00
matoy ec0aabd22c
Update cloud/azure/storage/storagesync/plugin.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:53:30 +02:00
matoy bf2dc8488e
Update cloud/azure/storage/storagesync/mode/heartbeat.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:53:25 +02:00
matoy 7a64fe5be8
Update cloud/azure/storage/storagesync/mode/heartbeat.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:53:16 +02:00
matoy 2327655655
Update cloud/azure/storage/storagesync/mode/sessions.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:53:10 +02:00
Thibault S 22499c6904
Merge pull request #2808 from matoy/new-plugin-for-Azure-Redis-Cache
new(plugin): Azure Redis Cache with 10 modes + discovery
2021-06-08 09:05:22 +02:00
Simon Bomm f795511e40
enh(plugin)cAdvisor plugin enhancements (#2855) 2021-06-07 09:57:09 +02:00
Thibault S db64612f78
fix(mode): label typo for 'errors' mode 2021-06-04 14:24:13 +02:00
thibaults-centreon 1c7f00f471 enh(plugin): renaming, style and new health mode 2021-06-04 11:42:30 +02:00
Thibault S de5c9ec642
fix(custom): Azure API fix Loganalytics request (#2842) 2021-06-03 08:59:34 +02:00
matoy feedaab419
Update cloud/azure/database/redis/mode/cachelatency.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:28:24 +02:00
matoy 4f3d50e9ea
Update cloud/azure/database/redis/mode/cachehits.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:28:13 +02:00
matoy 7f278c9a3f
Update cloud/azure/database/redis/mode/serverload.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:28:02 +02:00
matoy c84c2ccd8e
Update cloud/azure/database/redis/mode/serverload.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:27:47 +02:00
matoy 5b6c63d7fe
Update cloud/azure/database/redis/mode/operations.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:27:35 +02:00
matoy 724e8b4185
Update cloud/azure/database/redis/mode/operations.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:27:23 +02:00
matoy e4115875e6
Update cloud/azure/database/redis/mode/operations.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:27:09 +02:00
matoy fd1e898ed2
Update cloud/azure/database/redis/mode/memory.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:26:59 +02:00
matoy e421edf111
Update cloud/azure/database/redis/mode/errors.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:26:49 +02:00
matoy b2e9c634d9
Update cloud/azure/database/redis/mode/cachethroughput.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:26:26 +02:00
matoy 2ccae77253
Update cloud/azure/database/redis/mode/connectedclients.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:26:13 +02:00
matoy 0ff461a917
Update cloud/azure/database/redis/mode/cachethroughput.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:26:02 +02:00
matoy c2a4053866
Update cloud/azure/database/redis/mode/errors.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:25:44 +02:00
matoy 68ac59d0c8
Update cloud/azure/database/redis/mode/cachethroughput.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:25:27 +02:00
matoy aba4b52772
Update cloud/azure/database/redis/mode/cachelatency.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:25:15 +02:00
matoy 160fec4d14
Update cloud/azure/database/redis/mode/cachehits.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:25:04 +02:00
matoy 7f5a7bcc1b
Update cloud/azure/database/redis/mode/connectedclients.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:24:49 +02:00
matoy 9325889f88
Update cloud/azure/database/redis/mode/cachehits.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:24:37 +02:00
matoy 25cfc658d6
Update cloud/azure/database/redis/mode/serverload.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:21:25 +02:00
matoy c55889b1a0
Update cloud/azure/database/redis/mode/memory.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:21:20 +02:00
matoy 775e652f9f
Update cloud/azure/database/redis/mode/errors.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:21:15 +02:00
matoy 63f3a13c70
Update cloud/azure/database/redis/mode/cpu.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:21:08 +02:00
matoy bc475cbad7
Update cloud/azure/database/redis/mode/cpu.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:21:02 +02:00
matoy 6a487e4a6f
Update cloud/azure/database/redis/mode/connectedclients.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:20:55 +02:00
matoy c26a9196cc
Update cloud/azure/database/redis/mode/cachethroughput.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:20:49 +02:00
matoy 32bfac8f97
Update cloud/azure/database/redis/mode/cachethroughput.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:20:42 +02:00
matoy 1b660f31d8
Update cloud/azure/database/redis/mode/cachelatency.pm
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-06-01 18:20:29 +02:00
Thibault S 286d7d1a15
fix(mode): fix help 2021-05-27 17:53:07 +02:00
Thibault S 4e0098ef5a
enh(mode): metrics nlabel adjustments 2021-05-27 17:50:50 +02:00
Thibault S 216f849965
fix(plugin): reorder modes 2021-05-27 17:41:48 +02:00
matoy cc7cc42713
Azure Appserviceplan new mode
Azure Appserviceplan new mode:

[ appserviceplan]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::web::appserviceplan::plugin --custommode='api' --mode='queue' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --warning-disk-queue-length='8' --critical-disk-queue-length='9'
OK: Instance 'xxx' Statistic 'average' Metrics Http Queue Length: 0, Disk Queue Length: 0 | 'AEUW-Diorpress-prd-ServicePlan~average#appserviceplan.http.queue.length'=0;;;0; 'AEUW-Diorpress-prd-ServicePlan~average#appserviceplan.disk.queue.length'=0;0:8;0:9;0;
2021-05-21 16:03:11 +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 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
Thibault S 94ef1ce305
fix(mode): remove inoperative metrics (#2816) 2021-05-21 11:32:42 +02:00
Thibault S a4afbd1285
fix(mode): fix interval on mode status (#2814) 2021-05-21 09:19:11 +02:00
matoy 359f66677f
New plugin for StorageSync service (discovery, 2 modes, 3 metrics)
New plugin for StorageSync service (discovery, 2 modes, 3 metrics)

[]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::storage::storagesync::plugin --custommode='api' --mode='heartbeat' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --critical-heartbeat='1:'
OK: Instance 'xxx' Statistic 'maximum' Metrics Heartbeat: 1.00 | 'xxx~maximum#storage.storagesync.heartbeat'=1.00;;1:;0;

[]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::storage::storagesync::plugin --custommode='api' --mode='sessions' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --warning-item-errors='15' --critical-item-errors='20' --zeroed
OK: Instance 'xxx' Statistic 'total' Metrics Item errors: 0.00, Files Synced: 0.00 | 'xxx~total#storage.storagesync.item.errors'=0.00;0:15;0:20;0; 'xxx~total#storage.storagesync.files.synced'=0.00;;;0;
2021-05-21 09:01:28 +02:00
itoussies 0622a40076
Merge pull request #2802 from matoy/patch-6
fix(plugin): Azure DB for MySQL
2021-05-19 16:06:02 +02:00
itoussies 5702f1f653
Update replication.pm 2021-05-19 16:00:56 +02:00
itoussies 760a967c78
Update connections.pm 2021-05-19 15:58:25 +02:00
matoy a42bae69d4
Update cloud/azure/database/mysql/mode/replication.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-05-19 15:08:40 +02:00
matoy 9a16c86ba2
Update cloud/azure/database/mysql/mode/storage.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-05-19 15:08:27 +02:00
matoy 7f70613928
new plugin for Azure Redis Cache with 10 modes + discovery
[root@svzam-cenpol001 mode]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::database::redis::plugin --custommode='api' --list-mode

Plugin Description:
    Check Microsoft Azure Redis Cache 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:
   cache-hits
   cache-latency
   cache-miss-rate
   cache-throughput
   connected-clients
   cpu
   discovery
   errors
   memory
   operations
   server-load


[xxx redis]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::database::redis::plugin --custommode='api' --mode='discovery' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx'
{"end_time":1621416611,"start_time":1621416611,"duration":0,"discovered_items":1,"results":[{"location":"westeurope","name":"xxx","resourceGroup":"xxx","type":"Microsoft.Cache/Redis","id":"/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Cache/Redis/xxx","tags":[]}]}

[xxx mode]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::database::redis::plugin --custommode='api' --mode='cache-hits' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --warning-cache-misses='800' --critical-cache-misses='900'
OK: Instance 'xxx' Statistic 'total' Metrics Cache Misses: 426.00, Cache Hits: 494.00 | 'xxx~total#redis.cache.misses.count'=426.00;0:800;0:900;0; 'xxx~total#redis.cache.hits.count'=494.00;;;0;

[xxx mode]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::database::redis::plugin --custommode='api' --mode='cache-latency' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='cdc-abcdior-redis-eu-dev' --warning-cache-latency='8000' --critical-cache-latency='9000'
OK: Instance 'cdc-abcdior-redis-eu-dev' Statistic 'average' Metrics Cache Latency: 2190.66μs | 'cdc-abcdior-redis-eu-dev~average#redis.cache.latency.microseconds'=2190.66μs;0:8000;0:9000;0;

xxx mode]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::database::redis::plugin --custommode='api' --mode='cache-miss-rate' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --warning-cache-miss-rate='40' --critical-cache-miss-rate='50'
OK: Instance 'xxx' Statistic 'average' Metrics Cache Miss Rate: 14.00% | 'xxx~average#redis.cache.miss.rate'=14.00%;0:40;0:50;0;100

[xxx mode]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::database::redis::plugin --custommode='api' --mode='connected-clients' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --warning-connected-clients='800' --critical-connected-clients='900'
OK: Instance 'xxx' Statistic 'average' Metrics Connected Clients: 25.90 | 'xxx~average#redis.cache.connected.clients.count'=25.90;0:800;0:900;0;

[xxx mode]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::database::redis::plugin --custommode='api' --mode='server-load' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --warning-server-load-percentage='80' --critical-server-load-percentage='90'
OK: Instance 'xxx' Statistic 'maximum' Metrics Server Load: 1.00% | 'xxx~maximum#redis.cache.server-load'=1.00%;0:80;0:90;0;100

[xxx mode]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::database::redis::plugin --custommode='api' --mode='operations' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --warning-operations-per-second='80' --critical-operations-per-second='90'
OK: Instance 'xxx' Statistic 'maximum' Metrics Operations per seconds: 8.80op/s | 'xxx~average#redis.cache.operations.persecond'=8.80op/s;0:80;0:90;0;

[xxx mode]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::database::redis::plugin --custommode='api' --mode='cpu' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --warning-cpu-usage-percentage='80' --critical-cpu-usage-percentage='90'
OK: Instance 'xxx' Statistic 'maximum' Metrics CPU Usage Percentage: 13.00% | 'xxx~maximum#redis.cache.cpu.usage.percentage'=13.00%;0:80;0:90;0;100

[xxx mode]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::database::redis::plugin --custommode='api' --mode='memory' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --warning-memory-usage-percentage='80' --critical-memory-usage-percentage='90'
OK: Instance 'xxx' Statistic 'maximum' Metrics Memory Usage Percentage: 1.00% | 'xxx~maximum#redis.cache.memory.usage.percentage'=1.00%;0:80;0:90;0;100

[xxx mode]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::database::redis::plugin --custommode='api' --mode='errors' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --critical-errors-count='1'
OK: Instance 'xxx' Statistic 'total' Metrics Errors: 0.00 | 'xxx~total#redis.cache.errors.count'=0.00;;;0;

[xxx mode]# /usr/lib/centreon/plugins//centreon-plugins/centreon_plugins.pl --plugin=cloud::azure::database::redis::plugin --custommode='api' --mode='cache-throughput' --subscription='xxx' --tenant='xxx' --client-id='xxx' --client-secret='***' --resource-group='xxx' --resource='xxx' --warning-cache-read-throughput='800000' --critical-cache-read-throughput='900000'
OK: Instance 'xxx' Statistic 'maximum' Metrics Cache Read Throughput: 352527.00B/s, Cache Write Throughput: 133482.00B/s | 'xxx~maximum#redis.cache.read.throughput'=352527.00B/s;0:800000;0:900000;0; 'xxx~maximum#redis.cache.write.throughput'=133482.00B/s;;;0;
2021-05-19 14:17:36 +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
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