![]() |
Consumption Analytics Documentation |
################################## # Sample ccnetcollect config file # # General notes: # - Any given configuration item takes the form 'name = value', # and the '=' sign must always be present. # - The 'name' portion of a configuration item is case inSensiTiVe # - The number in parentheses at the end of any line is the # maximum number of lines of that type that should be in the file. # - Blank lines and whitespace characters are ignored # - Any text in a line after a '#' character is ignored # - In case of error, consult ccnetcollect.log for more detail # # For yes/no options: # - yes, y, or 1 are all equivalent. # - no, n, or 0 are all equivalent. # If present, the logfile option below should be the first option # in the config file to avoid the default ccnetcollect.log being # used to log parsing of the config file prior to this option. logfile = /var/log/ccnetcollect.log # Required if daemon_mode = Y daemon_mode = Y # Run as a daemon. Default is N (1) daemon_dir = /please/edit/me # Set the working directory (1) # (Required if daemon_mode enabled) (1) # Required settings # listen_addr = 192.168.0.1 # Address to receive netflow on (1) listen_port = 1963 # Port to listen on (1) #accept_from = * # Accept NetFlow from any sender (1) accept_from = 10.45.113.34 # Filter. Only accept from these (32) accept_from = 10.45.113.35 # NetFlow sending devices (32) cc_serveraddr = 10.128.0.0 # Address of Cloud Cruiser server (1) cc_port = 8080 # Port of REST API (1) cc_username = admin # REST API username (1) cc_password = admin # REST API password (1) internal_net = 10.0.0.0/8 # Network ID of internal networks (64) internal_net = 100.64.0.0/10 # specified in CIDR notation (64) internal_net = 172.16.0.0/12 # Can have up to 64 internal ... (64) internal_net = 192.168.1.0/24 # ... networks defined (64) # Optional settings # #ccr_push_flag = N # If uncommented, do not push to Cloud Cruiser (1) #ccr_push_dir = netdata # If uncommented, specify the directory within # the usage directory to push CCR files to (1) empty_push = yes # If enabled, push empty files to Cloud Cruiser (1) debug = no # If enabled, output debug info to stdout (1) # (This will emit a huge amount of info) packet_limit = 0 # If 0, run forever # If not 0, exit after the specified number # of netflow packets have been received (1) packet_sizelimit = 2000 # Maximum size of a netflow packet in bytes (1) # (default is 2000) # Optional CCR export settings (ignored if ccr_push_flag is disabled) # # (Default is 1 export per hour, on minute 0 of the hour) # ccr_export_dir = ccr/ # Directory to export CCR files to (1) # (The trailing slash is optional) ccr_export_interval = 15 # Export every specified number of mins (1) # (Must be 1, 2, 5, 10, 15, 30 or 60) # #parser_threads = 8 # Specify 1 - 32 parser threads to use (1) # (Please read UserGuide for more info) # End sample config
(c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP