#--------------------------------------------------------------------------- # @(#) $Name: cflowd-2-1-b1 $ # @(#) $Id: cfdcollect.conf.example,v 1.1 1998/09/18 14:03:25 dwm Exp $ #--------------------------------------------------------------------------- # Example cfdcollect configuration file # # THIS IS JUST AN EXAMPLE !!!! IT MUST BE MODIFIED TO WORK # WITH YOUR CFLOWD INSTALLATION!!! #........................................................................... # # There are two types of stanzas in this file: a system stanza and a # cflowd stanza. # # system stanza # ------------- # A single system stanza is required. It is used to set system-wide # options for cfdcollect: # # logFacility: # sets the syslog facility to be used for logging. # # dataDirectory: # sets the directory into which cfdcollect will write ARTS # data. cfdcollect actually writes into subdirectories # under dataDirectory for each router, with the subdirectories # named by the IP address of each router (corresponding to # the HOST setting for routers in cflowd.conf). # # filePrefix: # Sets the file prefix to be used when writing ARTS data. # cfdcollect uses filenames of the form filePrefix.YYYYMMDD to # store ARTS data. # # pidFile: # Sets the filename into which cfdcollect will store its # process ID. # # cflowd stanza # ------------- # A cflowd stanza is required for each instance of cflowd from which # you'd like cfdcollect to retrieve data. For each instance of # cflowd, their should be a cflowd stanza containing: # # host: # The host running cflowd. This may be a hostname or an IP # address. # # tcpCollectPort: # Sets the port to which to connect to on the host running # cflowd. This is the TCP port on which cflowd is listening, # corresponding to the TCPCOLLECTPORT setting in the OPTIONS # stanza of cflowd.conf. # # minPollInterval: # Sets the minimum interval between connections to cflowd. # This is not an exact interval timer, since cfdcollect # processes each cflowd instance in a single thread. # #--------------------------------------------------------------------------- #--------------------------------------------------------------------------- # An example system stanza. #--------------------------------------------------------------------------- system { logFacility: local6 # Syslog to local6 facility. dataDirectory: /usr/local/arts/data/cflowd filePrefix: arts pidFile: /usr/local/arts/etc/cfdcollect.pid } #--------------------------------------------------------------------------- # An example cflowd stanza for the case where cflowd is running on the # local host. #--------------------------------------------------------------------------- cflowd { host: localhost tcpCollectPort: 2056 minPollInterval: 300 } #--------------------------------------------------------------------------- # An example cflowd stanza for a phony host. #--------------------------------------------------------------------------- # cflowd { # host: cflowd.mydomain.org # tcpCollectPort: 2056 # minPollInterval: 300 # }