Cant fix performance data with new metric added

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rb8telitcom
Posts: 17
Joined: Tue Aug 21, 2018 1:40 pm

Cant fix performance data with new metric added

Post by rb8telitcom »

I found this KB article : https://support.nagios.com/kb/article.php?id=149
it describes the issue I am having, we are monitoring disk space, when a new mount point is added , the gage shows up but all graphing stops.

the reported fix dose not work though, when I run the script, I get the error:
Can't locate RRD/Simple.pm in @INC (@INC contains: /usr/lib64/perl5/vendor_perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .)

even though the RRD::Simple package is installed in the path:
# find / -name RRDs.pm
/usr/lib64/perl5/vendor_perl/RRDs.pm
# rpm -q rrdtool-perl
rrdtool-perl-1.4.9-1.el7.x86_64

Thanks
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: Cant fix performance data with new metric added

Post by jdunitz »

Does this test of the RRD module work for you?

perl -MRRDs -le 'print q(ok!)'


--Jeffrey
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!
rb8telitcom
Posts: 17
Joined: Tue Aug 21, 2018 1:40 pm

Re: Cant fix performance data with new metric added

Post by rb8telitcom »

yep
$ perl -MRRDs -le 'print q(ok!)'
ok!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Cant fix performance data with new metric added

Post by ssax »

What is the output of this one?

Code: Select all

find / -name Simple.pm
rb8telitcom
Posts: 17
Joined: Tue Aug 21, 2018 1:40 pm

Re: Cant fix performance data with new metric added

Post by rb8telitcom »

/usr/share/perl5/vendor_perl/Pod/Simple.pm
/usr/share/perl5/vendor_perl/XML/Simple.pm
/usr/share/perl5/vendor_perl/Test/Simple.pm
/usr/share/perl5/vendor_perl/Error/Simple.pm
/usr/share/perl5/Filter/Simple.pm
/usr/share/perl5/LWP/Simple.pm
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Cant fix performance data with new metric added

Post by ssax »

Try this:

Code: Select all

cpan -i RRD::Simple