Hi,
I have recently facing issue in Graphs, while i'm running this below command (enclosed the screenshot for your reference)
#LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
ERROR: could not find RRDs.pm. Use LibAdd: in mrtg.cfg to help mrtf find RRDs.pm
You have new mail in /var/spool/mail/root
Let me know whats wrong on it and if you need further details over this. thanks in advance!!
Regards,
Raj.
Graph not working - Could not find RRDs.pm
-
- Posts: 187
- Joined: Tue Feb 28, 2012 7:08 am
- Location: CA, USA
Graph not working - Could not find RRDs.pm
You do not have the required permissions to view the files attached to this post.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Graph not working - Could not find RRDs.pm
Run the following to help find the RRDs.pm directory:
then add the directory found, near the top of the mrtg.cfg file replacing the directory below with the one returned by locate:
Did you install RRDcached at any point?:
Code: Select all
yum install mlocate -y
update db
locate RRDs.pm
Code: Select all
LibAdd: /opt/rrdtool-1.4.4/lib/perl/5.10.1
Code: Select all
service rrdcached status
-
- Posts: 187
- Joined: Tue Feb 28, 2012 7:08 am
- Location: CA, USA
Re: Graph not working - Could not find RRDs.pm
I have tried those commands and getting the below results. Herewith, i have enclosed the results for your reference.
I am not able to see the performance graphs for any of hosts/switches/devices.
kindly let me know if you need further over this. thanks!!
I am not able to see the performance graphs for any of hosts/switches/devices.
kindly let me know if you need further over this. thanks!!
You do not have the required permissions to view the files attached to this post.
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Graph not working - Could not find RRDs.pm
Please post the text of slansings commands.
Then replace the line in mrtg.conf like so:
Please send text output from the locate command and what you have changed or think needs to change in mrtg.conf.
Code: Select all
yum install mlocate -y
update db
locate RRDs.pm
Code: Select all
Original:
LibAdd: /opt/rrdtool-1.4.4/lib/perl/5.10.1
New:
LibAdd: /path/found/from/locate/command/above
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
- Posts: 187
- Joined: Tue Feb 28, 2012 7:08 am
- Location: CA, USA
Re: Graph not working - Could not find RRDs.pm
Hi,
I have found this file below path and updated in the mrtg.cfg file, let me know if you need further over this..
#locate RRDs.pm
/opt/rrdtool-1.4.4/lib/perl/5.8.8/i386-linux-thread-multi/RRDs.pm
Regards,
Raj.
I have found this file below path and updated in the mrtg.cfg file, let me know if you need further over this..
#locate RRDs.pm
/opt/rrdtool-1.4.4/lib/perl/5.8.8/i386-linux-thread-multi/RRDs.pm
Regards,
Raj.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Graph not working - Could not find RRDs.pm
Can you show us where you added the LibAdd line? It is highly important you share the output of any changes we make so that we can gather the correct information and not ask you to go back for it. Thanks!
-
- Posts: 187
- Joined: Tue Feb 28, 2012 7:08 am
- Location: CA, USA
Re: Graph not working - Could not find RRDs.pm
Hi,
I have enclosed the mrtg.cfg. Kindly look into this.
I have enclosed the mrtg.cfg. Kindly look into this.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Graph not working - Could not find RRDs.pm
Lets check the mrtg.cfg file, can you return any output from running this:
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg –check