FAQFAQ   SearchSearch   RegisterRegister   ProfileProfile   Log inLog in 

Installing plugins on CACTI0.8.7a

 
Post new topic   Reply to topic    CactiUsers.org Forum Index -> General
View previous topic :: View next topic  
Author Message
oscar.sanabria
New User


Joined: 27 Mar 2008
Posts: 3

PostPosted: Thu Mar 27, 2008 2:16 pm    Post subject: Installing plugins on CACTI0.8.7a Reply with quote

I add the:
$plugins = array();
$plugins[] = 'thold';
$plugins[] = 'monitor';
$plugins[] = 'discovery';
$plugins[] = 'flowview';
$plugins[] = 'hostinfo';
$plugins[] = 'ntop';
$plugins[] = 'syslog';
$plugins[] = 'tools';

into include/global.php and i have the cacti/plugins/thold, etc; but dont run the plugins, any can help me_
Back to top
View user's profile Send e-mail
lwegaba
New User


Joined: 22 Mar 2008
Posts: 7

PostPosted: Thu Mar 27, 2008 3:53 pm    Post subject: Reply with quote

Have you checked uder user management whether the options of
"view monitor"
"Configure Thresholds"
"View Thresholds"
and others . your not seeing them.

Am with the assumption that you installed the plugin archecteture successfully and got the right patches.

However i also got issues with cacti 0.8.7a so i decided to install cacti0.8.7b with the right plugin archetecture (patched). hence am working fine now.

All the best.
Back to top
View user's profile
oscar.sanabria
New User


Joined: 27 Mar 2008
Posts: 3

PostPosted: Fri Mar 28, 2008 9:06 am    Post subject: Working now, but error: Save Filed Reply with quote

Now Working.

I too decide upgrade to cacti-0.8.7a to cacti-0.8.7b and install the plugin architecture and all the plugins working very good, BUT NOW HAVE THE BELLOW PROBLEM:

WHEN I AM ADDING A NEW DEVICE CANT SAVE BECAUSE HAVE THE NEXT MESSAGE: "Error: Save Failed"

Any can help me about this issue?
Back to top
View user's profile Send e-mail
oscar.sanabria
New User


Joined: 27 Mar 2008
Posts: 3

PostPosted: Fri Mar 28, 2008 9:45 am    Post subject: Resolved Reply with quote

Hello.

I created the database for monitor plugin manually and now i can create devices and enable monitor host, but have a error when i going to monitor tab:

Warning: Invalid Argument supplied for foreach() /cactipath/plugins/monitor/monitor.php on line 199

Any know what meaning that?

This the line 199:

if (in_array('thold',$plugins)) {
$thold_alerts = array();
$thold_hosts = array();

$result = db_fetch_assoc('SELECT rra_id FROM thold_data WHERE thold_alert > 0 AND thold_enabled = "on"');

foreach ($result as $row) { $thold_alerts[] = $row['rra_id'];
}
Back to top
View user's profile Send e-mail
jimmy
Site Admin


Joined: 11 Nov 2004
Posts: 1495

PostPosted: Wed Apr 02, 2008 11:19 pm    Post subject: Reply with quote

Fix in SVN.
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    CactiUsers.org Forum Index -> General All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Forums Sitemap