Commit Graph

24 Commits

Author SHA1 Message Date
itoussies 43efe5f014
fix(plugin): Azure Storage Sync (#2869) 2021-06-11 16:07:53 +02:00
itoussies a2f2006810
Rename recallls.pm to recalls.pm (#2867) 2021-06-11 15:36:22 +02:00
itoussies 31f7f58e12
Update plugin.pm 2021-06-10 19:39:38 +02:00
itoussies 7ec26d085e
Delete health.pm 2021-06-10 19:38:47 +02:00
itoussies c552872161 Add modes health & recalls 2021-06-09 14:21:51 +02:00
matoy 9574d8a49c
Update cloud/azure/storage/storagesync/mode/heartbeat.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:55:13 +02:00
matoy 8529866f7e
Update cloud/azure/storage/storagesync/mode/heartbeat.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:55:03 +02:00
matoy 343e0915e6
Update cloud/azure/storage/storagesync/mode/heartbeat.pm
Co-authored-by: itoussies <65223458+itoussies@users.noreply.github.com>
2021-06-08 19:54:55 +02:00
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
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