note 105415 added to function.rrd-fetch
| From: | AndrewHodel at osu1 dot php dot net | Date: | Tue, 16 Aug 2011 13:33:22 +0000 |
| Subject: | note 105415 added to function.rrd-fetch | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-182508@lists.php.net to get a copy of this message | ||
There is a third required argument to this function, if you pass just the 2 listed here the function
will return no data.
The third argument is the number of results you want, if you want everything simply pass
count($OPTSARRAY) as arg3.
$opts = array ( "AVERAGE", "--start", '-1d');
print_r(rrd_fetch('./rrds/file.rrd', $opts, count($opts)));
----
Server IP: 69.147.83.197
Probable Submitter: 64.88.221.34
----
Manual Page -- http://www.php.net/manual/en/function.rrd-fetch.php
Edit -- https://master.php.net/note/edit/105415
Del: integrated -- https://master.php.net/note/delete/105415/integrated
Del: useless -- https://master.php.net/note/delete/105415/useless
Del: bad code -- https://master.php.net/note/delete/105415/bad+code
Del: spam -- https://master.php.net/note/delete/105415/spam
Del: non-english -- https://master.php.net/note/delete/105415/non-english
Del: in docs -- https://master.php.net/note/delete/105415/in+docs
Del: other reasons-- https://master.php.net/note/delete/105415
Reject -- https://master.php.net/note/reject/105415
Search -- https://master.php.net/manage/user-notes.php