Page 2 of 3
Re: Cant able to get graph
Posted: Thu Oct 10, 2013 7:22 pm
by siriideepak
Hi,
Still the same output.
Regards,
Deepak.P
Re: Cant able to get graph
Posted: Fri Oct 11, 2013 12:27 am
by siriideepak
Hi,
This issue is caused after the restoration of nagiosxi from rhel5 32bit to rhel6 64bit due to variations in version. In old machine rhel5 32bit version rrdtool 1.4.4 and perl 5.8.8 but in new machine rhel6 64bit rrdtool 1.3.8 and perl 5.10.1. Due to this issue is caused. Kindly check and update on this.Thanks!!.
Regards,
Deepak.P
Re: Cant able to get graph
Posted: Fri Oct 11, 2013 5:31 am
by siriideepak
HI,
When i run the following 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 output.
Regards,
Deepak.P
Re: Cant able to get graph
Posted: Fri Oct 11, 2013 11:08 am
by slansing
Those RRDs were created in a 32-bit environment and will not be accessible in a 64-bit environment unless you translate them which requires dumping them to XML and re-building them. You can test this with one of your smaller RRDs as an example. Be sure you have at least 3-5x the disk space of the old system on the new one as exporting them to XML will take a ton of space:
http://blog.remibergsma.com/2012/04/30/ ... itectures/
Re: Cant able to get graph
Posted: Fri Oct 11, 2013 11:28 am
by siriideepak
Hi,
It also producing error when running the command.
Regards,
Deepak.P
Re: Cant able to get graph
Posted: Fri Oct 11, 2013 11:45 am
by abrist
The stats.rrd command was an *example*, it was not literally meant to be run. A more detailed explanation can be found on our FAQ:
http://support.nagios.com/wiki/index.ph ... Install.3F
Re: Cant able to get graph
Posted: Fri Oct 11, 2013 12:58 pm
by siriideepak
Hi,
As per your advice i done the following using the link you provided still no graph.
Regards,
Deepak.P
Re: Cant able to get graph
Posted: Fri Oct 11, 2013 1:39 pm
by sreinhardt
Did you recreate all or some of the rrds? What are the permissions on the new files? What is the error you are getting now? What commands did you use to accomplish this?
Re: Cant able to get graph
Posted: Fri Oct 11, 2013 7:57 pm
by siriideepak
Hi,
This issue is caused after the restoration of nagiosxi from rhel5 32bit to rhel6 64bit due to variations in version. In old machine rhel5 32bit version rrdtool 1.4.4 and perl 5.8.8 but in new machine rhel6 64bit rrdtool 1.3.8 and perl 5.10.1. Due to this issue is caused. Kindly check and update on this.Thanks!!.
When i commented the libadd line in mrtg.cfg and run "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 "this rrd was created on another archtecture"
When i remove the comment for libadd ad run "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 "ERROR: CFG Error in libadd, line34: /opt/rrdtool-1.4.4/lib/perl/5.8.8/i386-linux-thread-multi/"
Is it good to comment the line libadd in mrtg.cfg or it should be uncommented. If it is Uncommented what path should i need to give. Kindly advice.
Regards,
Deepak.P
Re: Cant able to get graph
Posted: Fri Oct 11, 2013 8:03 pm
by siriideepak
Hi,
Kindly see the above one and continue this. Attachments for permission backup restore.
Backup = rrdtool dump 192.168.100.10_5218.rrd > 192.168.100.10_5218.xml
restore = rrdtool -f 192.168.10_5218.xml 192.168.100.10_5218.rrd
These 2 command works with no errors.
Regards,
Deepak.P