Cactid 0.8.6j - Release

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

Moderators: Developers, Moderators

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

Cactid 0.8.6j - Release

Post by TheWitness »

All,

I am posting here as we will be pushing out the 0.8.7 next week as well. I will insure that it is in the downloads location within the next week and possibly get the various RPM's constructed by other members of the team.

Keep in mind, that since I do all my development in Windows, you may have to change permissions on some things, even perform a dos2unix on some of the files. My apologies for such things... All ridicule happily accepted with regard to that subject.

Regards,

TheWitness
Attachments
cactid-0.8.6j-win32-bin.zip
Windows Cygwin Binary
(494.56 KiB) Downloaded 3283 times
cactid-0.8.6j.tar.gz
Linux Compliant Source
(933.14 KiB) Downloaded 3474 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
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

Larry,

The configure gives a warning and make fails on FreeBSD 6.2:

[root@FreeBSD /usr/src]# tar vxf cactid-0.8.6j.tar.gz
x cactid-0.8.6j/
x cactid-0.8.6j/.deps/
x cactid-0.8.6j/.deps/cactid.Po
x cactid-0.8.6j/.deps/error.Po
x cactid-0.8.6j/.deps/keywords.Po
x cactid-0.8.6j/.deps/locks.Po
x cactid-0.8.6j/.deps/nft_popen.Po
x cactid-0.8.6j/.deps/php.Po
x cactid-0.8.6j/.deps/ping.Po
x cactid-0.8.6j/.deps/poller.Po
x cactid-0.8.6j/.deps/snmp.Po
x cactid-0.8.6j/.deps/sql.Po
x cactid-0.8.6j/.deps/util.Po
x cactid-0.8.6j/aclocal.m4
x cactid-0.8.6j/AUTHORS
x cactid-0.8.6j/autom4te.cache/
x cactid-0.8.6j/autom4te.cache/output.0
x cactid-0.8.6j/autom4te.cache/requests
x cactid-0.8.6j/autom4te.cache/traces.0
x cactid-0.8.6j/bootstrap
x cactid-0.8.6j/cactid.c
x cactid-0.8.6j/cactid.conf.dist
x cactid-0.8.6j/cactid.exe
x cactid-0.8.6j/cactid.h
x cactid-0.8.6j/cactid.o
x cactid-0.8.6j/ChangeLog
x cactid-0.8.6j/common.h
x cactid-0.8.6j/config/
x cactid-0.8.6j/config/config.guess
x cactid-0.8.6j/config/config.h
x cactid-0.8.6j/config/config.h.in
x cactid-0.8.6j/config/config.h.in~
x cactid-0.8.6j/config/config.sub
x cactid-0.8.6j/config/depcomp
x cactid-0.8.6j/config/install-sh
x cactid-0.8.6j/config/missing
x cactid-0.8.6j/config/mkinstalldirs
x cactid-0.8.6j/config/stamp-h
x cactid-0.8.6j/config/stamp-h.in
x cactid-0.8.6j/config/stamp-h1
x cactid-0.8.6j/config.log
x cactid-0.8.6j/config.status
x cactid-0.8.6j/configure
x cactid-0.8.6j/configure.ac
x cactid-0.8.6j/COPYING
x cactid-0.8.6j/error.c
x cactid-0.8.6j/error.h
x cactid-0.8.6j/error.o
x cactid-0.8.6j/INSTALL
x cactid-0.8.6j/keywords.c
x cactid-0.8.6j/keywords.h
x cactid-0.8.6j/keywords.o
x cactid-0.8.6j/LICENSE
x cactid-0.8.6j/LICENSE.LGPL
x cactid-0.8.6j/locks.c
x cactid-0.8.6j/locks.h
x cactid-0.8.6j/locks.o
x cactid-0.8.6j/Makefile
x cactid-0.8.6j/Makefile.am
x cactid-0.8.6j/Makefile.in
x cactid-0.8.6j/NEWS
x cactid-0.8.6j/nft_popen.c
x cactid-0.8.6j/nft_popen.h
x cactid-0.8.6j/nft_popen.o
x cactid-0.8.6j/php.c
x cactid-0.8.6j/php.h
x cactid-0.8.6j/php.o
x cactid-0.8.6j/ping.c
x cactid-0.8.6j/ping.h
x cactid-0.8.6j/ping.o
x cactid-0.8.6j/poller.c
x cactid-0.8.6j/poller.h
x cactid-0.8.6j/poller.o
x cactid-0.8.6j/README
x cactid-0.8.6j/README-WINDOWS
x cactid-0.8.6j/snmp.c
x cactid-0.8.6j/snmp.h
x cactid-0.8.6j/snmp.o
x cactid-0.8.6j/sql.c
x cactid-0.8.6j/sql.h
x cactid-0.8.6j/sql.o
x cactid-0.8.6j/util.c
x cactid-0.8.6j/util.h
x cactid-0.8.6j/util.o

