MRTG problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
andaks
Posts: 32
Joined: Thu May 19, 2011 9:47 am

MRTG problem

Post by andaks »

In my nagiosxi I have problem with mrtg and rrd tools.
I have installed nagiosxi on CentOS el6.
Im tired to get mail with the text: "ERROR: could not find RRDs.pm. Use LibAdd: in mrtg.cfg to help mrtg find RRDs.pm"

when i use LibAdd in file i Have the following error:
"/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi//auto/RRDs/RRDs.so: undefined symbol: Perl_Tstack_sp_ptr"
I dont understand why there are two // before auto.

and the next error is:
"2012-01-25 15:16:03: ERROR: I guess another mrtg is running. A lockfile (/var/lock/mrtg/mrtg_l) aged
601 seconds is hanging around. If you are sure that no other mrtg is running you can remove the lockfile
"

Code: Select all

#> rpm -qa | grep rrd
rrdtool-devel-1.4.4-1.el5.rf.i386
php-rrdtool-1.4.4-1.el5.rf.i386
rrdtool-1.4.4-1.el5.rf.i386
perl-rrdtool-1.4.4-1.el5.rf.i386
Help...
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MRTG problem

Post by scottwilkerson »

andaks wrote:In my nagiosxi I have problem with mrtg and rrd tools.
I have installed nagiosxi on CentOS el6.
...

Code: Select all

#> rpm -qa | grep rrd
rrdtool-devel-1.4.4-1.el5.rf.i386
php-rrdtool-1.4.4-1.el5.rf.i386
rrdtool-1.4.4-1.el5.rf.i386
perl-rrdtool-1.4.4-1.el5.rf.i386
Help...
This seems weird as the files you grep'd are for a el5 release not an el6 release...
My on a clean 32bit centOS 6.0 install I have the following

Code: Select all

# cat /etc/redhat-release
CentOS Linux release 6.0 (Final)
# rpm -qa | grep rrd
rrdtool-1.3.8-6.el6.i686
rrdtool-perl-1.3.8-6.el6.i686
Just to be clear, in another thread you had problems with a backup.. Did you try to put a backup on the current machine? How was this backup made? Was the backup from an el5 version? Did you use the Nagios backup script or a different method?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
andaks
Posts: 32
Joined: Thu May 19, 2011 9:47 am

Re: MRTG problem

Post by andaks »

Yes, I tried make backup from el5, I thought that I could face problem...Inspite of it I made backup and indeed faced to problem. Because of it I had to reinstall OS.
But now I have clean installed OS el6 and NagiosXI without any backups. And it works fine, all features are available, but.... I have this mail again and again... Tried to remove el5 rrd packages and couldnt do it. Nagiosxi-deps needs these ones. Of course I can remove them without deps but how it will be work in further?
Please help.
andaks
Posts: 32
Joined: Thu May 19, 2011 9:47 am

Re: MRTG problem

Post by andaks »

Here is the problem with RRD.....
When I want to monitor cisco switch I see the next:
You do not have the required permissions to view the files attached to this post.
andaks
Posts: 32
Joined: Thu May 19, 2011 9:47 am

Re: MRTG problem

Post by andaks »

Heh guys... I could repair this bug with rrdtools.
I dont know why nagiosxi installation file takes el5 version from repos... Maybe you should check it and add new ones in repos, also difficults in freetds package. It should be 0.64 not 0.91.
Thanks :)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MRTG problem

Post by scottwilkerson »

Glad you were able to repair it.

I have no idea how or why you got the el5 files, my fresh install all pulled el6 versions.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked