Pages

7/14/2009

MRTG

CONFIG MAKER USING INTERFACE DESCRIPTIONS
perl cfgmaker -ifref=name -ifdesc=descr community@router > output.fil

SNMPv2 TO SUPPORT LARGE BANDWIDTH LINKS
interfaces 1Gb or greater:
add "::::2" to end of target line in CFG this asks to use SNMP v2 which supports a greater number of bits for the bandwidth field.
e.g.:
Target[10.1.1.4_Te1_4_1]: #Te1/4/1:community@10.1.1.4:::::2

PNGTITLE
Add a title inside the graphic using PNGTitle

Use this regex to add this line:

Find: SetEnv\[\(.*\)\]:.*MRTG_INT_IP="\(.*\)".*MRTG_INT_DESCR="\(.*\)".*\n
Replace: &PNGTitle[\1]: \2 - \3\n

No comments: