UPDATED 2010-08-21 - Spine 0.8.7g for Windows

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

Moderators: Developers, Moderators

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

Re: UPDATED 2010-08-21 - Spine 0.8.7g for Windows

Post by TheWitness »

Interesting... Can you please install Cygwin? Then, remove all the dll's. In the end, you will have c:\cygwin\bin in your path (and you may have to manually place it there), and only spine.exe and spine.conf in the spine directory.

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?
isse
Posts: 16
Joined: Tue Nov 25, 2008 5:50 am

Re: UPDATED 2010-08-21 - Spine 0.8.7g for Windows

Post by isse »

Did just that and now it works, thanks!

//I
deevee
Posts: 9
Joined: Thu Nov 25, 2010 1:43 am

Re: UPDATED 2010-08-21 - Spine 0.8.7g for Windows

Post by deevee »

Hi,

I have tried running spine 0.8.7g (with & without cygwin dll's) but can't seem to get ICMP to work as a reachability option for devices. My current cacti setup works fine with spine 0.8.7e

Below is the debug output. It says that the ping timed out. I can confirm that the ICMP packets returned in time as I ran a wireshark dump whilst the poller was running...

11/25/2010 05:27:08 PM - SPINE: Poller[0] Host[5] TH[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
11/25/2010 05:27:08 PM - SPINE: Poller[0] Host[5] TH[1] NOTE: There are '5' Polling Items for this Host
11/25/2010 05:27:08 PM - SPINE: Poller[0] Host[5] PING Result: ICMP: Ping timed out
11/25/2010 05:27:08 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
11/25/2010 05:27:08 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
11/25/2010 05:27:08 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host

To troubleshoot the issue, I ran the poller and apache with Administrator privileges.

My current platfrom(clean install):
Windows Server 2008 R2 Enterprise 64 Bit
Cacti 0.8.7g with latest patches
Apache 2.2.17
MySQL 5.1.52 64Bit
PHP 5.2.14
RRDTool 1.2.15
Spine 0.8.7e/g
Net-SNMP 5.5.0.2 x64
Cygwin (latest stable)


Any help would be much appreciated.

thanks,

deevee
TheHack
Posts: 28
Joined: Fri Apr 28, 2006 4:02 am

Re: UPDATED 2010-08-21 - Spine 0.8.7g for Windows

Post by TheHack »

I do have the same issue on a 32bit windows server 2003
slamid
Posts: 1
Joined: Wed Dec 29, 2010 8:04 am

Re: UPDATED 2010-08-21 - Spine 0.8.7g for Windows

Post by slamid »

Hi,

I had a problem with "ping.pl" in my Cacti installation, Version 0.8.7g on 32-bit Windows 2003, Apache and MySQL. I got that the probelm is because this script uses Unix Ping command which is not working under Windows. So, Although I am not a perl expert I changed the script so that it uses Windows Ping command and I named it "wping.pl". I used this script with cmd.php poller and It worked very well in GPSMAP and Monitor Plugins and Ping Graphs. I also use it to ping hosts from command line in Windows and it works fine.

After number of hosts increased in my netowrk and I had to change the poller to Spine 0.8.7g, the problem began. Although all traffic graphs based on XML files work fine ,Ping Graphs don't update anymore and all hosts status changed to Down in GPSMAP and Monitor Plugins.

Hosts are up when I open them one by one in Console and I can see following status above the page:

Ping Results
ICMP Ping Success (523.76 ms)

FYI, I use Cacti to monitor a VSAT network and large round trip delay is because of that.

I read a post from TheWitness that points I must use just one "print" command in my script to work with Spine, I did it but no changes happened.

It will be so appreciated if someone can offer a solution in this regard.

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests