thanks infonya

saya gunakan opsi cfgmaker nointerface karena jika tanpa opsi nointerface mrtg 
akan menggraph semua target interface karena saya perlukan justru hanya target 
tertentu saja yg akan ditampilkan (menggunakan OID ini)
setelah selesai baru saya inputkan OID secara manual pada contoh.cfg

salam,
Cyd



See & Xplorer Cyd Blogs! http://indracyd.wordpress.com


----- Original Message -----
> From: Andika Triwidada <and...@gmail.com>
> To: tanya-jawab@linux.or.id
> Cc: 
> Sent: Wednesday, 29 August 2012 7:33 PM
> Subject: Re: [tanya-jawab] mrtg - howto cfgmaker oid
> 
> 2012/8/29 Indracyd <nus...@yahoo.com>
>> 
>>  Dear all linuxer
>> 
>>  saya kesulitan untuk membuat cfgmaker hanya untuk OIDnya saja, karena
>>  selama ini saya memasukan konfigurasi OID setelah melakukan cfgmaker normal
>>  berikut ini contoh perintah  yang saya gunakan
>> 
>>  cfgmaker --global 'WorkDir: /var/www/mrtg' --output 
> /etc/mrtg/contoh.cfg
>>  public@111.222.333.444
>> 
>>  lalu setelah itu saya baru memasukan no value OID pada contoh.cfg
>> 
>>  yang ingin saya tanyakan cara menggunakan opsi2 pada cfgmaker agar saya
>>  dapat langsung cfgmaker oidnya
> 
> Barangkali relevan:
> 
> Help Functions for Templates
> 
> The following functions exists to facilitate the writing of host and
> interface templates.
> 
> html_escape(string)
> html_escape() takes a string as an argument and returns a new string
> where the following substitutions has been done: the chars "<", 
> ">"
> and "&" are replaced by "&lt;", "&gt;" 
> and "&" and that newlines
> embedded in the string are prepended with "<BR>" and appended 
> with a
> space character (newlines at the end of the string are not touched).
> 
> oid_pick($router_connect,$v3opt,"oid1","oid2"...)
> This function will try to poll each of the oids specified until it is
> successful or has run out of oids. It will return the name of the
> first oid that worked or undef if it is not successful
> 
> -- 
> FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
> Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id
> Arsip dan info milis selengkapnya di http://linux.or.id/milis
>

--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke