Commit Graph

5 Commits

Author SHA1 Message Date
itoussies 31f7f58e12
Update plugin.pm 2021-06-10 19:39:38 +02:00
itoussies c552872161 Add modes health & recalls 2021-06-09 14:21:51 +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 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 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