[root@FreeBSD /usr/src]# cd cactid-0.8.6j

[root@FreeBSD /usr/src/cactid-0.8.6j]# dos2unix *
config: Is a directory
autom4te.cache: Is a directory
[root@FreeBSD /usr/src/cactid-0.8.6j]# cd .deps/
[root@FreeBSD /usr/src/cactid-0.8.6j/.deps]# dos2unix *
[root@FreeBSD /usr/src/cactid-0.8.6j/.deps]# cd ../config/
[root@FreeBSD /usr/src/cactid-0.8.6j/config]# dos2unix *
[root@FreeBSD /usr/src/cactid-0.8.6j/config]# cd ../autom4te.cache/
[root@FreeBSD /usr/src/cactid-0.8.6j/autom4te.cache]# dos2unix *
[root@FreeBSD /usr/src/cactid-0.8.6j/autom4te.cache]# cd ..

[root@FreeBSD /usr/src/cactid-0.8.6j]# autoheader
[root@FreeBSD /usr/src/cactid-0.8.6j]# autoconf
[root@FreeBSD /usr/src/cactid-0.8.6j]# aclocal
[root@FreeBSD /usr/src/cactid-0.8.6j]# automake

[root@FreeBSD /usr/src/cactid-0.8.6j]# LD_LIBRARY_PATH=/usr/local/lib:/opt/net-snmp/lib/:/opt/mysql/lib/mysql/
[root@FreeBSD /usr/src/cactid-0.8.6j]# export LD_LIBRARY_PATH

[root@FreeBSD /usr/src/cactid-0.8.6j]# ./configure --prefix=/opt/apache/htdocs/cacti --with-mysql=/opt/mysql --with-snmp=/opt/net-snmp
checking build system type... i386-unknown-freebsd6.2
checking host system type... i386-unknown-freebsd6.2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) nawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking whether to enable -Wall... no
checking for gethostbyname in -lnsl... no
checking for socket in -lsocket... no
checking for floor in -lm... yes
checking for pthread_exit in -lpthread... yes
checking for deflate in -lz... yes
checking for kstat_close in -lkstat... no
checking for CRYPTO_realloc in -lcrypto... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for signal.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for unsigned long long... yes
checking for long long... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for malloc... yes
checking for calloc... yes
checking for gettimeofday... yes
checking for strerror... yes
checking for strtoll... yes
checking for mysql_init in -lmysqlclient_r... yes
checking for mysql_thread_init in -lmysqlclient_r... yes
checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... yes
checking for snmp_timeout in -lnetsnmp... yes
checking whether we are using nifty popen... no
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: creating config/config.h
config.status: executing depfiles commands

[root@FreeBSD /usr/src/cactid-0.8.6j]# make
"Makefile", line 313: Need an operator
make: fatal errors encountered -- cannot continue


