prevision: only look 5y in the future (more precise)
This commit is contained in:
parent
412fcfad37
commit
951c2a2bac
@ -21,8 +21,8 @@ get_next_level() {
|
|||||||
nextlevels[level]=$timestamp
|
nextlevels[level]=$timestamp
|
||||||
done
|
done
|
||||||
} < <(
|
} < <(
|
||||||
rrdtool graph /dev/null -s ${first["time"]%:} -e +15y \
|
rrdtool graph /dev/null -s -$prevperiod -e +5y \
|
||||||
DEF:data=$rrdfile:AP:AVERAGE:step=600 \
|
DEF:data=$rrdfile:AP:AVERAGE:step=3600 \
|
||||||
VDEF:intercept=data,LSLINT \
|
VDEF:intercept=data,LSLINT \
|
||||||
VDEF:growth=data,LSLSLOPE \
|
VDEF:growth=data,LSLSLOPE \
|
||||||
CDEF:trend=data,POP,COUNT,growth,*,intercept,+ \
|
CDEF:trend=data,POP,COUNT,growth,*,intercept,+ \
|
||||||
@ -96,7 +96,7 @@ get_next_level() {
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
} < <(
|
} < <(
|
||||||
rrdtool graph /dev/null -s ${first["time"]%:} -e +15y \
|
rrdtool graph /dev/null -s -$prevperiod -e +5y \
|
||||||
DEF:data=$rrdfile:$stat:AVERAGE:step=600 \
|
DEF:data=$rrdfile:$stat:AVERAGE:step=600 \
|
||||||
VDEF:intercept=data,LSLINT \
|
VDEF:intercept=data,LSLINT \
|
||||||
VDEF:growth=data,LSLSLOPE \
|
VDEF:growth=data,LSLSLOPE \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user