CactiID pre-compiled for download?
Moderators: Developers, Moderators
CactiID pre-compiled for download?
Does anyone have cactid precompiled for download on windows? Same with the needed SNMP files? Its such a hassle to get it compiled with cygwin... TIA
try this:
start the cygwin console (you must have downloaded the gcc and make packages while installing cygwin)
go to the directory of cactid
for example:
now type the following commands:
Be sure to have a unix client of mysql too!
start the cygwin console (you must have downloaded the gcc and make packages while installing cygwin)
go to the directory of cactid
for example:
Code: Select all
cd c:
cd cactid
Code: Select all
./configure
make
make install
When I try to compile cactid, i get the following:
When I try to install the mysql header files, i get the following:
Why can't rpm find sh, when it works when I manually type it in ?
Code: Select all
checking for mysql_init in -lmysqlclient... yes
checking for mysql_thread_init in -lmysqlclient... yes
configure: error: Cannot find SNMP headers. Use --with-snmp= to specify non-default path.
Code: Select all
BSOD2600@gamer2k /cygdrive/d/temp
$ rpm -i MySQL-devel-4.0.18-0.i386.rpm
warning: MySQL-devel-4.0.18-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f
error: Failed dependencies:
/bin/sh is needed by MySQL-devel-4.0.18-0
BSOD2600@gamer2k /cygdrive/d/temp
$ sh
\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ exit
They are for *nix. But as this thread is about getting cactid, a *nix tool, compiled under windows with Cygwin, its relevant.
Anyways, after running Cactid for a few days now I can't say I'm any better off. If a few devices are unreachable, cactid still takes longer than 5 minutes to run, which causes gaps in my graphs. Wasn't that the whole point of cactid over cmd.php?
Anyways, after running Cactid for a few days now I can't say I'm any better off. If a few devices are unreachable, cactid still takes longer than 5 minutes to run, which causes gaps in my graphs. Wasn't that the whole point of cactid over cmd.php?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
BSOD*,
I tried getting it working this weekend and had the same problem. I know dieter has figured it out. It appears to be related to the popen for php.exe. The first several threads make it in the queue and then something happens to slow down the execution. I will be wracking my brains on this one for a while I am afraid.
TheWitness
I tried getting it working this weekend and had the same problem. I know dieter has figured it out. It appears to be related to the popen for php.exe. The first several threads make it in the queue and then something happens to slow down the execution. I will be wracking my brains on this one for a while I am afraid.
TheWitness
You can set the threads to 1 in cactid.conf to and at least get some stability out of cactid until this bug has been corrected.TheWitness wrote:BSOD*,
I tried getting it working this weekend and had the same problem. I know dieter has figured it out. It appears to be related to the popen for php.exe. The first several threads make it in the queue and then something happens to slow down the execution. I will be wracking my brains on this one for a while I am afraid.
TheWitness
Threads is already set to 1, and I'm still getting holes.
Its odd, the first ~24 hours cactid was working great with 10 threads. Then I noticed gaps appearing and upon closer inspection, cactid was timing out on two devices (which is fine, because they are not reachable at the moment). This caused cactid to take longer than 5 minutes to poll everything. I played around with the threads... moved it up to 20 which didnt seem to help. After looking around the forum for thread issues with cactid, I moved it down to 1. Thats helped a little, bit the holes are still appearing! ARRGGG
Its odd, the first ~24 hours cactid was working great with 10 threads. Then I noticed gaps appearing and upon closer inspection, cactid was timing out on two devices (which is fine, because they are not reachable at the moment). This caused cactid to take longer than 5 minutes to poll everything. I played around with the threads... moved it up to 20 which didnt seem to help. After looking around the forum for thread issues with cactid, I moved it down to 1. Thats helped a little, bit the holes are still appearing! ARRGGG
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
just saw your message today.
Well, i'm not getting any troubles with cactid. The only known problem is that when you do not set the number of threads to 1 he randomly hangs on sh.exe or something (using win XP and cygwin)
The thing about popen you are talking about has to do with IIS. You must close the session before the popen() command and re-open it afterwards. If you do not enjoy rebooting IIS every 30 minutes
btw: To be honest. I see no difference in time between cactid (even with processes set to 20) and cmd.php so just leave cactid behind when having troubles with it.
A nice thing to do when having long times (due to many ping graphs), is changing the standard ping.exe of windows to a freeware ping tool called fping where you can set the timeout and time between packets. This really saved me a lot of time!!
Well, i'm not getting any troubles with cactid. The only known problem is that when you do not set the number of threads to 1 he randomly hangs on sh.exe or something (using win XP and cygwin)
The thing about popen you are talking about has to do with IIS. You must close the session before the popen() command and re-open it afterwards. If you do not enjoy rebooting IIS every 30 minutes
btw: To be honest. I see no difference in time between cactid (even with processes set to 20) and cmd.php so just leave cactid behind when having troubles with it.
A nice thing to do when having long times (due to many ping graphs), is changing the standard ping.exe of windows to a freeware ping tool called fping where you can set the timeout and time between packets. This really saved me a lot of time!!
Here is my sitation:
I'm polling 2 remote computers via a VPN connection into a Win2K3 server, along with several on the LAN. I am polling with SNMP, WMI, ping, and Netuse (directly accessing files off the computers hdds). So of course when a VPN connection drops from one or both of the remote servers, all of that stuff times out way too long and thus leaves holes in my graphs.
Sure would be nice to have a feature where if the device is unreachable, that cacti skips it. OR even better, if the threading of cactid worked so a device timeing out wouldn't stall the rest of the device polling.
I'm polling 2 remote computers via a VPN connection into a Win2K3 server, along with several on the LAN. I am polling with SNMP, WMI, ping, and Netuse (directly accessing files off the computers hdds). So of course when a VPN connection drops from one or both of the remote servers, all of that stuff times out way too long and thus leaves holes in my graphs.
Sure would be nice to have a feature where if the device is unreachable, that cacti skips it. OR even better, if the threading of cactid worked so a device timeing out wouldn't stall the rest of the device polling.
Who is online
Users browsing this forum: No registered users and 0 guests