Hello,
I have tried the plugin nagios-cloudstack2 plugin from the below url.
http://exchange.nagios.org/directory/Pl ... D2/details
But during execution of the command - './check_cloudstack.pl capacity -z zone_id -w 60 -c 80' am getting below error.
[root@server01 libexec]# ./check_cloudstack.pl capacity -z zone_id -w 60 -c 80
Can't locate loadable object for module XML::LibXML in @INC (@INC contains: /apps/nagios/cloudstack-master/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/XML/LibXML.pm line 156.
BEGIN failed--compilation aborted at /usr/share/perl5/XML/LibXML.pm line 156.
Compilation failed in require at /apps/nagios/cloudstack-master/lib/Cloudstack/General.pm line 5.
BEGIN failed--compilation aborted at /apps/nagios/cloudstack-master/lib/Cloudstack/General.pm line 5.
Compilation failed in require at /apps/nagios/cloudstack-master/lib/Cloudstack/VM.pm line 5.
BEGIN failed--compilation aborted at /apps/nagios/cloudstack-master/lib/Cloudstack/VM.pm line 5.
Compilation failed in require at /apps/nagios/cloudstack-master/lib/Cloudstack/Command/VM.pm line 53.
BEGIN failed--compilation aborted at /apps/nagios/cloudstack-master/lib/Cloudstack/Command/VM.pm line 53.
Compilation failed in require at /usr/share/perl5/App/Cmd.pm line 98.
App::Cmd::_command("Cloudstack", undef) called at /usr/share/perl5/App/Cmd.pm line 72
App::Cmd::new("Cloudstack") called at /usr/share/perl5/App/Cmd.pm line 203
App::Cmd::run("Cloudstack") called at ./check_cloudstack.pl line 8
Please note i have amended actual zone id with zone_id in the above command.
Please help me with resolving the issue. Thanks in advance.
Regards,
Sachikanta