Page 1 of 3

Cant able to get graph

Posted: Wed Oct 09, 2013 6:23 am
by siriideepak
Hi,

In my nagiosxi no graphs are there.When i run the command LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok it shows the following error.

Regards,
Deepak.P

Re: Cant able to get graph

Posted: Wed Oct 09, 2013 1:38 pm
by lmiltchev
Did you try to upgrade the rrdtool to version 1.4.4 before running into this issue? I believe the version of rrdtool that is inluded by default in XI is 1.3.8.

Re: Cant able to get graph

Posted: Thu Oct 10, 2013 6:25 am
by siriideepak
Hi,

Cant able to upgrade rrdtool from 1.3.8 to 1.4.4 in rhel 6 any solution for this and how to upgrade.

Regards,
Deepak.P

Re: Cant able to get graph

Posted: Thu Oct 10, 2013 10:31 am
by abrist
siriideepak wrote:Cant able to upgrade rrdtool from 1.3.8 to 1.4.4 in rhel 6 any solution for this and how to upgrade.
Technically, you need to downgrade. What repos are you currently using?

Code: Select all

yum repolist

Re: Cant able to get graph

Posted: Thu Oct 10, 2013 10:36 am
by siriideepak
Hi,

Please find the attached screenshot for yum repolist.

Regards,
Deepak.P

Re: Cant able to get graph

Posted: Thu Oct 10, 2013 10:58 am
by slansing
It appears as though you have not registered this RHEL installation with the subscription manager, you will need to do this to be able to reach the repo's we require. Also, there are some additional REPO's listed there, do you have in house repo's that have versions of packages above ours?


Lets see what version of RRD tool you are using:

Code: Select all

yum list installed | grep rrd
If it is greater than 1.3.8 you will want to downgrade it -

You can try downgrading the rrd version via the following command:

Code: Select all

yum downgrade rrdtool

Re: Cant able to get graph

Posted: Thu Oct 10, 2013 11:11 am
by siriideepak
Hi,

Please find the attached screenshot for yum list installed | grep rrd.

Regards,
Deepak.P

Re: Cant able to get graph

Posted: Thu Oct 10, 2013 12:16 pm
by abrist
You cannot use the required repos because your version of redhat has not been registered . . . . Please do so . . .
Or use centos instead . . . .

Re: Cant able to get graph

Posted: Thu Oct 10, 2013 12:20 pm
by siriideepak
Hi,

I registered with rhel still the same.

Regards,
Deepak.P

Re: Cant able to get graph

Posted: Thu Oct 10, 2013 12:29 pm
by abrist
siriideepak wrote:still the same.
I beg to differ, the downgrade looks like it worked as you now have the older version of rrdtool.
Can you rerun:

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok
And post the output in code wraps?

EDIT: I stand corrected, you may have two different versions of rrdtool, or mismatched versions of the perl and python rrdtool packages. Try:

Code: Select all

yum install rrdtool-perl rrdtool-python