Hello all, This is my third 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 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: [EMAIL PROTECTED] mrtg]# snmpwalk -c public -v 1 bayantel [EMAIL PROTECTED] 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 [EMAIL PROTECTED] [EMAIL PROTECTED] 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 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 respectively. 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: [EMAIL PROTECTED] Tel. No. +63 2 4262172 Mobile No. +63 919 3141254 Yahoo! Messenger ID: bintut Jabber ID: [EMAIL PROTECTED] GNU/Linux User No. 247127 ---o0o---o0o---o0o---o0o---o0o---o0o---o0o---o0o--- Diskless Thin Client Networking using GNU/Linux ---o0o---o0o---o0o---o0o---o0o---o0o---o0o---o0o---
signature.asc
Description: This is a digitally signed message part
-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
