###################################################
# Options that don't usually get changed

# An interval is 2.5 minutes, this is how many
# intervals to skip before doing a graphing run
#skip_intervals 0
{
 my $interval = $bandwidthd{'skipInterval'} || "0";
 $OUT .= "skip_intervals $interval\n" 

}

# Graph cutoff is how many k must be transfered by an
# ip before we bother to graph it
#graph_cutoff 1024
{
 my $cutoff = $bandwidthd{'grapCutoff'} || "1024";
 $OUT .= "graph_cutoff $cutoff\n"

}

#Put interface in promiscuous mode to score to traffic
#that may not be routing through the host machine.
#promiscuous true
{
 my $promiscuous = $bandwidthd{'promiscuous'} || "false";
 $OUT .= "promiscuous $promiscuous\n"

}

#Log data to cdf file htdocs/log.cdf
#output_cdf false
{
 my $output_cdf = $bandwidthd{'output_cdf'} || "false";
 $OUT .= "output_cdf $output_cdf\n"

}

#Read back the cdf file on startup
#recover_cdf false
{
 my $recover_cdf = $bandwidthd{'recover_cdf'} || "false";
 $OUT .= "recover_cdf $recover_cdf\n"

}

#Libpcap format filter string used to control what bandwidthd see's
#Please always include "ip" in the string to avoid strange problems
#filter "ip"

### use a template custom for this one !

#Draw Graphs - This default to true to graph the traffic bandwidthd is recording
#Usually set this to false if you only want cdf output or
#you are using the database output option.  Bandwidthd will use very little
#ram and cpu if this is set to false.
#graph true
{
 my $graph = $bandwidthd{'graph'} || "true";
 $OUT .= "graph $graph\n"

}


#Set META REFRESH seconds (default 150, use 0 to disable).
#meta_refresh 150
{
 my $meta_refresh = $bandwidthd{'meta_refresh'} || "150";
 $OUT .= "meta_refresh $meta_refresh\n"

}

