RRDtool 1.2.15 - Cygwin Released - Plus Repackaging Cactid

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

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

RRDtool 1.2.15 - Cygwin Released - Plus Repackaging Cactid

Post by TheWitness »

All,

I have packaged a new version of RRDtool 1.2.15. It also has been compiled with the latest Cygwin. I have also released a remake of Cactid 0.8.6e - g, plus a beta of h on the Cacti.net web site. Please see the following links for more details.

http://www.cacti.net/downloads/rrdtool/win32
http://www.cacti.net/downloads/cactid/packages/Windows

Please note, the version of cygwin1.dll has been included on all file names for reference.

Regards,

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?
georger_br
Cacti User
Posts: 63
Joined: Mon Jul 04, 2005 10:12 am
Location: Brazil

Re: RRDtool 1.2.15 - Cygwin Released - Plus Repackaging Cact

Post by georger_br »

Hi TheWitness,
about the problem I mentioned in http://forums.cacti.net/viewtopic.php?t=15298 (graphs without any text), I'd like add the following:

- I compiled RRDtool 1.2.15 on MinGW, used it with Cacti, and the problem persists.
- I replaced 1.2.15 with 1.2.12 and everything worked well.

I guess a bug was introduced between 1.2.12 and 1.2.15 that caused this behaviour. Regards,

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

Post by TheWitness »

Yea, I've got to send a patch to tobi to fix an autodetection problem in the current code for the Windows directory.

What you need to do is:

With 1.2.15 installed:

1) Goto Settings->Paths
2) Add the RRDtool Default Font path that is accurate. This will be something like: c:/windows/fonts/arialn.ttf
3) Restart your web server
4) Browse with the new version working as expected.

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?
georger_br
Cacti User
Posts: 63
Joined: Mon Jul 04, 2005 10:12 am
Location: Brazil

Post by georger_br »

TheWitness wrote: ...
2) Add the RRDtool Default Font path that is accurate. This will be something like: c:/windows/fonts/arialn.ttf
...
TheWitness
Um,
this is how I configured it since the beginning. The problem is (for example): 6 out of 7 graphs of a given host have their text displayed just fine, and one of them has no text at all. Regards,

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

Post by TheWitness »

Check your Cygwin1.dll files make sure that they are in line with your installed version. Also, you did take the version from the web site right?

www.cacti.net/downloads

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?
georger_br
Cacti User
Posts: 63
Joined: Mon Jul 04, 2005 10:12 am
Location: Brazil

Post by georger_br »

Yes, I got RRDtool from www.cacti.net - and when it showed this strange behavior, I compiled my own with MinGW (I don't like Cygwin), but it behaved the same way. So I guess the problem lies with RRDtool itself.
This looks like it only happens when passing the font path as an argument to RRDtool. I just compiled ntop with RRDtool 1.2.15 and the font path is hard-coded in config.h - and it works great. Regards,

Georger
barbwire
Posts: 1
Joined: Thu Oct 26, 2006 6:52 pm

Plans to update rrdtool to support cygwin DLL 1.5.21-1?

Post by barbwire »

The current release of cygwin dll, rel 1.5.21-1, fixes a number of 1.5.20-1 bugs:
Changes since 1.5.20-1:

cgf: Fix problem where cygwin closed the standard output of some programs,
causing them to not output anything.

cgf: Don't return EISDIR when an error occurs reading a non-directory.

corinna: Protect definition of some pthread priority constants with a
_POSIX_THREAD_PRIO_INHERIT conditional.

corinna: Reimplement some problematic winsock routines within cygwin.

corinna: Remove code which allowed setting symlink attribues in windows
extended attributes since it has been broken for some time.

corinna: Allow listening on unbound INET sockets.

fujieda: Implement setmetamode.

cgf: Fix hang on process exit when CYGWIN=tty.

corinna: Typedef socklen_t.

corinna: Avoid adding extra null to /proc/≤pid>/cmdline.

corinna: When creating a symlink, return proper errno if a target path exists.

slaguzzi: Add missing handling of default ACL entry types.


Are there plans to package a new verion of RRDtool compiled with the latest Cygwin?
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Hmm. I hadn't thought of it. Let me build one.

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

Post by TheWitness »

All, please note that there is now a Windows native build for RRDtool 1.2.15 that is available on Tobi's site that is faster than 1.2.15 cygwin. You should check it out.

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?
tymbow
Cacti User
Posts: 54
Joined: Sat May 14, 2005 8:00 pm

Post by tymbow »

I couldn't find it on Tobi's actual server (maybe I'm just blind) but the second link to http://www.gknw.net/mirror/rrdtool/ seems to have one. So, you're saying we can run this rather that the Cygwin build?

Out of curiosity how does this differ from the evil rrdtool-1.2.15-win32-perl58.zip version? I've used the rrdtool.exe from rrdtool-1.2.15-win32-perl58.zip before for a different purpose and it seems to be fine. I'm guessing it's to do with the bindings used at compile time (does it not also optionally support Python and TCL) but in my ignorance I do not grasp the significance.
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Earlier versions did not work well with Cacti due to lack of server mode support in Windows. The current version does support it. So, it works well with Cacti. Don't know about Phython and TCL though. Don't use them...

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
GlueGuy
Cacti User
Posts: 255
Joined: Fri Nov 04, 2005 3:37 pm
Location: Ca US
Contact:

Post by GlueGuy »

So the native version of rrdtool works with cacti now?

I presume this eliminates the problems with having to match up different cygwin versions in different binaries?

What's required to install the native windows version? Just the exe, or do I need to drop in the cgi, perl, and vbscript files too (I only use rrdtool with cacti)?

TIA
---------
The Glue Guy
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The binary is all that is required.

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
GlueGuy
Cacti User
Posts: 255
Joined: Fri Nov 04, 2005 3:37 pm
Location: Ca US
Contact:

Post by GlueGuy »

Booya! It is a simple plug-in.

bp
---------
The Glue Guy
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Removing sticky.

rrdtool 1.2.15 and later now works with Cacti if its the Win32 build. Furthermore, later builds fix various issues which can affect cacti (like large graphs).
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests