Nagios plugin: Check Rubrik

This board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support.

Nagios plugin: Check Rubrik

Postby shanmanthu » Thu May 02, 2019 9:13 pm

Can someone help me with this issue

(No output on stdout) stderr: Can't locate REST/
/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;
Posts: 1
Joined: Tue Aug 07, 2018 2:33 pm

Re: Nagios plugin: Check Rubrik

Postby mcapra » Fri May 03, 2019 10:55 am

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

Re: Nagios plugin: Check Rubrik

Postby benjaminsmith » Fri May 03, 2019 1:13 pm

Thanks @mcapra!

Let us know if you get the missing packages installed and working, otherwise, please post the output from above.

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!
User avatar
Posts: 2268
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Return to Nagios XI

Who is online

Users browsing this forum: No registered users and 16 guests