| ヘルプ: 環境設定: 例1 |
下の環境設定ファイルは、ミラー ポートを用いてレイヤ2/3スイッチをモニタするプローブのための典型的な設定を示しています。
[probe]
host = probe.inmon.com ; change to result of "hostname" command
softwareKey = 3BC37BEF3C13E76F0003FFFFA4E46D998B7D7C3949879FCD475158E1
collectorHost = traffic.inmon.com ; name of the sFlow collector
; some settings can have default values defined at the top level
; which are then overridden for specific agents below:
samplingRate = 1000
community = private
; Include scripts relevant to layer 2 switching
script.getArpCache.interval = 3600 ; get MAC -> ifIndex mapping
script.getVlanTable.interval = 3600 ; get ifIndex -> VLAN mapping
script.getIfTable.interval = 3600 ; get ifIndex -> MAC mapping
; Include scripts relevant to layer 3 switching
script.getRoutingTable.interval = 3600 ; get CIDR -> nextHop, protocol, ifIndex
; agent sending SPAN/mirror traffic to interface eth1
[agent]
address = 10.0.0.254 ; address of the switch management agent
; Uncomment next line if monitoring a Cisco Catalyst with VLANs configured
; script.getCiscoBridgeTable.interval = 3600
[adaptor]
deviceName = eth1
mirrorDirection = input ; input traffic is being mirrored
注記: このスイッチ(10.0.0.254)は、プローブ上のeth1に接続されているモニタ/SPANポートに入力パケットをミラーリングするように設定しておく必要があります(Port Mirroringを参照してください)。