Cant able to get graph
Re: Cant able to get graph
That should work. Backup all the perfdata, migrate to new system, and then restore to rrds.
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.
"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
Hi,
Kindly check this i have posted earlier with screenshots and update.
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
Kindly check this i have posted earlier with screenshots and update.
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
You need to export the rrds to xml on the old system first, transfer the xmls, and then, on the new system, create new rrds from the xmls:
http://support.nagios.com/wiki/index.ph ... Install.3F
http://support.nagios.com/wiki/index.ph ... Install.3F
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.
"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
Hi,
I already told that i have restored some of the rrd still no graphs.
Regards,
Deepak.P
I already told that i have restored some of the rrd still no graphs.
Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
Re: Cant able to get graph
Are you receiving the architecture error for the graph in your screenshot?
Check the logs:
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.okCode: Select all
tail -25 /usr/local/nagios/var/perfdata.log
tail -25 /usr/local/nagios/var/npcd.logFormer 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.
"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
Hi,
Still receiving the architecture error for the graph in the screenshot.
Regards,
Deepak.P
Still receiving the architecture error for the graph in the screenshot.
Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
-
siriideepak
- Posts: 78
- Joined: Tue Feb 28, 2012 7:21 am
Re: Cant able to get graph
Hi,
Now i can able to get the graph. I removed all the folders in cd /usr/local/nagios/share/perfdata/ and it gets automatically created now. Thanks!!
Regards,
Deepak.P
Now i can able to get the graph. I removed all the folders in cd /usr/local/nagios/share/perfdata/ and it gets automatically created now. Thanks!!
Regards,
Deepak.P