[Xymon] mrtg xymon integration problem

Pavel Traian paveltraian at yahoo.com
Mon Feb 20 11:12:21 CET 2012


Hi,
Thank you for the quick answer.
I have installed them and now i have some other problem...

When i run mrtg /etc/mrtg/mrtg.cfg i get the following error:


[root at micro2403 otpsw003]# mrtg /etc/mrtg/mrtg.cfg
WARN: found several copies of RRDs.pm in your path: /usr/lib64/perl5/, /usr/lib64/perl5 I will be using /usr/lib64/perl5/. This could be a problem if this is an old copy and you think I would be using a newer one!
2012-02-20 01:45:28: ERROR: Target[mrtg.otpsw003.port3][_IN_] ' $target->[0]{$mode} ' did not eval into defined
 data
2012-02-20 01:45:28: ERROR: Target[mrtg.otpsw003.port3][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data
[root at micro2403 otpsw003]#


I am trying to monitor the port gig0/3 of a Cisco Catalyst 2960G with the following mrtg.cfg config:

Target[mrtg.otpsw003.port3]: 3:public at otpsw003
Title[mrtg.otpsw003.port3]: Traffic
MaxBytes[mrtg.otpsw003.port3]: 1250000
Directory[mrtg.otpsw003.port3]: otpsw003 

I think i didn't choose the right interface name, but i don't know how to find out the name of it.


Regards,
Traian.


--- On Fri, 2/17/12, Steven Carr <sjcarr at gmail.com> wrote:

From: Steven Carr <sjcarr at gmail.com>
Subject: Re: [Xymon] mrtg xymon integration problem
To: "Pavel Traian" <paveltraian at yahoo.com>
Cc: xymon at xymon.com
Date: Friday, February 17, 2012, 5:50 PM

Add the EPEL repo and install rrdtool-perl
 package.

[root at sentinel ~]# yum provides */RRDs.pm

rrdtool-perl-1.2.27-3.el5.x86_64 : Perl RRDtool bindings
Repo        : epel
Matched from:
Filename    : /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/RRDs.pm


Steve


On 17 February 2012 15:30, Pavel Traian <paveltraian at yahoo.com> wrote:

Hi,

I have installed Xymon server on a CentOS 6 x64.

I wanted to integrate MRTG into it and i got an error.

After i add the below lines:



# For Xymon integration

WorkDir: /var/lib/xymon/rrd

LogFormat: rrdtool



I get this error:



ERROR: could not find RRDs.pm. Use LibAdd: in mrtg.cfg to help mrtg find RRDs.pm



The problem is that i don't know where to find RRDs.pm.

Regards.

_______________________________________________

Xymon mailing list

Xymon at xymon.com

http://lists.xymon.com/mailman/listinfo/xymon







More information about the Xymon mailing list