Thursday, July 19, 2012

MRTG di Linux IGN7

# yum install net-snmp-utils net-snmp
# service snmpd start
# snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex
# cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.original
# nano /etc/snmp/snmpd.conf
# service snmpd start
# snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex
# yum install mrtg
# mkdir /var/www/html/mrtg/
# cfgmaker --global "workdir: /var/wwwhtml/mrtg" -ifref=ip --output /etc/mrtg/mrtg.cfg --global 'options[_]: growright,bits' public@localhost

ada pesan kesalahan
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/auto/Socket6/Socket6.so: undefined symbol: Perl_Gthr_key_ptr

[root@msmunir2 snmp]# yum install perl*
...
...
...
Error: Paket: perl-DateTime-TimeZone-Tzfile-0.007-1.ign7.noarch (ign7-updates)
           Dibutuhkan: perl(DateTime::TimeZone::SystemV) >= 0.002
Error: Paket: perl-Compress-Raw-Lzma-2.037-3.ign7.i686 (ign7-all)
           Dibutuhkan: xz-libs(x86-32) = 5.0.3
           Terpasang: xz-libs-5.1.1-1alpha.ign7.i686 (@anaconda-0/7)
               xz-libs(x86-32) = 5.1.1-1alpha.ign7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@msmunir2 snmp]#

[root@msmunir2 snmp]# yum install perl* --skip-broken


Akhirnya proses instalasi MRTG di IGN7 dibatalkan dan instalasi dilaksanakan di Fedora 17. Tampaknya IGN7 tidak dirancang untuk keperluan server.

No comments:

Post a Comment