Check_sip.pl
Posted: Sat Feb 23, 2019 2:38 pm
Evening,
My last hurdle to complete this nagios project.
Ive downloaded the Check_sip.pl file, put it in the libexec map, and gave it 755 rights to execute.
perl -v shows V5.10.1, also installed Nagios::Plugin; that is being used by the script.
But it still giving me this error message when i test it from the commandline:
Line 30 has something to do with " use Nagios::Plugin; ", but that is installed aswell.
Any thoughts?
Thanks in advance.
My last hurdle to complete this nagios project.
Ive downloaded the Check_sip.pl file, put it in the libexec map, and gave it 755 rights to execute.
perl -v shows V5.10.1, also installed Nagios::Plugin; that is being used by the script.
But it still giving me this error message when i test it from the commandline:
Code: Select all
Can't locate Nagios/Plugin.pm in @INC (you may need to install the Nagios::Plugin module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./check_sip.pl line 30.
BEGIN failed--compilation aborted at ./check_sip.pl line 30.Any thoughts?
Thanks in advance.