[mrtg] MRTG + RRDTool + 14all Problem

bintut at softhome.net bintut at softhome.net
Thu Jun 26 03:41:54 MEST 2003


Hello all, 

This is my sixth day that I really can't figure out how to isolate my 
problem with my "MRTG + RRDTool + 14all" setup on Mandrake Linux 9.1 and I 
decided to post my problem here and hoping for any help. 

Below are the packages that are installed in my system: 

 - apache-1.3.27-8mdk.i586.rpm
 - perl-5.8.0-19mdk.i586.rpm
 - perl-CGI-2.810-3mdk.i586.rpm
 - perl-GD-2.06-1mdk.i586.rpm
 - mrtg-2.9.27-1mdk.i586.rpm
 - mrtg-contribs-2.9.27-1mdk.i586.rpm
 - rrdtool-1.0.40-2mdk.i586.rpm
 - librrdtool0-1.0.40-2mdk.i586.rpm
 - 14all-1.1.cgi 

My MRTG_lib.pm is located at 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi directory and my 
RRDs.so is located at 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/RRDs 
directory.  But I also made a symbolic of my RRDs.so to the 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi directory. 

I moved my 14all-1.1.cgi to my /var/www/html/admin/mrtg/ directory and 
renamed it as mrtg.cgi. Afterwards, I made it an executable file and made a 
symbolic link as index.cgi. 

 From /var/www/html/admin/mrtg/ directory, I executed the following commands 
from the CLI: 

[root at free mrtg]# snmpwalk -c public -v 1 bayantel 

[root at free mrtg]# cfgmaker --global 'WorkDir: /var/www/html/admin/mrtg' \
 --global 'Options[_]: bits,growright' --global 'LogFormat: rrdtool' \
 --global 'PathAdd: /usr/bin' \
 --global 'LibAdd: 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/RRDs' \
 --global 'Interval: 5' --global 'ImageDir: /var/www/html/admin/mrtg/images' 
\
 --global 'LogDir: /var/www/html/admin/mrtg/logs' \
 --output /var/www/html/admin/mrtg/mrtg.cfg public at bayantel 

[root at free mrtg]# mrtg mrtg.cfg 

I also added a one line cron job to run MRTG in every 5 minutes of my 
/etc/crontab with the following: 

0-59/5 * * * * root /usr/bin/mrtg /var/www/html/admin/mrtg/mrtg.cfg 

You can find my mrtg.cfg, 14all-1.1p25.cgi, and /var/log/httpd/error_log at 
the following sites respectively: 

http://free.bir.gov.ph/logs/mrtg.cfg.txt
http://free.bir.gov.ph/logs/14all-1.1p25.txt
http://free.bir.gov.ph/logs/httpd-error_log.txt 

You can try to visit my problematic MRTG + RRDTool + 14all-1.1p25.cgi setup 
at http://free.bir.gov.ph/admin/mrtg/ 

Any idea? 

Thanks in advance. 

 ---
MARVIN T. PASCUAL
E-mail: bintut at softhome.net
Tel. No. +63 2 4262172
Mobile No. +63 919 3141254
Yahoo! Messenger ID: bintut

--
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