]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
doc: Fix NEWMONTH example 689/head
authorKrzysztof Kotlenga <pocek@users.sf.net>
Sun, 22 Nov 2015 14:23:18 +0000 (15:23 +0100)
committerKrzysztof Kotlenga <pocek@users.sf.net>
Sun, 22 Nov 2015 14:42:53 +0000 (15:42 +0100)
Make it actually accumulate values over a period.

doc/rrdgraph_rpn.pod

index 33433dcb3d9e0496ac2ffed4bafa88574903ed47..8a7b5bc0776365a06d9cf19cc1e63a1e7283c9df 100644 (file)
@@ -353,7 +353,7 @@ B<NEWDAY>,B<NEWWEEK>,B<NEWMONTH>,B<NEWYEAR>
 These three operators will return 1.0 whenever a step is the first of the given periode. The periodes are determined
 according to the local timezone AND the C<LC_TIME> settings.
 
-  CDEF:mtotal=rate,STEPWIDTH,*,NEWMONTH,PREV,0,IF,ADDNAN
+  CDEF:mtotal=rate,STEPWIDTH,*,NEWMONTH,0,PREV,IF,ADDNAN
 
 B<TIME>