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 |
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 |
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 |