[mrtg] is this the right place for askin' Q 'bout rrdtool integration in mrtg?
Girts Legzdinsh
girts.legzdins at energo.lv
Mon Jan 26 08:45:03 MET 2004
so my situation...
my mrtg is workin' fine..
I've installed rrdt, 'couse I need to poll the snmp device data every min
not every 5 mins.
I updated my device.cfg file with pathadd and libadd
but there comes out a error when i'm doing the "mrtg device.cfg" thing
the error iz..
----
Can't locate loadable object for module RRDs in @INC (@INC contains:
/opt/mrtg/rrdtool/rrdtool-1.0.46/perl-shared/
/opt/mrtg/mrtg-2/bin/../lib/mrtg2 /opt/mrtg/mrtg-2/bin
/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1
/opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi
/opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl .) at
/opt/mrtg/mrtg-2/bin/mrtg line 273
Compilation failed in require at /opt/mrtg/mrtg-2/bin/mrtg line 273.
----
int mrtg line 273 he want the RRDs.pm file.. but this file is in the @INC
dir!!
ls -laF of /opt/mrtg/rrdtool/rrdtool-1.0.46/perl-shared/
----
drwxr-xr-x 4 510 50 8192 Jan 23 10:05 ./
drwxr-xr-x 14 510 50 8192 Jan 23 10:00 ../
-rw-r--r-- 1 510 50 53 Feb 26 2002 MANIFEST
-rw-r--r-- 1 root sys 23055 Jan 23 10:05 Makefile
-rw-r--r-- 1 root sys 772 Jan 23 10:00 Makefile.PL
-rw-r--r-- 1 510 50 805 Aug 12 23:50 Makefile.PL.in
-rw-r--r-- 1 510 50 237 Feb 26 2002 README
-rw-r--r-- 1 root sys 9923 Jan 23 10:04 RRDs.c
-rw-r--r-- 1 510 50 3072 Jan 4 15:53 RRDs.pm
-rw-r--r-- 1 510 50 7881 Nov 27 08:32 RRDs.xs
drwxr-xr-x 5 root sys 96 Jan 23 10:03 blib/
-rw-r--r-- 1 510 50 633 Feb 26 2002 ntmake.pl
-rw-r--r-- 1 root sys 0 Jan 23 10:03 pm_to_blib
-rw-r--r-- 1 510 50 4157 Feb 26 2002 rrdpl.dsp
-rw-r--r-- 1 510 50 531 Feb 26 2002 rrdpl.dsw
drwxr-xr-x 2 510 50 96 Jan 23 09:57 t/
------
so I don't understand what'a f&*(?!
I'm a newbie in perl so this is the first problem..:))
with mrtg i'm workin 'bout a month or two..
so help..
I'm using HP-UX 11
----
perl -V
Platform:
osname=hpux, osvers=11.00, archname=PA-RISC1.1-thread-multi
uname='hp-ux llbertha b.11.00 u 9000800 2002402864 unlimited-user
license '
config_args='-des -Dcf_by=ActiveState -Dcf_email=ActivePerl at ActiveState.com
-Uinstallusrbinperl -Dusethreads -Duseithreads -Duselargefiles -Dinc_version
_list=5.6.0/$archname
5.6.0 -Dcc=gcc -Accflags=-mpa-risc-1-1 -fPIC -Dcccdlflags=-fPIC -Dd_attribut
=undef -Darchname=PA-RISC1.1 -Dprefix=/opt/perl'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='gcc', ccflags
='-D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN
-mpa-risc-1-1 -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_S
OURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX
_BROKEN -mpa-risc-1-1 -fPIC -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.9-hppa-991112', gccosandvers='hpux11.00'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lnm -lndbm -lmalloc -ldld -lm -lpthread -lc -lndir -lcrypt -lsec
perllibs=-lnsl -lnm -lmalloc -ldld -lm -lpthread -lc -lndir -lcrypt -lsec
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E '
cccdlflags='-fPIC', lddlflags='-b -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Locally applied patches:
ActivePerl Build 627
Built under hpux
Compiled at Jun 20 2001 21:42:53
@INC:
/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi
/opt/perl/lib/5.6.1
/opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi
/opt/perl/lib/site_perl/5.6.1
/opt/perl/lib/site_perl
----
plz help!!
Girts Legzdins
Network Administrator
Latvenergo
Technical Center
Latvia
girts.legzdins at latvenergo.lv
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list