Nagios perl error while installing new plugin
Posted: Tue Jul 31, 2018 10:31 am
I'm trying to install new plugin to check kernel modules, but getting below perl error. when I checked it on forum, it says to install perl-Nagios-Plugin package, but still getting so many dependency issues.
so kindly let us know how to fix the below perl issue or provide some plugins to monitor kernel modules.
#./check_modules
Can't locate User/Utmp.pm in @INC (@INC contains: /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 ./check_modules line 24.
BEGIN failed--compilation aborted at ./check_modules line 24
so kindly let us know how to fix the below perl issue or provide some plugins to monitor kernel modules.
#./check_modules
Can't locate User/Utmp.pm in @INC (@INC contains: /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 ./check_modules line 24.
BEGIN failed--compilation aborted at ./check_modules line 24