Cactid 0.8.6i Beta2 Available for Test

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

Moderators: Developers, Moderators

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

Cactid 0.8.6i Beta2 Available for Test

Post by TheWitness »

All,

There have been reports of scripts being unhappy in Cactid Beta 1. So, I am releasing a new beta to have users verify the script behavior. Please post your results.

The installation procedure is simple:

1) take the source provided in the tarball and place it an empty directory.
2) If you are *nix, run dos2unix on all the files. (Yes, I am not running *nix as my primary OS "yet".
3) Run "./configure", "make"
4) Modify the cactid.conf file in the source directory
5) Turn logging to MEDIUM
6) Run "./cactid host_id host_id" to verify script operation for the host in question
7) If all is Ok, run "make install" to move to your production binary directory.

Please post your findings.

Regards,

TheWitness
Attachments
cactid.tar.gz
Source Files
(148.77 KiB) Downloaded 573 times
cactid.zip
Cygwin Binary
(509.36 KiB) Downloaded 545 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
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Still broken for me
08/23/2006 09:00:08 AM - CMDPHP: Poller[0] Host[0] DS[10] CMD: c:/perl/bin/perl.exe c:/Inetpub/wwwroot/cacti/scripts/WeatherBug.pl LFRST, output: DewPoint:52.2 Humidity:89.5 Temp:55.2 Wind:3.5 Pressure:30.18 Rain:0.00 HeatIndex:55.2

08/23/2006 09:05:02 AM - CACTID: Poller[0] Host[0] ERROR: Empty result []: 'c:/perl/bin/perl.exe c:/Inetpub/wwwroot/cacti/scripts/WeatherBug.pl LFRST'
08/23/2006 09:05:02 AM - CACTID: Poller[0] Host[0] DS[10] WARNING: Result from SCRIPT not valid. Partial Result: ...
08/23/2006 09:05:02 AM - CACTID: Poller[0] Host[0] DS[10] SCRIPT: c:/perl/bin/perl.exe c:/Inetpub/wwwroot/cacti/scripts/WeatherBug.pl LFRST, output: U
08/23/2006 09:05:05 AM - CACTID: Poller[0] Time: 3.9530 s, Threads: 1, Hosts: 2
08/23/2006 09:05:06 AM - SYSTEM STATS: Time:5.3157 Method:cactid Processes:1 Threads:1 Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:3
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Did you compile yourself or use the provided binary?

Regards,

Larry
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
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Used the binary you provided.
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Upgrade your cygwin to 1.5.21 and the problem will go away. I used WBug today without issues.

Larry
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
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

That did the trick, works now. Was previously using 1.5.20.
dragec
Posts: 17
Joined: Mon Sep 19, 2005 11:14 am

Post by dragec »

TheWitness wrote:Upgrade your cygwin to 1.5.21 and the problem will go away. I used WBug today without issues.

Larry
And I was wondering why I have problems ... can you make another version with 1.5.20 cygwin?

Thanks!
User avatar
thisted
Cacti User
Posts: 69
Joined: Fri Apr 15, 2005 10:11 am
Location: Bay City, MI
Contact:

Post by thisted »

I'm getting errors running my script that works in version g

Code: Select all

 09/08/2006 09:09:03 AM - CACTID: Poller[0] Host[6] DS[155] SCRIPT: c:\php\php.exe -q C:\Apache2\htdocs\cacti\scripts\php_mssql_dbsizes.php fmint1 fmint1 get logused FMISQL, output: U
09/08/2006 09:09:03 AM - CACTID: Poller[0] Host[6] DS[155] WARNING: Result from SCRIPT not valid. Partial Result: ...
When I run it from the command line it works fine.

I'm using cygwin version 1.5.21-2 according to the setup program.
dermoth
Posts: 7
Joined: Thu Jul 13, 2006 10:39 am

Post by dermoth »

Any ETA for Cactid 0.8.6i release (or beta 3)?

Thanks,

dERMOTH
User avatar
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

I downloaded the tar.gz containing the source for this new beta.
I don't see the "configure" script, so I can't configure.
Can you please add it?
:wink:
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)
cigamit
Developer
Posts: 3363
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

N3NCY wrote:I downloaded the tar.gz containing the source for this new beta.
I don't see the "configure" script, so I can't configure.
Can you please add it?
:wink:
aclocal
autoheader
automake
autoconf
./configure
make
make install

If using linux, you will have to convert it to the unix format via
dos2unix

You will also need to rename CHANGELOG to ChangeLog
User avatar
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

Ah, ok I think I am catching on!

Here is where I am stuck now:
aclocal19
autoheader259
cp CHANGELOG ChangeLog
automake19
autoconf259
LD_LIBRARY_PATH=/usr/local/lib:/opt/net-snmp/lib/:/opt/mysql/lib/mysql/
export LD_LIBRARY_PATH
./configure --prefix=/opt/apache/htdocs/cacti --with-mysql=/opt/mysql/ --with-snmp=/opt/net-snmp/
configure: error: cannot run /usr/local/bin/bash config/config.sub


Normally cactid compiles and runs for me nicely simply by doing:
cd /usr/src
fetch http://www.cacti.net/downloads/cactid/c ... .6g.tar.gz
# Unzip
tar xvf cacti-cactid-0.8.6g.tar.gz
# Patch
cd cacti-cactid-0.8.6g
fetch http://www.cacti.net/downloads/cactid/p ... size.patch
patch -p1 -N < mysql_max_packet_size.patch
# Before compiling:
LD_LIBRARY_PATH=/usr/local/lib:/opt/net-snmp/lib/:/opt/mysql/lib/mysql/
export LD_LIBRARY_PATH
# Cactid configure options:
./configure --prefix=/opt/apache/htdocs/cacti --with-mysql=/opt/mysql/ --with-snmp=/opt/net-snmp/
make
make install

Only this beta is giving me issues getting it to compile.
Cactid 0.8.6g compiles and works great for me.

Any thoughts?
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'm using SVN revision 3772 on a CentOS 4.4 with Cacti 0.8.6h, and everything is working OK (I'm only using SNMP queries, on HP-UX, Win2k with SNMP Informant and RedHat Linux with Net-SNMP).

Main reason I'm using the beta is because of bug #691 (custom SNMP port).
[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]
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Have you looked at the new Utilities page in Beta4? :o :o

Larry
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
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

I'm currently testing it.

See you in the other thread :)
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests