| View previous topic :: View next topic |
| Author |
Message |
oscar.sanabria New User
Joined: 27 Mar 2008 Posts: 3
|
Posted: Thu Mar 27, 2008 2:16 pm Post subject: Installing plugins on CACTI0.8.7a |
|
|
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 |
|
 |
lwegaba New User
Joined: 22 Mar 2008 Posts: 7
|
Posted: Thu Mar 27, 2008 3:53 pm Post subject: |
|
|
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 |
|
 |
oscar.sanabria New User
Joined: 27 Mar 2008 Posts: 3
|
Posted: Fri Mar 28, 2008 9:06 am Post subject: Working now, but error: Save Filed |
|
|
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 |
|
 |
oscar.sanabria New User
Joined: 27 Mar 2008 Posts: 3
|
Posted: Fri Mar 28, 2008 9:45 am Post subject: Resolved |
|
|
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 |
|
 |
jimmy Site Admin
Joined: 11 Nov 2004 Posts: 1495
|
Posted: Wed Apr 02, 2008 11:19 pm Post subject: |
|
|
| Fix in SVN.
|
|
| Back to top |
|
 |
|