On Tue, 2005-12-27 at 15:58 +0700, Fajar Priyanto wrote:
> On Tuesday 27 December 2005 03:59 pm, Luthfi Basyari wrote:
> > dear temen2..
> > aku ada masalah ttg MRTG ak udah install..konfigurasi sampai ke
> > indexmaker..berhasil..
> > tp pas running di index.html ku grafiknya blank...
> > ak simpan workdir nya di /srv/www/htdocs/mrtg...
> >
> > mohon pencerahan temen2 makasiy..
>
> Snmpnya udah dijalanin? Coba paste
> isi /etc/snmp/snmpd.conf, /etc/mrtg/mrtg.cfg
> disini.
aku bikin snmpd.conf sbb...:
# sec.name source community
#com2sec notConfigUser default public
com2sec xrouter default public
###
# Second, map the security name into a group name:
# groupName securityModel securityName
group notConfigGroup v1 xrouter
group notConfigGroup v2c xrouter
####
# Third, create a view for us to let the group have rights to:
# Make at least snmpwalk -v 1 localhost -c public system fast again.
# name incl/excl subtree mask(optional)
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1
####
# Finally, grant the group read-only access to the systemview view.
# group context sec.model sec.level prefix read write
notif
access notConfigGroup "" any noauth exact systemview
none none
## sec.name source community
#com2sec local localhost COMMUNITY
#com2sec mynetwork NETWORK/24 COMMUNITY
com2sec local localhost public
com2sec mynetwork 202.93.a.a/32 public
## group.name sec.model sec.name
#group MyRWGroup any local
#group MyROGroup any mynetwork
#
#group MyRWGroup any otherv3user
#...
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
group MyROGroup usm mynetwork
## incl/excl subtree mask
#view all included .1 80
view all included .1 80
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
syslocation Cibubur
syscontact xspyder
==================================================
dan mrtg.conf sbb:
WorkDir: /srv/www/htdocs/mrtg
Options[_]: bits,growright
RunAsDaemon: Yes
Target[xrouter]: 1: [EMAIL PROTECTED]
Options[xrouter]: bits,growright
SetEnv[xrouter]: MRTG_INT_IP="202.93.a.a" MRTG_INT_DESCR="eth2"
MaxBytes[xrouter]: 64000
AbsMax[xrouter]: 64000
Title[xrouter]: Traffic In Analysis for "xrouter" PT.Reprindo Prasidha:
PageTop[xrouter]: <H1>Traffic In Analysis for xrouter</H1>
=======================================================================
thnx before...
> Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
> http://linux2.arinet.org
> 15:58:56 up 8:14, 2.6.14-1.1653_FC4 GNU/Linux
> Let's use OpenOffice. http://www.openoffice.org
>
--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis