Moin,
ich habe ein kleines Problem bei der Anpassung des Wertebereiches der Y-Achse:
Ich möchte, dass der untere Bereicht bei 220 anfängt und der obere bei maximal 240 aufhört.
Hier meine Config der ngraphen:
 |
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
define ngraph{
service_name ^Actual_Voltage_01$
graph_perf_regex =(\d+[\.]\d+)
graph_value volt
graph_units Volt
graph_legend current volt
rrd_plottype AREA
rrd_color c0c0ff
graph_upper_limit 240
graph_lower_limit 220
}
define ngraph{
service_name ^Actual_Voltage_01$
type CDEF
graph_value volt_cdef
graph_calc volt
rrd_plottype LINE1
rrd_color 000000
}
define ngraph{
graph_calc volt,AVERAGE
graph_legend Average Value
graph_value vdef_volt_average
hide no
rrd_color 185a7b
rrd_plottype LINE2
service_name ^Actual_Voltage_01$
type VDEF
}
|