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:
@@ -85,6 +85,8 @@ if (isset($options['d']))
|
||||
# ini_set('error_reporting', 0);
|
||||
}
|
||||
|
||||
rrdtool_pipe_open($rrd_process, $rrd_pipes);
|
||||
|
||||
echo("Starting polling run:\n\n");
|
||||
$polled_devices = 0;
|
||||
if (!isset($query))
|
||||
@@ -120,7 +122,7 @@ echo('MySQL: Cell['.($db_stats['fetchcell']+0).'/'.round($db_stats['fetchcell_se
|
||||
echo("\n");
|
||||
|
||||
logfile($string);
|
||||
|
||||
rrdtool_pipe_close($rrd_process, $rrd_pipes);
|
||||
unset($config); ### Remove this for testing
|
||||
|
||||
#print_r(get_defined_vars());
|
||||
|
Reference in New Issue
Block a user