I am trying to install on monitored host this plugin
When manually executing on monitored host I get this
# ./check_file_size
Can't locate utils.pm in @INC (you may need to install the utils module) (@INC contains: /usr/lib/nagios/plugins /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./check_file_size line 29.
Installed this: https://github.com/nagios-plugins/nagios-plugin-perl
But not contains utils.pm
# make install
Manifying 8 pod documents
Installing /usr/local/share/perl/5.28.1/Nagios/Monitoring/Plugin.pm
Installing /usr/local/share/perl/5.28.1/Nagios/Monitoring/Plugin/Config.pm
Installing /usr/local/share/perl/5.28.1/Nagios/Monitoring/Plugin/Performance.pm
Installing /usr/local/share/perl/5.28.1/Nagios/Monitoring/Plugin/Threshold.pm
Installing /usr/local/share/perl/5.28.1/Nagios/Monitoring/Plugin/Getopt.pm
Installing /usr/local/share/perl/5.28.1/Nagios/Monitoring/Plugin/Functions.pm
Installing /usr/local/share/perl/5.28.1/Nagios/Monitoring/Plugin/ExitResult.pm
Installing /usr/local/share/perl/5.28.1/Nagios/Monitoring/Plugin/Range.pm
Installing /usr/local/man/man3/Nagios::Monitoring::Plugin::Range.3pm
Installing /usr/local/man/man3/Nagios::Monitoring::Plugin::Functions.3pm
Installing /usr/local/man/man3/Nagios::Monitoring::Plugin::Threshold.3pm
Installing /usr/local/man/man3/Nagios::Monitoring::Plugin::Config.3pm
Installing /usr/local/man/man3/Nagios::Monitoring::Plugin::ExitResult.3pm
Installing /usr/local/man/man3/Nagios::Monitoring::Plugin::Getopt.3pm
Installing /usr/local/man/man3/Nagios::Monitoring::Plugin.3pm
Installing /usr/local/man/man3/Nagios::Monitoring::Plugin::Performance.3pm
Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.28.1/perllocal.pod
I am trying to install on monitored host this plugin
When manually executing on monitored host I get this
Installed this: https://github.com/nagios-plugins/nagios-plugin-perl
But not contains utils.pm