Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


monitor plugin - setup.php error

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
mikieo



Joined: 06 Feb 2007
Posts: 19

PostPosted: Mon Mar 03, 2008 9:20 am    Post subject: monitor plugin - setup.php error Reply with quote

Hi - I've installed the monitor plug in but get the following error when I click the monitor tab

Warning: Invalid argument supplied for foreach() in /usr/local/apache2/htdocs/cacti/plugins/monitor/setup.php on line 265

line 265 of setup.php highlighted below...

include_once($config['library_path'] . '/database.php');
$sql = 'SHOW COLUMNS FROM host';
$result = db_fetch_assoc($sql);
$found = false;
$found2 = false;
foreach ($result as $row) {
if ($row['Field'] == 'monitor')
$found = true;

any ideas anyone please??
Back to top
bnaef



Joined: 23 Jul 2008
Posts: 1

PostPosted: Wed Jul 23, 2008 12:55 pm    Post subject: monitor plugin Reply with quote

i have the same problem. did you find any solution?
Beat
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group