Error check failed to run after installing a plugin


#1

I just installed this plugin https://github.com/sensu-plugins/sensu-plugins-io-checks by doing gem instal sensu-plugins-io-checks. When I try to run either of the ruby scripts now, It gives me this errror: Check failed to run: No such file or directory - iostat, [“metrics-iostat-extended.rb:107:in ``’”, “metrics-iostat-extended.rb:107:in run'", "/usr/local/share/gems/gems/sensu-plugin-1.2.0/lib/sensu-plugin/cli.rb:56:inblock in class:CLI’”].

Why might this be happening?
.


#2

You’re missing the iostat package on your system. I don’t know which OS you are running but essentially:

yum install sysstat

or

apt-get install sysstat

And you’re probably good to go.

-Josh

···

On Wed, Jun 1, 2016 at 12:08 PM, dmak1112@bu.edu wrote:

I just installed this plugin https://github.com/sensu-plugins/sensu-plugins-io-checks by doing gem instal sensu-plugins-io-checks. When I try to run either of the ruby scripts now, It gives me this errror: Check failed to run: No such file or directory - iostat, [“metrics-iostat-extended.rb:107:in ``’”, “metrics-iostat-extended.rb:107:in run'", "/usr/local/share/gems/gems/sensu-plugin-1.2.0/lib/sensu-plugin/cli.rb:56:inblock in class:CLI’”].

Why might this be happening?
.


#3

Thanks!!

···

On Wednesday, June 1, 2016 at 2:19:29 PM UTC-4, Joshua Pasqualetto wrote:

You’re missing the iostat package on your system. I don’t know which OS you are running but essentially:

yum install sysstat

or

apt-get install sysstat

And you’re probably good to go.

-Josh

On Wed, Jun 1, 2016 at 12:08 PM, dmak...@bu.edu wrote:

Why might this be happening?
.

I just installed this plugin https://github.com/sensu-plugins/sensu-plugins-io-checks by doing gem instal sensu-plugins-io-checks. When I try to run either of the ruby scripts now, It gives me this errror: Check failed to run: No such file or directory - iostat, [“metrics-iostat-extended.rb:107:in ``’”, “metrics-iostat-extended.rb:107:in run'", "/usr/local/share/gems/gems/sensu-plugin-1.2.0/lib/sensu-plugin/cli.rb:56:inblock in class:CLI’”].