mirror of https://github.com/mikaku/Monitorix.git
reverted config option
This commit is contained in:
parent
23d0d37087
commit
4b50d18650
|
@ -254,7 +254,7 @@ EOF
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(scalar(my @tfl = split(',', $config{traffacct}->{list})) && lc($config{traffacct}->{enabled}) eq "y") {
|
if(scalar(my @tfl = split(',', $config{traffacct}->{list})) && lc($config{graph_enable}->{traffacct}) eq "y") {
|
||||||
print(OUT " <optgroup label='Traffic Accounting'>\n");
|
print(OUT " <optgroup label='Traffic Accounting'>\n");
|
||||||
print(OUT " <option value='traffacct.all'>All</option>\n");
|
print(OUT " <option value='traffacct.all'>All</option>\n");
|
||||||
for($n = 0; $n < scalar(@tfl); $n++) {
|
for($n = 0; $n < scalar(@tfl); $n++) {
|
||||||
|
|
|
@ -78,6 +78,7 @@ alert_rootfs_script = /path/to/script.sh
|
||||||
fail2ban = n
|
fail2ban = n
|
||||||
icecast = n
|
icecast = n
|
||||||
int = y
|
int = y
|
||||||
|
traffacct = n
|
||||||
</graph_enable>
|
</graph_enable>
|
||||||
|
|
||||||
|
|
||||||
|
@ -402,7 +403,6 @@ alert_rootfs_script = /path/to/script.sh
|
||||||
# TRAFFACCT graph
|
# TRAFFACCT graph
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
<traffacct>
|
<traffacct>
|
||||||
enabled = n
|
|
||||||
max = 10
|
max = 10
|
||||||
graphs_per_row = 2
|
graphs_per_row = 2
|
||||||
enable_monthly_reports = n
|
enable_monthly_reports = n
|
||||||
|
|
Loading…
Reference in New Issue