Sha256: c84bc01fb98bc7ecd81b82080d301953981e57120c29e79dc9da554122c7748c
Contents?: true
Size: 417 Bytes
Versions: 51
Compression:
Stored size: 417 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
51 entries across 51 versions & 1 rubygems