Commit Graph

6340 Commits

Author SHA1 Message Date
qgarnier 2681fc0d00
fix(athonet/epc): mode license - illegal division by zero (#2844) 2021-06-03 09:04:15 +02:00
Thibault S de5c9ec642
fix(custom): Azure API fix Loganalytics request (#2842) 2021-06-03 08:59:34 +02:00
qgarnier 6d2dcb80f0
break(infoblox/snmp): remove cpu/memory modes - add system mode (#2839) 2021-06-02 11:35:56 +02:00
Simon Bomm 0731ed41ff
enh(plugin):allow nmap command options tuning (#2838)
* + allow nmap command options tuning

* + fix typo
2021-06-01 22:37:08 +02:00
Thibault S 7ddd52b64b
Merge pull request #2819 from matoy/Azure-Appserviceplan-new-mode
enh(plugin): Appserviceplan new mode "queue"
2021-05-27 17:54:21 +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
Simon Bomm 5216525e8b
reorg(plugin)make nmap a dedicated plugin (#2834)
Co-authored-by: Thibault S <48209914+thibaults-centreon@users.noreply.github.com>
2021-05-27 17:46:53 +02:00
Thibault S 216f849965
fix(plugin): reorder modes 2021-05-27 17:41:48 +02:00
qgarnier b463fd599d
add(plugin): tplink snmp (#2831) 2021-05-26 14:57:42 +02:00
qgarnier 154a0913f0
enh(core): add perfdata eval function (#2829) 2021-05-25 16:41:42 +02:00
qgarnier 40affe6649
fix(powershell): double-quote escape (#2828) 2021-05-25 14:54:12 +02:00
qgarnier 8a3ea635fc
enh(varnish): add compatibility 6.6.x version (#2827) 2021-05-25 13:24:57 +02:00
qgarnier 5b788acf23
en(perfdata): some minor perfdata changes + fix (#2825) 2021-05-25 09:02:17 +02:00
itoussies deb7a381b7
Apps squid snmp metricsv2 (#2823)
* enh(plugin): Squid SNMP metricsv2

* enh(plugin): Squid SNMP metricsv2

* nlabel names fix
2021-05-24 17:58:01 +02:00
itoussies d41f68617a
enh(plugin): SAHI Pro REST API metricsv2 (#2821)
* enh(plugin): SAHI Pro REST API metricsv2

* nlabel name fix
2021-05-24 17:56:49 +02:00
UrBnW b9d9a83ae2
enh(Synology) Use disk name rather than its ID (#2746) 2021-05-24 14:47:15 +02:00
itoussies 85382a9b7b
enh(plugin): Slack REST API metricsv2 (#2822) 2021-05-24 14:12:40 +02:00
itoussies b3d9191f2c
enh(plugin): PVX Rest API metricsv2 (#2820)
* enh(plugin): PVX Restapi metricsv2

* nlabel name fix
2021-05-24 11:47:28 +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
UrBnW 17283f2940
enh(equallogic) add time mode (#2817) 2021-05-21 14:12:02 +02:00
Simon Bomm 68f0b30b2c
+ add shields to readme 2021-05-21 11:51:49 +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
garnier-quentin 0eabdfe8a8 prepare release 2021-05-20 10:25:21 +02:00
qgarnier 12687ccfa0
enh(server/fujitsu): add disk and raid component (#2811) 2021-05-20 10:15:03 +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
Thibault S 9294bd5de6
fix metrics case (#2807) 2021-05-19 10:14:23 +02:00
qgarnier def5ed1352
enh(versa): add cache system + paths mode (#2806) 2021-05-19 09:24:59 +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
qgarnier 9125d889e4
enh(core): add filter-perfdata-adv option (#2800) 2021-05-17 10:15:53 +02:00
qgarnier 1e5ca98a62
enh(bind9/web): indent/typo (#2799) 2021-05-17 09:07:05 +02:00
Benoit Poulet c1e15de68b
enh(bind9/web): add counters, and some rewrites (#2788) 2021-05-17 08:59:03 +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
qgarnier 5fd79cd307
fix(mongodb): collection-statistics mode - filter on collection only (#2787) 2021-05-11 16:56:53 +02:00