terus bikin script kecil.
vi mrtg.sh
#!/bin/sh /usr/bin/cfgmaker --global 'WorkDir: /var/www/html/mrtg' \ --global 'options[_]: growright,bits' --global 'WriteExpires: Yes' \ --global 'WithPeak[_]: y' --if-filter='$if_is_ethernet' \ --output /etc/mrtg/mrtg1.cfg [EMAIL PROTECTED]
/usr/bin/indexmaker /etc/mrtg/mrtg.cfg --output /var/www/html/mrtg/index.html
sebelumnya test dulu snmp nya :
snmpwalk -v 2c IPADDRESS -c public
Pastikan keluar variabel2 yg aneh2 di layar monitor kamu yach...
At 11:50 AM 7/29/2004 +0800, you wrote:
> smtpd udah jalan > snmpd.conf (coba pake cara rekan milis wa2n bachtiar) ----hasil----- #./cfgmaker --global "WorkDir: /var/www/html/mrtg" --global "Option[_]: bits,growright" [EMAIL PROTECTED] > /var/www/mrtg/mrtg.cfg --base: Get Device Info on [EMAIL PROTECTED]: SNMP Error: no response received SNMPv1_Session (remote host: "xxx.xxx.xxx.xxx" [xxx.xxx.xxx.xxx].161) community: "public" request ID: -1045948356 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 570 SNMPWALK Problem for 1.3.6.1.2.1.1 on [EMAIL PROTECTED]: at ./cfgmaker line 709
MASIH ERROR!, ada yg tau cara gampangnya...udah baca manual di 2 tempat ..kok trouble mulu ? mau test di jaringan lokal aja dulu nich..THX
--- Outgoing mail is certified Virus. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.727 / Virus Database: 482 - Release Date: 26/07/2004
-- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip, FAQ, dan info milis di http://linux.or.id/milis.php Tidak bisa posting? Baca: http://linux.or.id/wiki/index.php?pagename=ProblemMilisDanSolusi http://linux.or.id/wiki/index.php?pagename=TataTertibMilis
------------------------------------------------------------------------------------ My Public-Key GnuPG : http://aa.channel-11.web.id/aa-pubkey.asc
pgpjurSq38wt0.pgp
Description: PGP signature