[root@FreeBSD /usr/src/cactid-0.8.6j]# ls -alF
total 740
drwx------ 5 21321 wheel 1536 Oct 19 18:11 ./
drwxr-xr-x 3 root wheel 512 Oct 19 18:08 ../
drwxr-xr-x 2 21321 10545 512 Oct 19 07:41 .deps/
-rwx------ 1 21321 wheel 0 Oct 19 18:09 AUTHORS*
-rwx------ 1 21321 wheel 17992 Oct 19 18:09 COPYING*
-rwx------ 1 21321 wheel 8782 Oct 19 18:09 ChangeLog*
-rwx------ 1 21321 wheel 784 Oct 19 18:09 INSTALL*
-rwx------ 1 21321 wheel 2239 Oct 19 18:09 LICENSE*
-rwx------ 1 21321 wheel 26440 Oct 19 18:09 LICENSE.LGPL*
-rw-r--r-- 1 root wheel 12635 Oct 19 18:11 Makefile
-rwx------ 1 21321 wheel 261 Oct 19 18:09 Makefile.am*
-rw-r--r-- 1 21321 10545 12161 Oct 19 18:10 Makefile.in
-rwx------ 1 21321 wheel 0 Oct 19 18:09 NEWS*
-rwx------ 1 21321 wheel 341 Oct 19 18:09 README*
-rwx------ 1 21321 wheel 1236 Oct 19 18:09 README-WINDOWS*
-rwx------ 1 21321 wheel 42599 Oct 19 18:10 aclocal.m4*
drwxr-xr-x 2 21321 10545 512 Oct 19 18:09 autom4te.cache/
-rwx------ 1 21321 wheel 89 Oct 19 18:09 bootstrap*
-rwx------ 1 21321 wheel 21207 Oct 19 18:09 cactid.c*
-rwx------ 1 21321 wheel 2460 Oct 19 18:09 cactid.conf.dist*
-rwxr-xr-x 1 21321 10545 3 Oct 19 18:09 cactid.exe*
-rwx------ 1 21321 wheel 14286 Oct 19 18:09 cactid.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 cactid.o
-rwx------ 1 21321 wheel 3863 Oct 19 18:09 common.h*
drwx------ 2 21321 wheel 512 Oct 19 18:11 config/
-rw-r--r-- 1 21321 10545 32009 Oct 19 18:11 config.log
-rwxr-xr-x 1 21321 10545 31347 Oct 19 18:11 config.status*
-rwxr-xr-x 1 21321 10545 221236 Oct 19 18:10 configure*
-rwx------ 1 21321 wheel 8276 Oct 19 18:09 configure.ac*
-rwx------ 1 21321 wheel 5055 Oct 19 18:09 error.c*
-rwx------ 1 21321 wheel 2460 Oct 19 18:09 error.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 error.o
-rwx------ 1 21321 wheel 6875 Oct 19 18:09 keywords.c*
-rwx------ 1 21321 wheel 2675 Oct 19 18:09 keywords.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 keywords.o
-rwx------ 1 21321 wheel 7370 Oct 19 18:09 locks.c*
-rwx------ 1 21321 wheel 2611 Oct 19 18:09 locks.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 locks.o
-rwx------ 1 21321 wheel 10640 Oct 19 18:09 nft_popen.c*
-rwx------ 1 21321 wheel 2485 Oct 19 18:09 nft_popen.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 nft_popen.o
-rwx------ 1 21321 wheel 16164 Oct 19 18:09 php.c*
-rwx------ 1 21321 wheel 2581 Oct 19 18:09 php.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 php.o
-rwx------ 1 21321 wheel 25042 Oct 19 18:09 ping.c*
-rwx------ 1 21321 wheel 2905 Oct 19 18:09 ping.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 ping.o
-rwx------ 1 21321 wheel 40762 Oct 19 18:09 poller.c*
-rwx------ 1 21321 wheel 2531 Oct 19 18:09 poller.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 poller.o
-rwx------ 1 21321 wheel 17406 Oct 19 18:09 snmp.c*
-rwx------ 1 21321 wheel 2872 Oct 19 18:09 snmp.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 snmp.o
-rwx------ 1 21321 wheel 8335 Oct 19 18:09 sql.c*
-rwx------ 1 21321 wheel 2641 Oct 19 18:09 sql.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 sql.o
-rwx------ 1 21321 wheel 26804 Oct 19 18:09 util.c*
-rwx------ 1 21321 wheel 3549 Oct 19 18:09 util.h*
-rw-r--r-- 1 21321 10545 3 Oct 19 18:09 util.o

I zipped up the failed make (all files) and attached them to this post.
Any thoughts?
Attachments
Make-Fails.zip
The configure gives a warning and make fails on FreeBSD 6.2
(483.83 KiB) Downloaded 3335 times
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 »

New build instructions:

aclocal
libtoolize --force
autoheader
autoconf
automake
./configure
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?
dagonet
Cacti User
Posts: 90
Joined: Sat Oct 29, 2005 4:05 pm
Location: Wuerzburg

Post by dagonet »

Hi,
N3NCY try gmake instead of BSD make:)
Works for me. I have just compiled cactid 0.8.6j.

Regards
dagonet
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Worked fine for me out of the box with FreeBSD 6.2. ./configure && gmake

Even seems to have shaved a couple of seconds off my poll time.

Thanks!
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

This still fails:
aclocal
libtoolize --force
autoheader
autoconf
automake
./configure
make

This works!
./configure
gmake

I did dos2unix in both cases.

I guess going forward I will use gmake!

I wonder why make no longer does the trick?
Oh well, gmake it is!
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
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

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.
[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]
dagonet
Cacti User
Posts: 90
Joined: Sat Oct 29, 2005 4:05 pm
Location: Wuerzburg

Post by dagonet »

N3NCY wrote:This still fails:
aclocal
libtoolize --force
autoheader
autoconf
automake
./configure
make

This works!
./configure
gmake

I did dos2unix in both cases.

I guess going forward I will use gmake!

I wonder why make no longer does the trick?
Oh well, gmake it is!
I reckon that the generate Makefile is somehow in gmake format. BSD make and gnu make are not the same.

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

Post by TheWitness »

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.

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 »

like recents builds, this version don't work with external perl scripts (known problem)
the perl processus is not even launched

cmd.php work

i'm dissapointed
i need perl external script (it works with batch and php scripts)

is spine based on the same code as cactid ?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

gilles wrote:like recents builds, this version don't work with external perl scripts (known problem)
the perl processus is not even launched

cmd.php work

i'm dissapointed
i need perl external script (it works with batch and php scripts)

is spine based on the same code as cactid ?
My perl scripts are still working... (FreeBSD)
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

i'm using windows

cactid 0.8.6 g work good but it as 1 year now

since version h, i have problems
it is since this version sh.exe have been introduced
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Gilles,

With 0.8.6j, I provide a build option like this:

./configure --with-nifty

If you specify this, it will revert to the 0.8.6h behavior (not requiring sh.exe). Pretty sure it's "--with-nifty". You can run the following to confirm:

./configure --help

Spine has the same 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
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

From inside Cacti's web interface where it calls scripts, you need to put in the full path to Perl.

Not:
perl myscript.pl

Use:
/path/to/your/perl /path/to/myscript.pl

Also, for good measure, I always look inside any pl and php files and make sure the #! line has the corect path to perl or php as desired.

FYI:
Using full paths in /etc/crontab usually fixes other weird issues as well.
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
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

when i read the forum, compiling is so complicate...
understand i don't have time for this (and no clearly instructions for me)
why compiling my own binary will work ?
there are binaries compiling from users (mcutting) which don't work too

i have tried to work with the #! line and the Cacti's web interface
i'm on windows
i have tried / and \, simple and double
i have tried to use only the path to the script and not using perl.exe in the command line (like php scripts for example)
g version always work so it's not the problem
i don't know why g version work and the others not
Locked

Who is online

Users browsing this forum: No registered users and 0 guests