Solved : The treshold always runs twice ?

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
User avatar
ruud
Cacti User
Posts: 64
Joined: Tue Aug 22, 2006 3:07 am
Location: Rotterdam, The Netherlands
Contact:

Solved : The treshold always runs twice ?

Post by ruud »

Looking at my cacti log i noticed that the threshold process always runs twice, is this normal behaviour ??

Code: Select all

10/04/2006 07:40:36 AM - THOLD: Poller[0] Checking Thresholds  
10/04/2006 07:40:35 AM - THOLD: Poller[0] Checking Thresholds  
10/04/2006 07:40:35 AM - SYSTEM STATS: Time:34.3035 Method:cactid Processes:4 Threads:5 Hosts:447 HostsPerProcess:112 DataSources:25518 RRDsProcessed:12768  
10/04/2006 07:35:35 AM - THOLD: Poller[0] Checking Thresholds  
10/04/2006 07:35:35 AM - THOLD: Poller[0] Checking Thresholds  
10/04/2006 07:35:35 AM - SYSTEM STATS: Time:33.5383 Method:cactid Processes:4 Threads:5 Hosts:445 HostsPerProcess:112 DataSources:25454 RRDsProcessed:12736  
Last edited by ruud on Thu Nov 02, 2006 8:51 am, edited 2 times in total.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: The treshold always runes twice ?

Post by cigamit »

ruud wrote:Looking at my cacti log i noticed that the threshold process always runs twice, is this normal behaviour ??

Code: Select all

10/04/2006 07:40:36 AM - THOLD: Poller[0] Checking Thresholds  
10/04/2006 07:40:35 AM - THOLD: Poller[0] Checking Thresholds  
10/04/2006 07:40:35 AM - SYSTEM STATS: Time:34.3035 Method:cactid Processes:4 Threads:5 Hosts:447 HostsPerProcess:112 DataSources:25518 RRDsProcessed:12768  
10/04/2006 07:35:35 AM - THOLD: Poller[0] Checking Thresholds  
10/04/2006 07:35:35 AM - THOLD: Poller[0] Checking Thresholds  
10/04/2006 07:35:35 AM - SYSTEM STATS: Time:33.5383 Method:cactid Processes:4 Threads:5 Hosts:445 HostsPerProcess:112 DataSources:25454 RRDsProcessed:12736  
Check your poller.php at the very bottom, and make sure there are not 2 do_hook calls.
User avatar
ruud
Cacti User
Posts: 64
Joined: Tue Aug 22, 2006 3:07 am
Location: Rotterdam, The Netherlands
Contact:

Post by ruud »

Nope.. just on of those...
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

That's blazing fast polling BTB. :)

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?
User avatar
ruud
Cacti User
Posts: 64
Joined: Tue Aug 22, 2006 3:07 am
Location: Rotterdam, The Netherlands
Contact:

Post by ruud »

Thanx..

The problem remains b.t.w. Threshholds still run twice on 1 machine.. the other machine is identical but there it only runs once... very strange !..

I actualy copied al the cacti files from my other machine but the problem remains.. Can this be triggeren from the SQL database ?

Code: Select all

11/01/2006 01:50:23 PM - THOLD: Poller[0] Checking Thresholds  
11/01/2006 01:50:23 PM - THOLD: Poller[0] Checking Thresholds  
11/01/2006 01:50:22 PM - SYSTEM STATS: Time:20.5623 Method:cactid Processes:4 Threads:5 Hosts:216 HostsPerProcess:54 DataSources:15694 RRDsProcessed:7850  
11/01/2006 01:45:24 PM - THOLD: Poller[0] Checking Thresholds  
11/01/2006 01:45:24 PM - THOLD: Poller[0] Checking Thresholds  
11/01/2006 01:45:24 PM - SYSTEM STATS: Time:22.4717 Method:cactid Processes:4 Threads:5 Hosts:216 HostsPerProcess:54 DataSources:15694 RRDsProcessed:7850  
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Moved to THOLD specific forum
Reinhard
Exo7
Cacti User
Posts: 136
Joined: Wed Jul 13, 2005 4:50 pm

Post by Exo7 »

old version of Thold required to be launched from crontab, but it has changed since version 2.4. Maybe you upgraded Thold and there is still an entry for it in the crontab ?
User avatar
ruud
Cacti User
Posts: 64
Joined: Tue Aug 22, 2006 3:07 am
Location: Rotterdam, The Netherlands
Contact:

Post by ruud »

Great !

This seems to help, thanx for the tip !
Server #1 : Cacti 0.8.7b | cmd.php | HP Proliant DL380 G5 (Dual Core Xeon 3.2 GHz, 14 Gb, 2x73 Gb RAID1 - System + 3x73 Gb RAID5 - SQL/RRA) | Gentoo Linux
_________SYSTEM STATS: Time:114.6022 Method:cmd.php Processes:8 Threads:N/A Hosts:408 HostsPerProcess:51 DataSources:32276 RRDsProcessed:16148
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests