generating multiple warnings/criticals in one run of a check script:check-graphite-data.rb

#1

Hi All,

I need to generate multiple warnings/criticals in one run of check (for checking the disk-usage of 20 machines) by using check-graphite-data.rb and send it to mailer handler

As of now i am getting only single output and mail also working.But my requirement is getting multiple warnings/criticals.

Following the https://sensuapp.org/docs/0.21/getting-started-with-checks for setting alerts.

ruby check-graphite-data.rb -s localhost:8080 -t ‘highestCurrent(internal.dev3.*.1.disk-usage.root.used,6)’ -w 180 -c 20000 -a 120

Please suggest me .

Thanks in advance