I upgraded my cacti-0.8.7a to cacti-0.8.7b and work very good, but i cant add new device because have the bellow message:
Error: Save Failed
Any can help me with that?, I too added any plugins. (thold, monitor, ntop, flowview)and all work very good, but cant create new device.
Error: Save Failed
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 53
- Joined: Tue Apr 04, 2006 3:45 pm
- Location: Colombia
- Contact:
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Check that you have enabled rights for your admin user on all the plugins you have installed.
I had this problem and it turned out to be Monitor. But the *reason* was that Monitor doesn't create it's database entries until the tab has been displayed. Maybe other plugins have this problem too?
I had this problem and it turned out to be Monitor. But the *reason* was that Monitor doesn't create it's database entries until the tab has been displayed. Maybe other plugins have this problem too?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Cacti User
- Posts: 53
- Joined: Tue Apr 04, 2006 3:45 pm
- Location: Colombia
- Contact:
THE PROBLEM PERSIST
Hello.
The Monitor yet created its option but now i cant enable its option (Monitor Host) neither create a new device because have the message:
Error: Save Failed
Any can help me fixed that issue?
The Monitor yet created its option but now i cant enable its option (Monitor Host) neither create a new device because have the message:
Error: Save Failed
Any can help me fixed that issue?
-
- Cacti User
- Posts: 53
- Joined: Tue Apr 04, 2006 3:45 pm
- Location: Colombia
- Contact:
Created manuyally the PLUGIN data base
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'];
}
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'];
}
-
- Posts: 2
- Joined: Wed Sep 16, 2009 12:19 pm
Re: Error: Save Failed
I think i found the answer,the host table in the cacti database doesn't have the plugins monitor column in it,so if you added a new device to the database and had the monitor selected,it failed.because you were inserting a unknow colunm into table "host".oscar.sanabria wrote:I upgraded my cacti-0.8.7a to cacti-0.8.7b and work very good, but i cant add new device because have the bellow message:
Error: Save Failed
Any can help me with that?, I too added any plugins. (thold, monitor, ntop, flowview)and all work very good, but cant create new device.
to resolve the problem ,you only need to go to the plguins directory ,and exec the sql file in the monitor subdirectory.For example:
mysql -u root -p your_cacti_database<monitor.sql
here is the content of monitor.sql
ALTER TABLE host ADD monitor char(3) default 'on' not null AFTER disabled;
ALTER TABLE host ADD monitor_text text default '' not null AFTER monitor;
REPLACE INTO `user_auth_realm` VALUES (32, 1);
Who is online
Users browsing this forum: No registered users and 2 guests