summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/rrd.inc
diff options
context:
space:
mode:
authorheper <heper@users.noreply.github.com>2016-03-17 22:56:35 +0100
committerheper <heper@users.noreply.github.com>2016-03-17 22:56:35 +0100
commit3401dbe2b21b82b129563d94663b64e9071ea1eb (patch)
tree15f7326373aa82014c13d721309a7df048315d41 /src/etc/inc/rrd.inc
parentb00bbc0b56413690eab7e0314ab8725cf583af71 (diff)
downloadpfsense-3401dbe2b21b82b129563d94663b64e9071ea1eb.zip
pfsense-3401dbe2b21b82b129563d94663b64e9071ea1eb.tar.gz
fix rrd error on boot
Seems to be a copy/paste error remain from when i initially created the dhcpd rrd thingy. Just noticed this now ;) Mar 17 22:33:34 php-cgi rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/opt3-dhcpd.rrd N:U:U:U:U:U:U:U:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/opt3-dhcpd.rrd: found extra data on update argument: U:U:U:U:U'
Diffstat (limited to 'src/etc/inc/rrd.inc')
-rw-r--r--src/etc/inc/rrd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/rrd.inc b/src/etc/inc/rrd.inc
index 690f6cb..5c6bfdb 100644
--- a/src/etc/inc/rrd.inc
+++ b/src/etc/inc/rrd.inc
@@ -979,7 +979,7 @@ function enable_rrd_graphing() {
/* enter UNKNOWN values in the RRD so it knows we rebooted. */
if (platform_booting()) {
- mwexec("$rrdtool update $rrddbpath$dhcpif$dhcpd N:U:U:U:U:U:U:U:U");
+ mwexec("$rrdtool update $rrddbpath$dhcpif$dhcpd N:U:U:U");
}
$rrdupdatesh .= "\n";
OpenPOWER on IntegriCloud