Sha256: 0bd7947932a6b91c0841cbcd461f59c81a2a083493a579c9859b27b2f8ccc55d
Contents?: true
Size: 422 Bytes
Versions: 14
Compression:
Stored size: 422 Bytes
Contents
interval 180 always_start true default[:cmd] = "/usr/sbin/tw_cli show | awk '/^c/{print $1}' | xargs -rI{} /usr/sbin/tw_cli /{} show | awk '/^[upb]/&&!/[ \t](OK|VERIFYING|VERIFY-PAUSED)/' |wc -l" run_if do File.exists? '/usr/sbin/tw_cli' end collect do event( :service => 'twcli', :metric => shell(plugin.cmd).to_i, :description => 'Hardware raid tw_cli status', :critical => 1 ) end
Version data entries
14 entries across 14 versions & 1 rubygems