Cactid 0.8.6g Beta Request

Important information about Cacti developments that all users should be interested in.

Moderators: Developers, Moderators

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

Cactid 0.8.6g Beta Request

Post by TheWitness »

All users interested in Cactid testing, I have the final 0.8.6g source ready for testing. I have worked with several users throughout the world to bring this one to you. It corrects a few issues and adds a new significant feature.

IMPORTANT NOTE: Please note that with this version of Cactid, all Data Input Methods that are calling scripts or executables, need to include the full path to the executable. For example, instead of "perl" you would include "/bin/perl". Instead of "php.exe", you would have to include "c:/php.exe".

Once you have made these changes, you will need to Clear your Poller Cache.

The major change in this release is an added feature to provide additional scalability for those users choosing to run with the script server. In this release, each concurrent process can have up to 10 script servers available to the processes threads. This should result in a significant performance boost for users leveraging the script server process.

To fully take advantage of this new feature, you will either have to upgrade to 0.8.6h, to be released shortly or add a name/value pair to the table "settings". The name is "php_servers" the value would be between 1 and 10. The default if this value is not present is to have two script server processes.

Change Log:
0.8.6g
-bug#0000609: console "error" messages should go to stderr instead of stdout
-bug#0000618/0000613: correct invalid assignment of session.community in snmp.c
-bug#0000629: correct issues with invalid unknown reaults when reducing MAX OID get size
-bug: if sysUptime is queried for a host, only do it once
-bug: certain SNMP string responses where not being handled properly due to net-snmp bug
-bug: increase the allowable size of the logfile entry
-bug: change behavior of availability so that if SNMP and ICMP/UDP are selected, only one has to succeed
-bug: cleaned up implementation of multi SNMP OID get error checking logic
-bug: don't attempt to allocate a zero item array when a host has no polling items
-bug: correct string values returning as blank in *nix environments
-bug: correct issue where invalid SNMP OID results would cascade to subseqent SNMP OID calls for a host
-feature: added multiple script server process feature to current version
-feature: added support for MySQL 5.x
-feature: made MySQL DEBUG logic more verbose
Please provide feedback as it becomes available. Also, please note Unix users, you will have to run "dos2unix" on the files in the attached tar file.

TheWitness
Attachments
cactid086g-beta.tar.gz
(66.32 KiB) Downloaded 934 times
Last edited by TheWitness on Thu Dec 22, 2005 6:17 am, edited 1 time in total.
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?
Jeppe
Posts: 47
Joined: Sun Feb 09, 2003 4:48 am
Contact:

Post by Jeppe »

Otherwise seems to work here, but leaves all the scripts (shell, perl, etc) defunct after it, even though it seems to get the data from them.

Yes, I did change the input methods to have path. :-)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Jeppe,

Describe "defunct" and what os and level?

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?
Jeppe
Posts: 47
Joined: Sun Feb 09, 2003 4:48 am
Contact:

Post by Jeppe »

This is RHEL4 X86_64. (kernel 2.6, net-snmp 5.1.2, mysql 4.1.15)

Seems like this:
Standard unix question #4582: the kernel is keeping the process structure
around in case the parent wants to find out how the child died. This process
stub is called a zombie process; to get rid of it you need to wait() for it in
the parent. (Or you can just ignore it; it'll get destroyed when the parent
exits, though this is usually considered bad practice.)
williem
Cacti User
Posts: 69
Joined: Tue Feb 08, 2005 10:36 am

cactid

Post by williem »

Larry,

I have compiled the new version. I have not gotten a good clean run. I am enclosing a tack dum;. I have it set up for 1 process/10 threads when i got the stack dump.

I am also getting these messages:
11/30/2005 09:01:32 AM - CACTID: Poller[0] ERROR: Some internal error caused snmp to return null response in snmp_get
11/30/2005 09:01:32 AM - CACTID: Poller[0] ERROR: Some internal error caused snmp to return null response in snmp_get

Regards,

