Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Last 0.8.6x Version of Cactid - Beta2

 
Post new topic   Reply to topic    Cacti Forum Index -> Announcements
Author Message
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Fri Sep 21, 2007 2:39 pm    Post subject: Last 0.8.6x Version of Cactid - Beta2 Reply with quote

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



cactid-0.8.6j-beta2.tar.gz
 Description:

Download
 Filename:  cactid-0.8.6j-beta2.tar.gz
 Filesize:  219.91 KB
 Downloaded:  279 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: 9671
Location: MI, USA

PostPosted: Fri Sep 21, 2007 3:08 pm    Post subject: Reply with quote

EDIT: Re-uploaded. One slight issue with compile.

TheWitness
Back to top
gilles
Cacti User


Joined: 12 Jul 2005
Posts: 216

PostPosted: Mon Sep 24, 2007 7:37 am    Post subject: Reply with quote

is there a compiled version ?
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Mon Sep 24, 2007 9:13 am    Post subject: Reply with quote

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: 2325
Location: Sophia-Antipolis, France

PostPosted: Mon Sep 24, 2007 9:23 am    Post subject: Reply with quote

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: 9671
Location: MI, USA

PostPosted: Mon Sep 24, 2007 8:02 pm    Post subject: Reply with quote

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: 7
Location: São Paulo, Brasil

PostPosted: Sat Sep 29, 2007 2:20 pm    Post subject: Reply with quote

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: 9671
Location: MI, USA

PostPosted: Sun Sep 30, 2007 12:34 pm    Post subject: Reply with quote

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: 7
Location: São Paulo, Brasil

PostPosted: Sun Sep 30, 2007 5:36 pm    Post subject: Reply with quote

Ok Larry,

I appreciate your feed-back.
Back to top
ben_c
Cacti User


Joined: 14 May 2007
Posts: 179
Location: Melbourne, Australia.

PostPosted: Mon Oct 15, 2007 11:55 pm    Post subject: Reply with quote

Anyone noticing performance increases with this version?
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Tue Oct 16, 2007 6:34 pm    Post subject: Reply with quote

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: 241
Location: Landenberg, PA

PostPosted: Thu Oct 18, 2007 11:21 pm    Post subject: Reply with quote

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: 9671
Location: MI, USA

PostPosted: Fri Oct 19, 2007 6:07 am    Post subject: Reply with quote

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: 9671
Location: MI, USA

PostPosted: Fri Oct 19, 2007 6:49 am    Post subject: Reply with quote

For all watching. Here is the release post.

http://forums.cacti.net/viewtopic.php?t=23799

Regards,

TheWitness
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Announcements All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group