|
|
| Author |
Message |
TheWitness Developer
Joined: 14 May 2002 Posts: 9257 Location: MI, USA
|
Posted: Fri Sep 21, 2007 2:39 pm Post subject: Last 0.8.6x Version of Cactid - Beta2 |
|
|
All,
Based on feedback from a larger user, I am publishing this new version. This version deals specifically with a thread safety issue in all prior versions of Cactid as well as an argument processing issue when running from the command line.
Regards,
TheWitness
| Description: |
|
 Download |
| Filename: |
cactid-0.8.6j-beta2.tar.gz |
| Filesize: |
219.91 KB |
| Downloaded: |
253 Time(s) |
Last edited by TheWitness on Fri Oct 19, 2007 6:50 am; edited 1 time in total |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9257 Location: MI, USA
|
Posted: Fri Sep 21, 2007 3:08 pm Post subject: |
|
|
EDIT: Re-uploaded. One slight issue with compile.
TheWitness
|
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 210
|
Posted: Mon Sep 24, 2007 7:37 am Post subject: |
|
|
| is there a compiled version ?
|
|
| Back to top |
|
 |
fmangeant Cacti Guru User
Joined: 19 Sep 2003 Posts: 2324 Location: Sophia-Antipolis, France
|
Posted: Mon Sep 24, 2007 9:13 am Post subject: |
|
|
Hi Larry
beta 2 works fine on my #2 server. beta1 has been running for the last 2 weeks without any problem.
It seems this beta still contains a bug : cactid.conf is not found in /path/to/cactid/etc
I've modified cactid.h :
| Code: | --- cactid.h.orig 2007-09-24 14:25:33.000000000 +0200
+++ cactid.h 2007-09-24 14:25:40.000000000 +0200
@@ -138,7 +138,7 @@
#define CONFIG_PATHS 3
#define CONFIG_PATH_1 ""
#define CONFIG_PATH_2 "/etc/"
-#define CONFIG_PATH_3 "./etc/"
+#define CONFIG_PATH_3 "../etc/"
/* config file defaults */
#define DEFAULT_CONF_FILE "cactid.conf" |
and util.c :
| Code: | --- util.c.orig 2007-09-24 16:04:05.000000000 +0200
+++ util.c 2007-09-24 16:04:18.000000000 +0200
@@ -462,6 +462,7 @@
STRNCOPY(config_paths[0], CONFIG_PATH_1);
STRNCOPY(config_paths[1], CONFIG_PATH_2);
+ STRNCOPY(config_paths[2], CONFIG_PATH_3);
set.log_destination = LOGDEST_FILE;
} |
and it seems to work
|
|
| Back to top |
|
 |
fmangeant Cacti Guru User
Joined: 19 Sep 2003 Posts: 2324 Location: Sophia-Antipolis, France
|
Posted: Mon Sep 24, 2007 9:23 am Post subject: |
|
|
| gilles wrote: | | is there a compiled version ? |
Hi Gilles
I've compiled it on RedHat 4 and 5; do you want me to share it ?
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9257 Location: MI, USA
|
Posted: Mon Sep 24, 2007 8:02 pm Post subject: |
|
|
Don't know how that got missed. I had it in a copy of the code somewhere. With the Changes to the Cacti SVN, who knows. I'll "whack" it again.
Larry
|
|
| Back to top |
|
 |
Cebola
Joined: 27 Aug 2007 Posts: 4 Location: São Paulo, Brasil
|
Posted: Sat Sep 29, 2007 2:20 pm Post subject: |
|
|
I'm looking for a 0.8.6j beta2 cygwin compiled version. (I've tried compiling my own cactid in cygwin but I've got issues with net-snmp and mysql compiling)
I got some problems with the already compiled cygwin cactid 0.8.6j beta 1 version.
Every time I put more than 5 threads in poller settings, I got "segmentation fault" problems.
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9257 Location: MI, USA
|
Posted: Sun Sep 30, 2007 12:34 pm Post subject: |
|
|
Let re release another beta. I terms of "compiling" please review the new Windows readme with that version.
TheWitness
|
|
| Back to top |
|
 |
Cebola
Joined: 27 Aug 2007 Posts: 4 Location: São Paulo, Brasil
|
Posted: Sun Sep 30, 2007 5:36 pm Post subject: |
|
|
Ok Larry,
I appreciate your feed-back.
|
|
| Back to top |
|
 |
ben_c Cacti User
Joined: 14 May 2007 Posts: 177 Location: Melbourne, Australia.
|
Posted: Mon Oct 15, 2007 11:55 pm Post subject: |
|
|
| Anyone noticing performance increases with this version?
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9257 Location: MI, USA
|
Posted: Tue Oct 16, 2007 6:34 pm Post subject: |
|
|
It can fork host collection much more quickly. However, actual performance gains will be dependent on several factors. Prior to this version, it could only fork about 2000 host collections in 3-4 minutes. In this release, it should be able to attain about 10k host forks per minute depending on the number of processes and threads.
TheWitness
|
|
| Back to top |
|
 |
N3NCY Cacti User
Joined: 22 Sep 2005 Posts: 238 Location: Landenberg, PA
|
Posted: Thu Oct 18, 2007 11:21 pm Post subject: |
|
|
I would like to test this version on my production setup.
(I will switch back and take my chances if anything goes bad).
What are the minimum underlying requirements?
Specifically:
Which Cacti version? (Only the new beta coming out on the 22nd?)
Which Boost version?
Any Plugin Architecture requirements?
Thanks!
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9257 Location: MI, USA
|
Posted: Fri Oct 19, 2007 6:07 am Post subject: |
|
|
Let me sync up with Spine to catch anything funky and post both a revised binary and source, or not.
TheWitness
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9257 Location: MI, USA
|
|
| Back to top |
|
 |
|