alte func weg

This commit is contained in:
Michael Grote 2021-09-20 14:47:04 +02:00
parent 7f4fa1e0bd
commit f0f6e5baa8

View file

@ -99,20 +99,6 @@ function get_cpu_values {
function get_config {
get_cpu_labels
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:/{
print "multigraph voltage_graph_""'"$name"'";
print "graph_title voltage " "'"$name"'";