Cactid 0.8.6j - Release

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

Moderators: Developers, Moderators

User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

TheWitness wrote:
fmangeant wrote:Hi Larry

I've upgraded from beta 2 to final release on my server #2, and it seems cactid.conf is not found in /path/to/cactid/etc :cry:

This was working with beta 2.
I have to release a Cactid0.8.6j-1 anyway to correct an ICMP ping issue. Let me see if I messed up something else.
It seems util.h lacks a line with CONFIG_PATH_3 :

Code: Select all

STRNCOPY(config_paths[0], CONFIG_PATH_1);
STRNCOPY(config_paths[1], CONFIG_PATH_2);
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Gilles,

To get the behavior you want, you have to compile yourself with the proper options. This requires Cygwin and MySQL Unix Source and Net-SNMP Unix source. Net-SNMP has become a challenge to compile on Windows for some reason. The default is not to use this option. If you have Cygwin installed, you should not have difficulty running with the default option.

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
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I have fixed in SVN. Ian will be issue official releases today.

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
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

TheWitness wrote:With 0.8.6j, I provide a build option like this:
./configure --with-nifty
could you provide this binary ?
i know i am not the only one dealing with perl AND cactid

windows come with no compiler and it's not easy to understand what to install in cygwin
currently i have installed default cygwin and trying to compile mysql

"configure: error: no acceptable ld found in $PATH"

i have multiple errors : Command line warning D4002 : ignoring unknown option '--version'
well i use this command line
./configure --without-server --enable-thread-safe-client
and there is not --version
User avatar
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

Giles:
The #! is ignored on Windows.

Just curious:
Are you using ActiveState PERL or the PERL that comes with Cygwin?

I am not sure I understand your last comment.
What exactly is your question?
(I will certainly reply if I can help!)
The Windows Cactid (Spine) binary is usually packaged up by TheWitness for Windows platforms.
(And he has provided this on the first page of this thread)

I compile since I am on a UNIX type OS (FreeBSD).
Thank you,

Ernie
http://www.NMSWorld.com
[b]Dual Zeon Dual Core 2.6Ghz / 8GB RAM / 4x15k RPM SATA RAID5[/b]
[b]Cacti Version[/b] - 0.8.7b
[b]Poller Type[/b] - cactid 0.8.7 with Boost v1.7
[b]Server Info[/b] - FreeBSD 7.0-RELEASE
[b]Web Server[/b] - Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
[b]PHP[/b] - 5.2.6
[b]MySQL[/b] - 5.0.51b Mod: poller_output ENGINE = MEMORY
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Host Info (hostinfo - v0.2), Update Checker (update - v0.3), Network Tools (tools - v0.2), FlowView (flowview - v0.3), Read-only Devices Tab (devices - v0.4), Network Discovery (discovery - v0.8.3), Syslog Monitoring (syslog - v0.5.2), Thresholds (thold - v0.3.9), Device Monitoring (monitor - v0.8.2), PHP Network Weathermap (weathermap - v0.941), SuperLinks (superlinks - v0.72), Report Creator (reports - v0.1b)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Here are the Windows Binaries of the release code. One requires uses popen, which does not require the full binary path, but does require sh.exe. The other, will call the script directly w/o the sh.exe.

TheWitness
Attachments
cactid-0.8.6j-nifty.zip
(1.68 MiB) Downloaded 3345 times
cactid-0.8.6j-popen.zip
(1.98 MiB) Downloaded 3313 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
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

N3NCY wrote:Just curious:
Are you using ActiveState PERL or the PERL that comes with Cygwin?
i'm using just activeperl on cacti server and just cygwin on a machine for compiling cactid
N3NCY wrote:What exactly is your question?
external scripts written in perl don't work anymore since cactid version h
so i'm using cactid version g since one year

until now it wasn't a big problem but i can't use cacti 0.8.7 and cactid version g

this is why i want cactid (and spine) to work with external script written in perl

currently :
- cygwin is installed, mysql compile good but i can't find mysql.exe
so i think there is a problem
- net-snmp don't compile
i have tried all versions

i have another test cacti server with beta windows installer from bsod with the same problem than my production server
TheWitness wrote:Here are the Windows Binaries of the release code. One requires uses popen, which does not require the full binary path, but does require sh.exe. The other, will call the script directly w/o the sh.exe.
thanks you very much but it don't work (FATAL: Cactid Encountered a Segmentation Fault (Cactid thread))
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Gilles,

If you have Cygwin installed, then remove all but the conf file and the binary itself. Also, dump your db's poller_item table and send to me. Refer to this note.

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
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

ok i give up with cygwin
i had used it for small projects like dansguardian and an opensource project for cloning Cisco VPN Client but i know i will not achieve in compiling cactid (or spine)

i started to migrate the perl scripts to php until i remember that some of them use WMI...
so finally i have coded a small php wrapper for each perl script
i don't know why i don't have done this at the beginning, it took me only 1 hour !
TheWitness wrote:Also, dump your db's poller_item table and send to me. Refer to this note.
i sent you one on 5 sept but i don't know why it was already in my outbox
so i delete it since my problem is gone
Locked

Who is online

Users browsing this forum: No registered users and 0 guests