How to configure Cflowd.conf ,Cfdcollect.conf and Juniper

From: yotsak kongwithayanont (yotsak@yahoo.com)
Date: Mon Jun 11 2001 - 03:58:08 PDT

  • Next message: frank hellemink: "Re: cflowdmux running without errors but no data coming in"

     Dear Sir;
     I 'm testing Cflowd of JUNOS 4.4R2.3 with my Sun Solaris 2.7 .
     Please show me a good example cflowd.conf,cfdcollect.conf and
     Juniper
     configuration .
     This is old example for Cflowd configuration
     1. cfowd.conf
     PTIONS {
       # syslog to local6 facility.
       LOGFACILITY: local6
     
       # Listen for connections from cfdcollect on port 2056.
       TCPCOLLECTPORT: 2056
     
       # Use a 2 megabyte packet buffer in shared memory.
     # PKTBUFSIZE: 2097152
     PKTBUFSIZE: 1000000
     
       # Use /usr/local/arts/etc/cflowdtable.socket as named stream
     socket
       # for connections from local clients (cfdases et. al.)
       TABLESOCKFILE: /usr/local/arts/etc/cflowdtable.socket
     
       # Keep raw flow files in /usr/local/arts/data/cflowd/flows
     directory.
       FLOWDIR: /usr/local/arts/data/cflowd/flows
     
       # Each raw flow file should be 1000000 bytes in length.
       FLOWFILELEN: 1000000
     
       # Keep 10 raw flow files per router.
       NUMFLOWFILES: 10
     
       # Log total missed flows from a router if it exceeds 1000
     between
       # connections from cfdcollect.
       MINLOGMISSED: 1000
     }
     COLLECTOR {
     HOST: 192.10.20.190 # IP address of central collector
     ADDRESSES: { 192.10.20.190 }
     AUTH: none
      }
     CISCOEXPORTER {
     HOST: 192.10.20.191 # IP address of Cisco
     sending data.
     ADDRESSES: { 192.10.20.191 } # Addresses of interfaces
     on
     Cisco
     # # sending data.
     CFDATAPORT: 2055 # Port on which to listen
     for data.
     SNMPCOMM: 'public' # SNMP community name.
     LOCALAS: 1324 # Local AS of Cisco
     sending
     data.
     COLLECT: { protocol, portmatrix, ifmatrix, nexthop,
     netmatrix,
                       asmatrix, tos, flows }
     }
     
     cfdcollect.conf
     # 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
     # }
     
                        Best Regards,
                               Yotsak
                                              
     
     

    __________________________________________________
    Do You Yahoo!?
    Get personalized email addresses from Yahoo! Mail - only $35
    a year! http://personal.mail.yahoo.com/

    --
    cflowd mailing list
    cflowd@caida.org
    



    This archive was generated by hypermail 2b29 : Mon Jun 11 2001 - 04:12:03 PDT