Cant able to get graph

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Cant able to get graph

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Cant able to get graph

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: Cant able to get graph

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Cant able to get graph

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: Cant able to get graph

Post by siriideepak »

Hi,

Please find the attached screenshot for yum repolist.

Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Cant able to get graph

Post 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
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: Cant able to get graph

Post by siriideepak »

Hi,

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

Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Cant able to get graph

Post by abrist »

You cannot use the required repos because your version of redhat has not been registered . . . . Please do so . . .
Or use centos instead . . . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: Cant able to get graph

Post by siriideepak »

Hi,

I registered with rhel still the same.

Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Cant able to get graph

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked