alte func weg
This commit is contained in:
parent
7f4fa1e0bd
commit
f0f6e5baa8
1 changed files with 0 additions and 14 deletions
|
@ -99,20 +99,6 @@ function get_cpu_values {
|
||||||
function get_config {
|
function get_config {
|
||||||
get_cpu_labels
|
get_cpu_labels
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
echo $line | awk '/cpu-count:/{
|
|
||||||
print "multigraph cpu_load_detail_""'"$name"'";
|
|
||||||
print "graph_title cpu_load_detail " "'"$name"'";
|
|
||||||
print "graph_vlabel %";
|
|
||||||
print "graph_category mikrotik";
|
|
||||||
print "graph_args -l 0 --upper-limit 100}'
|
|
||||||
c=0
|
|
||||||
while [ "$c" -lt "$anzahl_cpu" ]; do
|
|
||||||
echo cpu_detailed_graph_load.label cpu$c_load
|
|
||||||
echo cpu_detailed_graph_irq.label cpu$c_irq
|
|
||||||
echo cpu_detailed_graph_disk.label cpu$c_disk
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
echo $line | awk '/voltage:/{
|
echo $line | awk '/voltage:/{
|
||||||
print "multigraph voltage_graph_""'"$name"'";
|
print "multigraph voltage_graph_""'"$name"'";
|
||||||
print "graph_title voltage " "'"$name"'";
|
print "graph_title voltage " "'"$name"'";
|
||||||
|
|
Loading…
Reference in a new issue