I am using Cacti Version: 0.8.8a, Plugin Architecture Version: 3.1. and thold version 0.5.0 At first i tried creating a threshold template for interface status. I almost succeeded but discovered that i had instead created a template for interface_traffic and not status by mistake. After several unsuccessful attempts to create the status template i disabled and uninstalled thold. I re-installed and re-activated it and immediately discovered that all my graphs were not displaying. The rrd files were still being created though but no matter what i did i couldn't get thold active as well as the graphs to display at the same time. The graphs only displayed when thold was disabled. The following is the error from cacti logs
07/23/2013 01:13:03 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1114', SQL:"INSERT INTO data_source_stats_hourly_cache (local_data_id, rrd_name, time, `value`) VALUES ('3125','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3124','traffic_out','2013-07-23 13:13:01','24.066666666667'), ('3124','traffic_in','2013-07-23 13:13:01','59.266666666667'), ('3123','traffic_out','2013-07-23 13:13:01','15.733333333333'), ('3123','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3122','traffic_out','2013-07-23 13:13:01','-90909090909'), ('3122','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3121','traffic_out','2013-07-23 13:13:01','164.8'), ('3121','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3120','traffic_out','2013-07-23 13:13:01','6181.0333333333'), ('3120','traffic_in','2013-07-23 13:13:01','92973.4'), ('3119','traffic_out','2013-07-23 13:13:01','5.7'), ('3119','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3118','traffic_out','2013-07-23 13:13:01','-90909090909'), ('3118','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3117','traffic_out','2013-07-23 13:13:01','110.6'), ('3117','traffic_in','2013-07-23 13:13:01','91.8'), ('3116','traffic_out','2013-07-23 13:13:01','1484051.7'), ('3116','traffic_in','2013-07-23 13:13:01','1609981.2'), ('3115','traffic_out','2013-07-23 13:13:01','344.36666666667'), ('3115','traffic_in','2013-07-23 13:13:01','318.93333333333'), ('8836','traffic_in','2013-07-23 13:13:01','-90909090909'), ('8836','traffic_out','2013-07-23 13:13:01','-90909090909'), ('2640','traffic_in','2013-07-23 13:13:01','-90909090909'), ('2640','traffic_out','2013-07-23 13:13:01','-90909090909'), ('2641','extreme_cpu_util','2013-07-23 13:13:01','0'), ('3096','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3096','traffic_out','2013-07-23 13:13:01','-90909090909'), ('2642','extreme_intTemp','2013-07-23 13:13:01','25'), ('3097','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3097','traffic_out','2013-07-23 13:13:01','-90909090909'), ('3098','traffic_out','2013-07-23 13:13:01','161.41666666667'), ('3098','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3099','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3099','traffic_out','2013-07-23 13:13:01','-90909090909'), ('3100','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3100','traffic_out','2013-07-23 13:13:01','161.41666666667'), ('3101','traffic_in','2013-07-23 13:13:01','95.7'), ('3101','traffic_out','2013-07-23 13:13:01','810.1'), ('3103','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3103','traffic_out','2013-07-23 13:13:01','-90909090909'), ('3102','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3102','traffic_out','2013-07-23 13:13:01','-90909090909'), ('3104','traffic_in','2013-07-23 13:13:01','317.86666666667'), ('3104','traffic_out','2013-07-23 13:13:01','343.3'), ('3105','traffic_in','2013-07-23 13:13:01','1748083.85'), ('3105','traffic_out','2013-07-23 13:13:01','2052961.5833333'), ('3106','traffic_in','2013-07-23 13:13:01','317.86666666667'), ('3106','traffic_out','2013-07-23 13:13:01','343.43333333333'), ('3107','traffic_in','2013-07-23 13:13:01','1582530.4666667'), ('3107','traffic_out','2013-07-23 13:13:01','1827193.3666667'), ('3108','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3108','traffic_out','2013-07-23 13:13:01','-90909090909'), ('3109','traffic_in','2013-07-23 13:13:01','-90909090909'), ('3109','traffic_out','2013-07-23 13:13:01','-90909090909'), ('3110','traffic_in','2013-07-23 13:13:01','5215076.2333333'), ('3110','traffic_out','2013-07-23 13:13:01','4710244.7166667'), ('3111','traffic_in','2013-07-23 13:13:01','1.0666666666667'), ('3111','traffic_out','2013-07-23 13:13:01','1821.8833333333'), ('3112','traffic_in','2013-07-23 13:13:01','52.033333333333'), ('3112','traffic_out','2013-07-23 13:13:01','27.4'), ('3113','traffic_in','2013-07-23 13:13:01','318.93333333333'), ('3113','traffic_out','2013-07-23 13:13:01','344.36666666667') ON DUPLICATE KEY UPDATE `value`=VALUES(`value`)'
Please can someone out there figure out what this is and how it can be solved?
thold plugin weird behaviour
Moderators: Developers, Moderators
Re: thold plugin weird behaviour
I managed to solve the following problems after a lot tips from the forum.
1. Solved the Graphs not appearing when THOLD is enabled by modifying $dsname = $kdef[2] to $dsname = $kdef[0] in the setup.php in the THOLD plugin folder.
2. Solved the poller errors by modifying the etc/my.cnf file according to http://forums.cacti.net/viewtopic.php?f=2&t=40156
But now my problem is i can't see any threshold templates and devices under the THOLD tab even if both have been created.
Can someone help ?
1. Solved the Graphs not appearing when THOLD is enabled by modifying $dsname = $kdef[2] to $dsname = $kdef[0] in the setup.php in the THOLD plugin folder.
2. Solved the poller errors by modifying the etc/my.cnf file according to http://forums.cacti.net/viewtopic.php?f=2&t=40156
But now my problem is i can't see any threshold templates and devices under the THOLD tab even if both have been created.
Can someone help ?
Who is online
Users browsing this forum: No registered users and 2 guests