You are here

kvm checks are broken as shipped

1 post / 0 new
sjacobs1
sjacobs1's picture
kvm checks are broken as shipped

check_kvm_number and check_kvm_state are both broken as shipped.

Two issues:

They include a non-existant perl module Data::Dump (instead of Data::Dumper, which isn't needed anyway as the code using it is commented out).

 

They need the following two lines added above all the other use lines:

use FindBin qw($Bin); use lib "$Bin/../perl/lib", "/usr/local/nagios/libexec";   Otherwise they will fail to run via an NRPE check.   Fun.   Please don't ship out broken checks...