Can someone help me with this issue
(No output on stdout) stderr: Can't locate REST/Client.pm
/usr/local/nagios/libexec/check_rubrik line 11.
line 8: use strict;
line 9: use warnings;
line 10: use vars qw($PROGNAME $VERSION $output $values $result);
line 11: use REST::Client;
line 12: use File::Basename;
line 13: use Nagios::Plugin;
line 14: use Data::Dumper;
line 15: use MIME::Base64;
line 16: use JSON::XS;
Nagios plugin: Check Rubrik
Re: Nagios plugin: Check Rubrik
Which plugin are you using? Can you provide a link or reference to the specific code being executed?
Simply put, your Perl runtime is looking for a dependency that doesn't exist. Install that dependency via cpan/yum.
If that doesn't work, please share the output of the above command as well as this one:
Simply put, your Perl runtime is looking for a dependency that doesn't exist. Install that dependency via cpan/yum.
Code: Select all
yum install perl-REST-Client
Code: Select all
perl -MFile::Find=find -MFile::Spec::Functions -Tlwe 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC'
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Nagios plugin: Check Rubrik
Thanks @mcapra!
Let us know if you get the missing packages installed and working, otherwise, please post the output from above.
Thanks.
Let us know if you get the missing packages installed and working, otherwise, please post the output from above.
Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!