mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
use rrdtool pipe in poller.
git-svn-id: http://www.observium.org/svn/observer/trunk@2631 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -7,6 +7,8 @@ include("includes/functions.php");
|
||||
|
||||
$iter = "0";
|
||||
|
||||
rrdtool_pipe_open($rrd_process, $rrd_pipes);
|
||||
|
||||
echo("Starting Polling Session ... \n\n");
|
||||
|
||||
foreach (dbFetchRows("SELECT * FROM `bills`") as $bill_data)
|
||||
@@ -102,4 +104,7 @@ function CollectData($bill_id)
|
||||
|
||||
if ($argv[1]) { CollectData($argv[1]); }
|
||||
|
||||
rrdtool_pipe_close($rrd_process, $rrd_pipes);
|
||||
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user