I have installed the plugin "Check Netapp NG" https://exchange.nagios.org/directory/P ... NG/details and configured a command in XI.
I run libexec]# ./check-netapp-ng.pl -H 172.26.11.106 -C public -T DISKUSED -v /vol/vol15/ -V 2c from the CLI and receive the proper output shown below
OK: DISKUSED 88% | /vol/vol15/=147120568KB;838860800;838860800;;167772160 /vol/vol15/:perc=88%;500;500;;100
However, when i run the command my service in XI will use i get an error.
[root@XXX ~]# /usr/local/nagios/libexec/check-netapp-ng.pl -H 172.26.11.106 -C public -T DISKUSED -v /vol/vol15/ -V 2c
Can't locate utils.pm in @INC (@INC contains: /usr/lib/nagios/plugins /usr/lib/nagios/libexec /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/local/nagios/libexec/check-netapp-ng.pl line 39.
BEGIN failed--compilation aborted at /usr/local/nagios/libexec/check-netapp-ng.pl line 39.
Attached is the screenshot of the commands and of line 39 of the plugin.
Netapp Command Errors
Netapp Command Errors
You do not have the required permissions to view the files attached to this post.
Re: Netapp Command Errors
I figured this out. I had to edit the line to point /usr/local/nagios/libexec/ since that is where the utils.pm file is.
Please close.
Please close.