thold plugin 0.4.6 screenshots

Support questions about the Threshold plugin

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: thold plugin 0.4.6 screenshots

Post by TheWitness »

sukanta wrote:Also another major issue found that template Filtering not working when selecting Status either Breached/Triggered..Till 0.4.4 it was fine.
I am unable to reproduce this. The Status filters work on both Chrome and Firefox.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: thold plugin 0.4.6 screenshots

Post by TheWitness »

Commit #1827 should resolve the first issue. I can not reproduce the filter error.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Re: thold plugin 0.4.6 screenshots

Post by sukanta »

I have tried with two Different OS (Solaris & CentOS5.6) with fresh install also but same problem, Filter not working. It is showing all the triggered value whatever filter applied.

Also another thing notices that for thold to trigger it is happening as soon as current value match threshold value.For old versions it was grate than threshold value.

Edit:Same problem even in thold 0.4.7
thold.png
thold.png (52.52 KiB) Viewed 3299 times
uhtred
Cacti User
Posts: 121
Joined: Fri Oct 09, 2009 8:59 am
Location: Germany

Re: thold plugin 0.4.6 screenshots

Post by uhtred »

i can confirm the error for status 'Breached' or 'Triggered' and a template filter- with firefox & chrome
result is: selection for Host will change, but u will see all thresholds of level notice and warning ( from every Template)

the problem is the sql request.
<<BREACHED>>
In thold_graph.php line 338 has to be changed from:

Code: Select all

if($_REQUEST['triggered'] == '1') { $sql_where = "WHERE thold_data.thold_alert     !=0 OR thold_data.bl_alert>0"; } /* breached */
to

Code: Select all

if($_REQUEST['triggered'] == '1') { $sql_where = "WHERE (thold_data.thold_alert     !=0 OR thold_data.bl_alert>0)"; } /* breached */
<<TRIGGERED>>
In thold_graph.php line 339 has to be changed from:

Code: Select all

if($_REQUEST['triggered'] == '3') { $sql_where = "WHERE (thold_data.thold_aler     t!=0 AND thold_data.thold_fail_count >= thold_data.thold_fail_trigger) OR (thold_data.bl_alert>     0 AND thold_data.bl_fail_count >= thold_data.bl_fail_trigger)"; } /* triggered */
to

Code: Select all

if($_REQUEST['triggered'] == '3') { $sql_where = "WHERE ((thold_data.thold_aler     t!=0 AND thold_data.thold_fail_count >= thold_data.thold_fail_trigger) OR (thold_data.bl_alert>     0 AND thold_data.bl_fail_count >= thold_data.bl_fail_trigger))"; } /* triggered */
System: Ubuntu 10.04lts@64bit, 2*X5650, 12GB, Cacti 0.8.7g, Spine 0.8.7g, PA2.9, Weathermap 0.97a, CAMM 1.6.75, monitor 1.3.1, realtime 0.43, thold 0.4.9.3, manage 0.6.2, mactrack 2.9(.1) ---- 508 devices, 6741 items, 4263 ds, time 7.01s, intervall 60, proc. 12, threads 14, php server 8
uhtred
Cacti User
Posts: 121
Joined: Fri Oct 09, 2009 8:59 am
Location: Germany

Re: thold plugin 0.4.6 screenshots

Post by uhtred »

another problem: Restoral doesn't work

Update:
it looks like it is a problem, if u:
1. create a threshold to a graph with wrong values (High/Low)
2. add a threshold to a graph
--> notice event is triggered
3. u change values of thold template to correct one within the Min Trigger Duration time
--> no restoral event
--> threshold will allways get the status 'Breached'
Last edited by uhtred on Tue Oct 11, 2011 9:11 am, edited 1 time in total.
System: Ubuntu 10.04lts@64bit, 2*X5650, 12GB, Cacti 0.8.7g, Spine 0.8.7g, PA2.9, Weathermap 0.97a, CAMM 1.6.75, monitor 1.3.1, realtime 0.43, thold 0.4.9.3, manage 0.6.2, mactrack 2.9(.1) ---- 508 devices, 6741 items, 4263 ds, time 7.01s, intervall 60, proc. 12, threads 14, php server 8
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: thold plugin 0.4.6 screenshots

Post by TheWitness »

uhtred wrote:another problem: Restoral doesn't work
Ok, I fixed the one and the second, I'll research later today.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Re: thold plugin 0.4.6 screenshots

