Page 1 of 1

Graph issue

Posted: Tue Nov 27, 2018 12:08 pm
by vignesha
We have Production and DR server so firstly we have planned to go with DR server, before starting upgrade to DR server we have taken backup of PROD server and restored over in DR and we have upgraded DR server to latest version 5.5.5 version post which [/b] rrd [/b] files are not updating up to date because of that we are not getting any graphs its giving straight line.

We have troubleshot from our end stating to below error we have added "LibAdd: /opt/rrdtool-1.4.4/lib/perl/5.10.1" in /etc/mrtg/mrtg.cfg file in the last.

1.[root@xxxxx]# 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 mrtg find RRDs.pm

2.[root@xxxxx]# locate RRDs.pm
/opt/rrdtool-1.4.4/lib/perl/5.10.1/x86_64-linux-thread-multi/RRDs.pm

3. vi /etc/mrtg/mrtg.cfg
LibAdd: /opt/rrdtool-1.4.4/lib/perl/5.10.1

4. [root@xxxxx]# ls -l /var/lib/mrtg/
total 1702792
-rw-r--r-- 1 root root 0 Nov 27 17:00 mrtg.lock
-rwxrwxr-x 1 apache nagios 0 Nov 27 16:59 mrtg.ok

After words, we have restarted all the services and /var/lib/mrtg files updated up to date, but still we are not getting graph.
In addition, we have installed ram disk in that server as well.

As same as that we have a plan to upgrade PROD server as well because of graph issue we have stopped the activity from our end.
Please help us out to overcome from this issue.

Re: Graph issue

Posted: Tue Nov 27, 2018 12:15 pm
by vignesha
Hello,

I have raised the ticket for the same issue, hence you can close for the same.

Re: Graph issue

Posted: Tue Nov 27, 2018 12:29 pm
by lmiltchev
We will continue communicating in our ticketing system. I am locking this thread.