Sha256: e8fbfbe921789d96ca7a82c341d97856416ee4313c5e8773bb6aad220d7e6650
Contents?: true
Size: 288 Bytes
Versions: 65
Compression:
Stored size: 288 Bytes
Contents
interval 180 always_start true default[:cmd] = 'megacli -AdpAllInfo -aAll -NoLog | awk -F": " \'/Virtual Drives/ { getline; print $2; }\'' run_if do File.exists? '/usr/bin/megacli' end collect do event(:metric => shell(settings.cmd).to_i > 0, :description => 'MegaCli status') end
Version data entries
65 entries across 65 versions & 1 rubygems