#!/usr/bin/python -tt import os # The collector port number PORTNO = 2100 # Where does the collector store it's received data? SPOOLDIR = '/var/spool/flowmon' # Where do we put our log? LOGFILE_COLLECTOR = '/var/log/flowmon-collector.log' LOGFILE_DBSPOOLER = '/var/log/flowmon-dbspooler.log' # mysql or postgresql data storage DATABASE = 'mysql' # Database credentials DB_HOST = 'localhost' DB_USER = 'flowmon' DB_PASS = 'flowmon' DB_NAME = 'flowstorage' # The systems we accept flow-exports from routers = { # '192.168.1.254' : 'sflow5', '192.168.1.254' : 'netflow9', '10.32.63.245' : 'netflow9', '10.32.175.253' : 'netflow9' }