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 "&amp;" 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

Kirim email ke