Nagios plugin: Check Rubrik

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
shanmanthu
Posts: 1
Joined: Tue Aug 07, 2018 2:33 pm

Nagios plugin: Check Rubrik

Post by shanmanthu »

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;
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios plugin: Check Rubrik

Post by mcapra »

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.

Code: Select all

yum install perl-REST-Client
If that doesn't work, please share the output of the above command as well as this one:

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/
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios plugin: Check Rubrik

Post by benjaminsmith »

Thanks @mcapra!

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!
Locked