Password:_ >administrator Password:_ #snmp host 219.117.246.200 #snmp community read-only SMB #save
CoolMaster:root {50} % cd /usr/local/etc/mrtg CoolMaster:root {51} % cfgmaker SMB@gw.smb.net > RTX1100.cfg CoolMaster:root {52} % vi RTX1100.cfg
###################################################################### # System: # Description: RTX1100 Rev.8.03.46 (Mon Aug 28 13:00:42 2006) # Contact: # Location: ######################################################################
### Interface 1 >> Descr: 'LAN1' | Name: '' | Ip: '219.117.246.193' | Eth: '00-a0-de-34-a4-f6' ###
Target[gw.smb.net_1]: 1:SMB@gw.smb.net: SetEnv[gw.smb.net_1]: MRTG_INT_IP="219.117.246.193" MRTG_INT_DESCR="LAN1" MaxBytes[gw.smb.net_1]: 12500000 Title[gw.smb.net_1]: Traffic Analysis for 1 -- PageTop[gw.smb.net_1]: <h1>Traffic Analysis for 1 -- </h1>
### Interface 2 >> Descr: 'LAN2' | Name: '' | Ip: '' | Eth: '00-a0-de-34-a4-f7' ###
Target[gw.smb.net_2]: 2:SMB@gw.smb.net: SetEnv[gw.smb.net_2]: MRTG_INT_IP="" MRTG_INT_DESCR="LAN2" MaxBytes[gw.smb.net_2]: 12500000 Title[gw.smb.net_2]: Traffic Analysis for 2 -- PageTop[gw.smb.net_2]: <h1>Traffic Analysis for 2 -- </h1>
CoolMaster:root {52} % /usr/local/etc/rc.d/mrtg_daemon restart
2007-08-27 (月) 09:26:31