Willie
Attachments
stackdump.zip
(424 Bytes) Downloaded 815 times
Cacti 0.8.6h | Cactid 0.8.6g | 64k devices | W2k3 IIS | PHP 5.3 | RRDtool 1.0.49 | Perl 5.8.5 | Dell Servers 8 gig ram
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Willie,

Please use the attached W32 version. Please also make sure that cygwin1.dll is version 18.1.

Larry
Attachments
cactid086g-win32-beta.zip
(552.53 KiB) Downloaded 813 times
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:

Post by TheWitness »

Willie,

Seems to me this is a known problem with net-snmp. Don't know what the fix was and in what version it was fixed. What version of the library have you compiled?

Larry
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:

Post by TheWitness »

All,

Here is another cut. Corrects reindex and spike kill issues.

TheWitness
Attachments
cactid086g-beta2.tar.gz
(68.87 KiB) Downloaded 958 times
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:

Post by TheWitness »

Willie,

If you have problems with the current version, please try the attached snmp.c. I have been researching this problem and it appears I need to change the logic a bit. Still don't know why it's returning a NULL response.

Larry
Attachments
snmp.c
(12.08 KiB) Downloaded 1199 times
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
pirx
Cacti User
Posts: 199
Joined: Tue Feb 10, 2004 10:08 am
Location: Esslingen, Germany

Post by pirx »

I've some problems to get this compiled on linux.

$ mkdir cacti-cactid-0.8.6g-beta
$ cd cacti-cactid-0.8.6g-beta
$ tar xvzf /tmp/cactid086g-beta2.tar.gz
$ find . -type f | xargs chmod 644
$ find . -type d | xargs chmod 775
$ dos2unix *

$ ls -la
total 376
drwxrwxr-x 2 cactiuser cactiuser 4096 1. Dez 14:19 .
drwxr-xr-x 15 cactiuser cactiuser 4096 1. Dez 14:06 ..
-rw-r--r-- 1 cactiuser cactiuser 31691 24. Aug 01:57 aclocal.m4
-rw-r--r-- 1 cactiuser cactiuser 0 24. Aug 01:57 AUTHORS
-rw-r--r-- 1 cactiuser cactiuser 97 24. Aug 01:57 bootstrap
-rw-r--r-- 1 cactiuser cactiuser 15114 28. Nov 03:38 cactid.c
-rw-r--r-- 1 cactiuser cactiuser 2445 24. Aug 01:57 cactid.conf.dist
-rw-r--r-- 1 cactiuser cactiuser 7367 1. Dez 03:34 cactid.h
-rw-r--r-- 1 cactiuser cactiuser 5158 1. Dez 03:06 CHANGELOG
-rw-r--r-- 1 cactiuser cactiuser 3524 22. Sep 02:14 common.h
-rw-r--r-- 1 cactiuser cactiuser 6220 23. Okt 02:05 configure.ac
-rw-r--r-- 1 cactiuser cactiuser 18332 24. Aug 01:57 COPYING
-rw-r--r-- 1 cactiuser cactiuser 802 22. Sep 02:19 INSTALL
-rw-r--r-- 1 cactiuser cactiuser 2270 24. Aug 01:57 LICENSE
-rw-r--r-- 1 cactiuser cactiuser 26944 24. Aug 01:57 LICENSE.LGPL
-rw-r--r-- 1 cactiuser cactiuser 5472 22. Sep 02:15 locks.c
-rw-r--r-- 1 cactiuser cactiuser 2486 22. Sep 02:15 locks.h
-rw-r--r-- 1 cactiuser cactiuser 289 24. Aug 01:57 Makefile.am
-rw-r--r-- 1 cactiuser cactiuser 15199 24. Aug 01:57 Makefile.in
-rw-r--r-- 1 cactiuser cactiuser 0 24. Aug 01:57 NEWS
-rw-r--r-- 1 cactiuser cactiuser 10898 1. Dez 03:34 nft_popen.c
-rw-r--r-- 1 cactiuser cactiuser 10746 18. Nov 04:14 nft_popen.c.bak
-rw-r--r-- 1 cactiuser cactiuser 2629 22. Sep 02:15 nft_popen.h
-rw-r--r-- 1 cactiuser cactiuser 13616 1. Dez 03:34 php.c
-rw-r--r-- 1 cactiuser cactiuser 2435 28. Nov 03:31 php.h
-rw-r--r-- 1 cactiuser cactiuser 25750 23. Okt 11:51 ping.c
-rw-r--r-- 1 cactiuser cactiuser 2738 22. Sep 02:15 ping.h
-rw-r--r-- 1 cactiuser cactiuser 37164 1. Dez 03:34 poller.c
-rw-r--r-- 1 cactiuser cactiuser 2418 22. Sep 02:15 poller.h
-rw-r--r-- 1 cactiuser cactiuser 568 24. Aug 01:57 README
-rw-r--r-- 1 cactiuser cactiuser 943 13. Okt 02:53 README-WINDOWS
-rw-r--r-- 1 cactiuser cactiuser 12357 10. Nov 02:40 snmp.c
-rw-r--r-- 1 cactiuser cactiuser 2675 22. Sep 02:15 snmp.h
-rw-r--r-- 1 cactiuser cactiuser 6042 23. Okt 20:26 sql.c
-rw-r--r-- 1 cactiuser cactiuser 2510 22. Sep 02:15 sql.h
-rw-r--r-- 1 cactiuser cactiuser 27057 28. Nov 04:12 util.c
-rw-r--r-- 1 cactiuser cactiuser 2869 22. Sep 02:15 util.h

$ aclocal
$ autoheader
autoheader: cannot rename /tmp/ahGE8581/config.hin as config/config.h.in: No such file or directory

-> create config directory

$ mkdir config
$ autoheader
$ autoconf
$ automake
configure.ac: required file `config/install-sh' not found
configure.ac: required file `config/missing' not found
configure.ac:7: required file `config/config.guess' not found
configure.ac:7: required file `config/config.sub' not found
Makefile.am: required file `./ChangeLog' not found
Makefile.am: required file `config/depcomp' not found

$ ls -l config
total 4
-rw-rw-r-- 1 cactiuser cactiuser 3304 Dec 1 14:22 config.h.in

What am I missing?
tapufd
Cacti User
Posts: 55
Joined: Thu Aug 19, 2004 9:14 am
Location: Belgium

Post by tapufd »

Thanks for finding a solution for users who are heavily using the script server. I told you about my problem that increasing the amount of threads didn't help in my case. You decided then that it was because I used the script server alot.
I will test this new cactid release from the moment that cacti 0.8.6h is out. Still don't have a test environment.

Many thanks again for hearing my problem and providing a solution. (need to test it though :D )

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

Post by TheWitness »

Ok, Pirx, you missed:

autoconf

then:

./configure
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
pirx
Cacti User
Posts: 199
Joined: Tue Feb 10, 2004 10:08 am
Location: Esslingen, Germany

Post by pirx »

TheWitness wrote:Ok, Pirx, you missed:

autoconf

then:

./configure
No, I did the following (look at my post above):

$ aclocal
$ autoheader
$ autoconf
$ automake
configure.ac: required file `config/install-sh' not found
configure.ac: required file `config/missing' not found
configure.ac:7: required file `config/config.guess' not found
configure.ac:7: required file `config/config.sub' not found
Makefile.am: required file `config/depcomp' not found

autoconf runs fine, but automake returns errors, so I can't start configure....
User avatar
pirx
Cacti User
Posts: 199
Joined: Tue Feb 10, 2004 10:08 am
Location: Esslingen, Germany

Post by pirx »

I think the problem is, that there is no config directory in the tar file. If I copy the old config directory from 0.8.6e into the directory which I just created for 0.8.6g-beta2, everything is fine.

The tar file you provide is not intended to unpack into a new directory? Most times I just unpack the files into a old cactid testing directory, but this time I created a new one, which did not work...
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

All,

Please see the attached post :)

TheWitness

http://forums.cacti.net/viewtopic.php?p=50745#50745
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