Post by sukanta »

My All problem resolved now except following:

THOLD: Poller[0] WARNING: Unsupported Field '|QUERY_IFHIGHSPEED|'

Still error coming.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: thold plugin 0.4.6 screenshots

Post by TheWitness »

Did you update the XML file and requery your hosts? They have to support ifHighSpeed first. If they don't, there is no logic presently to back off to ifSpeed. Maybe we should do that automatically. What do you think?
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Re: thold plugin 0.4.6 screenshots

Post by sukanta »

TheWitness wrote:Did you update the XML file and requery your hosts? They have to support ifHighSpeed first. If they don't, there is no logic presently to back off to ifSpeed. Maybe we should do that automatically. What do you think?

Yes.Already updated both rrd.php & Interface.xml & 10G link graph starts coming fine in 0.8.7h Cacti but thold is giving error.
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Re: thold plugin 0.4.6 screenshots

Post by sukanta »

There is Major Performance issue for Large Site:

Without Thold:

10/12/2011 09:50:23 AM - SYSTEM STATS: Time:21.7758 Method:spine Processes:4 Threads:15 Hosts:2754 HostsPerProcess:689 DataSources:40639 RRDsProcessed:18279

With Thold 0.4.4:

0/12/2011 12:20:26 PM - SYSTEM STATS: Time:24.1262 Method:spine Processes:4 Threads:15 Hosts:2754 HostsPerProcess:689 DataSources:40639 RRDsProcessed:18289
10/12/2011 12:16:28 PM - SYSTEM THOLD STATS: Time:57.5140 Tholds:18113 Hosts:0

With Thold 0.4.7:

10/12/2011 10:24:03 AM - SYSTEM THOLD STATS: Time:66.5335 Tholds:18111 Hosts:0
10/12/2011 10:22:57 AM - SYSTEM STATS: Time:175.0682 Method:spine Processes:4 Threads:15 Hosts:2754 HostsPerProcess:689 DataSources:40639 RRDsProcessed:18287
uhtred
Cacti User
Posts: 121
Joined: Fri Oct 09, 2009 8:59 am
Location: Germany

Re: thold plugin 0.4.6 screenshots

Post by uhtred »

sukanta wrote:There is Major Performance issue for Large Site:
what do u mean with that?
System: Ubuntu 10.04lts@64bit, 2*X5650, 12GB, Cacti 0.8.7g, Spine 0.8.7g, PA2.9, Weathermap 0.97a, CAMM 1.6.75, monitor 1.3.1, realtime 0.43, thold 0.4.9.3, manage 0.6.2, mactrack 2.9(.1) ---- 508 devices, 6741 items, 4263 ds, time 7.01s, intervall 60, proc. 12, threads 14, php server 8
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Re: thold plugin 0.4.6 screenshots

Post by sukanta »

uhtred wrote:
sukanta wrote:There is Major Performance issue for Large Site:
what do u mean with that?

It is self explanatory:

Without Thold Total time taken by pooling: 21.7758 Seconds

With Thold 0.4.4 Total time taken by pooling: 140 Seconds

With Thold 0.4.7 Total time taken by pooling: 243 Seconds
uhtred
Cacti User
Posts: 121
Joined: Fri Oct 09, 2009 8:59 am
Location: Germany

Re: thold plugin 0.4.6 screenshots

Post by uhtred »

i cannot confirm/reproduce that.
SYSTEM THOLD STATS: Time:0.5092 Tholds:203 Hosts:0
look my signature :wink:
System: Ubuntu 10.04lts@64bit, 2*X5650, 12GB, Cacti 0.8.7g, Spine 0.8.7g, PA2.9, Weathermap 0.97a, CAMM 1.6.75, monitor 1.3.1, realtime 0.43, thold 0.4.9.3, manage 0.6.2, mactrack 2.9(.1) ---- 508 devices, 6741 items, 4263 ds, time 7.01s, intervall 60, proc. 12, threads 14, php server 8
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: thold plugin 0.4.6 screenshots

Post by TheWitness »

Are you using either RPN Expressions or Baseline alarms in 0.4.7? Please let us know.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: thold plugin 0.4.6 screenshots

Post by TheWitness »

Turn on your slow query log at say 2 seconds and run the system for a few hours and post your slow query log to a PM or a bug report.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests