import 0 as unknown
This commit is contained in:
parent
dc6ca9f073
commit
522f29e6d7
2
import
2
import
@ -79,7 +79,7 @@ then
|
|||||||
while read date hour data
|
while read date hour data
|
||||||
do
|
do
|
||||||
data=$(date -d "$date $hour" +%s):${data// /:}
|
data=$(date -d "$date $hour" +%s):${data// /:}
|
||||||
rrdtool update "$rrdfile" -t $template "$data" 2>&1
|
rrdtool update "$rrdfile" -t $template "${data//:0/:U}" 2>&1
|
||||||
done <<<"${POST["data"]}"
|
done <<<"${POST["data"]}"
|
||||||
|
|
||||||
if [ -n "$CACHE_DIR" ]
|
if [ -n "$CACHE_DIR" ]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user