File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / bmon / etc / bmon.conf
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 22:19:56 2012 UTC (12 years, 4 months ago) by misho
Branches: bmon, MAIN
CVS tags: v2_1_0p0, v2_1_0, HEAD
bmon

    1: #
    2: # Example bmon configuration file
    3: #
    4: 
    5: #####
    6: ## Include other configuration files
    7: ## 
    8: #include /etc/global.conf
    9: 
   10: #####
   11: ## Primary input module
   12: ##
   13: ## Try the following input methods in the
   14: ## specified order and use the first one reporting
   15: ## to be working.
   16: ##
   17: #input netlink,proc:file=/proc/net/dev,sysfs:dir=/sys
   18: 
   19: #####
   20: ## Secondary input module
   21: ##
   22: #secondary_input distribution:ipv6
   23: 
   24: #####
   25: ## Primary output module
   26: ##
   27: ## Use curses interface for as primary output with
   28: ## the combined node list enabled and set height of
   29: ## graphs to 8 lines.
   30: ##
   31: #output curses:cnl;height=8
   32: 
   33: #####
   34: ## Secondary output module
   35: ##
   36: #secondary_output distribution:errignore;ipv6
   37: 
   38: #####
   39: ## Interface acceptance policy
   40: ##
   41: ## Accept all forms of ethernet, loopback and ip tunnels
   42: ##
   43: #policy eth*,lo*,ip*
   44: 
   45: #####
   46: ## Read Interval
   47: ##
   48: ## Do high resolution statistic collection by reading
   49: ## statistics every 1/10 second.
   50: ##
   51: #read_interval 0.1
   52: 
   53: #####
   54: ## Lifetime
   55: ##
   56: ## Set lifetime of items not receving any updates to 60 seconds
   57: ##
   58: #lifetime 60
   59: 
   60: #####
   61: ## Hearbeat Factor
   62: ## 
   63: ## Accept a variance of 10% before and after the expected timestamp
   64: ## 
   65: #heartbeat_factor 0.1
   66: 
   67: #####
   68: ## Rate Interval
   69: ##
   70: ## Calculate rates over 3 seconds, less accurate but also less bursty.
   71: ##
   72: #rate_interval 3.0
   73: 
   74: #####
   75: ## Sleep Time
   76: ##
   77: ## Do very short sleep, uses more CPU but may be more accurate.
   78: ## 
   79: #sleep_time 0.001
   80: 
   81: #####
   82: ## Show all interface even if their status is down.
   83: ##
   84: #show_all
   85: 
   86: #####
   87: ## Use SI metric system
   88: ##
   89: #use_si
   90: 
   91: #####
   92: ## Hint to output modules to draw that many graphs
   93: ##
   94: #nr_graphs 2
   95: 
   96: #####
   97: ## Color Layout
   98: ##
   99: ## Available colors:
  100: ##    default, black, red, green, yellow, blue, magenta
  101: ##    cyan, white
  102: ##
  103: ## Available Flags:
  104: ##    reverse
  105: ##
  106: ##     <Name>       <Fore>     <Back>   <Flags>
  107: Layout Default      default    default
  108: Layout Statusbar    default    default  reverse
  109: Layout Header       default    default
  110: Layout List         default    default
  111: Layout Selected     default    default  reverse
  112: 
  113: #####
  114: ## Key bindings
  115: ##
  116: ## Bind <key> <executable>
  117: ##
  118: #bind D /sbin/ifdown.sh

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>