boost error (popen)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
loginrl103
Posts: 3
Joined: Mon Nov 22, 2010 8:19 am

boost error (popen)

Post by loginrl103 »

last version cacti;
from log

Code: Select all

11/24/2010 07:50:03 PM - BOOST: Poller[0] PROGERR: ERRNO:'8' TYPE:'Notice' MESSAGE:'Undefined variable: fp' IN FILE:'/var/www/cacti/plugins/boost/setup.php' LINE NO:'1633'
11/24/2010 07:50:03 PM - BOOST: Poller[0] PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'pclose(): supplied argument is not a valid stream resource' IN FILE:'/var/www/cacti/plugins/boost/setup.php' LINE NO:'1633'
i view "/var/www/cacti/plugins/boost/setup.php":
line 1581,

Code: Select all

$fp = popen(read_config_option("path_rrdtool") . escape_command(" $command_line"), $popen_type);
then line 1633

Code: Select all

pclose($fp);
so, in line 1581 not checked if the error occurred while open command.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests