Portál AbcLinuxu, 5. května 2025 21:34
pi@raspberrypi:~/speedtest $ bash create_my_speedtest_rrd ERROR: you must define at least one Round Robin Archive create_my_speedtest_rrd: line 13: RRA:MIN:0.5:60:8785: command not foundZde je script:
#!/bin/bash DATE=`/bin/date "+%Y.%m.%d-%H%M%S"` MYPATH="/var/www/speedtest/speedtest.rrd" rrdtool create "$MYPATH" \ --start N --step 3600 \ DS:MY-PING:GAUGE:7200:0:6000 \ DS:MY-DOWNLINK:GAUGE:7200:0:3000 \ DS:MY-UPLINK:GAUGE:7200:0:3000 \ RRA:MIN:0.5:60:8785 \ RRA:MAX:0.5:60:8785 \ RRA:AVERAGE:0.5:1:8785
Řešení dotazu:
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.