|
|
| Author |
Message |
fmangeant Cacti Guru User
Joined: 19 Sep 2003 Posts: 2325 Location: Sophia-Antipolis, France
|
Posted: Tue Oct 23, 2007 4:35 am Post subject: |
|
|
| 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
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: | STRNCOPY(config_paths[0], CONFIG_PATH_1);
STRNCOPY(config_paths[1], CONFIG_PATH_2); |
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9723 Location: MI, USA
|
Posted: Tue Oct 23, 2007 6:17 am Post subject: |
|
|
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
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9723 Location: MI, USA
|
Posted: Tue Oct 23, 2007 6:20 am Post subject: |
|
|
I have fixed in SVN. Ian will be issue official releases today.
Larry
|
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Tue Oct 23, 2007 9:08 am Post subject: |
|
|
| 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
|
|
| Back to top |
|
 |
N3NCY Cacti User
Joined: 22 Sep 2005 Posts: 242 Location: Landenberg, PA
|
Posted: Tue Oct 23, 2007 6:55 pm Post subject: |
|
|
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).
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9723 Location: MI, USA
|
Posted: Tue Oct 23, 2007 9:12 pm Post subject: |
|
|
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
| Description: |
|
 Download |
| Filename: |
cactid-0.8.6j-popen.zip |
| Filesize: |
1.98 MB |
| Downloaded: |
100 Time(s) |
| Description: |
|
 Download |
| Filename: |
cactid-0.8.6j-nifty.zip |
| Filesize: |
1.68 MB |
| Downloaded: |
104 Time(s) |
|
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Wed Oct 24, 2007 4:41 am Post subject: |
|
|
| 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))
|
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9723 Location: MI, USA
|
Posted: Wed Oct 24, 2007 6:11 am Post subject: |
|
|
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
|
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Wed Oct 24, 2007 1:00 pm Post subject: |
|
|
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
|
|
| Back to top |
|
 |
|