Commit Graph

6313 Commits

Author SHA1 Message Date
matoy 524926cc47 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 08ca742f3c 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 4d08d7deb9 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 3b0d881ec4 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 9ca4fe6671 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 59220622bc 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 84a2148fd0 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 f807e43840 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 d7182f3212 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 454dac3155 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 fa67c1862c 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 b62336d8aa 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 0e4f45998b Update plugin.pm 2021-05-19 11:27:05 +02:00
matoy 13d7bfead4 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 9bfa1203e8 Update storage.pm (#2804) 2021-05-18 17:51:10 +02:00
itoussies 2f00489272 add(plugin): Azure Application Insights (#2762) 2021-05-17 20:18:38 +02:00
qgarnier 5e4eb16eda enh(core): add filter-perfdata-adv option (#2800) 2021-05-17 10:15:53 +02:00
qgarnier 1b9a1070ce enh(bind9/web): indent/typo (#2799) 2021-05-17 09:07:05 +02:00
Benoit Poulet 6e1d4bc3f5 enh(bind9/web): add counters, and some rewrites (#2788) 2021-05-17 08:59:03 +02:00
itoussies b26dc5847d Deleting 'health' mode reference in plugin.pm (#2792) 2021-05-12 13:37:51 +02:00
matoy b015086c1c Update memory.pm (#2790)
removal of one extra quote in example (2nd warning-app-memory)
2021-05-12 08:09:48 +02:00
matoy 2e20bcade4 Update vaultcapacity.pm (#2789)
missing "-percentage" in examples.
2021-05-12 08:08:59 +02:00
qgarnier 8f60bcb1c6 fix(mongodb): collection-statistics mode - filter on collection only (#2787) 2021-05-11 16:56:53 +02:00
qgarnier e6248a99f8 enh(printers/standard/snmp): add endian option for printers-errors + refactoring of cover-status mode (#2786) 2021-05-11 16:17:40 +02:00
qgarnier c52dca389b fix(centreon/local): metaservice mode - set default value for metric name (#2783) 2021-05-11 09:09:48 +02:00
qgarnier 7866300a6d enh(paloalto/snmp): mode sessions - add filter for vsys name (#2782) 2021-05-11 08:46:51 +02:00
qgarnier 970652b191 del(kayako): remove plugin (#2779) 2021-05-07 16:13:57 +02:00
qgarnier d0d56641e4 fix(printers/standard): markersupply mode - illegal division (#2778) 2021-05-07 15:37:32 +02:00
qgarnier 6557e342ab add(plugin): ubiquiti unifi snmp (#2776) 2021-05-07 14:30:07 +02:00
qgarnier a9f251bdb5 harden(core/options): use package Pod::Simple::Search than legacy Pod::Find (#2775) 2021-05-07 10:33:52 +02:00
qgarnier 58755a7ef6 enh(protocol/x509): certificate mode - add default value when some attributes missing (#2773) 2021-05-06 17:14:05 +02:00
itoussies 94ac4b3981 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
garnier-quentin c597b0920d enh(doc): update changelog 2021-05-06 11:30:18 +02:00
qgarnier b5ae2ff417 enh(protocol/snmp): collection mode - add sampling system (#2772) 2021-05-06 11:02:44 +02:00
Thibault S a03662289f add(plugin): Azure App Service Plan (#2765) 2021-05-05 22:17:36 +02:00
itoussies d92d4309b6 add(plugin): Azure Management ApiManagement (#2766) 2021-05-05 21:50:21 +02:00
Thibault S 456e681510 add(plugin): Azure Cosmos DB account (#2770) 2021-05-05 21:46:52 +02:00
Thibault S 923fd66b9f fix(plugin): SignalR help fixes (#2768) 2021-05-05 21:39:43 +02:00
garnier-quentin 43aeca2a6a enh(protocol/snmp): collection mode - update todo 2021-05-04 16:04:48 +02:00
qgarnier 6717538d17 enh(protocol/snmp): collection mode - add constants, add custom methods (#2764) 2021-05-04 15:18:27 +02:00
qgarnier 9cadcd602a enh(linux/local): add ssh check-plugin mode (#2763) 2021-05-04 11:13:25 +02:00
qgarnier 029144ab21 add(plugin): cisco wap snmp (#2760) 2021-04-30 14:06:55 +02:00
qgarnier 962a60531b enh(equallogic/snmp): add storage extra informations (#2759) 2021-04-30 11:37:05 +02:00
qgarnier 3a2bbd3cb4 fix(cisco/ssms): licenses mode - illegal division by zero (#2758)
Fix #2755
2021-04-30 10:22:07 +02:00
qgarnier e2cae4848c enh(ntp): add epoch support time (#2756) 2021-04-30 10:06:53 +02:00
qgarnier c2516bb4e1 fix(veeam): jobs mode - unknown jobs type (#2754)
Fix #2743
2021-04-30 09:13:53 +02:00
Thibault S 6c062219bb fix(plugin): azure app gateway - small typo (#2752) 2021-04-30 08:54:21 +02:00
qgarnier 0305f486bb fix(plugin): commvault commserve rest api - destClientName attribute not always present (#2753)
Fix #2730
2021-04-30 08:53:44 +02:00
qgarnier b1cb95a079 enh(protocol/x509): add ipv6 support for subjectAltNames (#2749) 2021-04-29 15:26:46 +02:00
qgarnier 9f2680ba45 enh(pacemaker): crm mode default threshold update (#2748) 2021-04-29 12:32:02 +02:00