Last 0.8.6x Version of Cactid - Beta1

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

Moderators: Developers, Moderators

marcmo
Posts: 27
Joined: Wed Sep 21, 2005 3:39 pm

Post by marcmo »

+1 for fixing the 32/64 bit issue ...
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

mcutting wrote:
TheWitness wrote:MCutting,

autoconf
./configure

What does that do for you?

Larry
Thanks Larry. I managed to compile it this way. Just need to test it now - I'll post findings shortly.
Hi Larry,

Seems to be running well so far (well, for half a day anyway)
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

I don't know what is wrong with my system, but i have not been able to compile any version of Cactid, nor use any of the recent ones posted. I am hoping once this new version gets released, and is stable, i will be able to re-install, and get everything working as it should.

Oh, well. Sticking with cmd.php for now.

app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Aaron,
Did you install crypto support with Cygwin ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

I thought i did, how can i verify?

app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Are you making or simply trying to run the one that I posted? If you are trying to run it, you need a good full install of Cygwin, or you need the sh.exe, and several dll's that you can find by obtaining a good disassembler that has dependency (*.DLL) checking included in it.

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?
super-hornet
Cacti User
Posts: 175
Joined: Sun May 27, 2007 5:42 pm

Post by super-hornet »

TheWitness wrote: What in the heck are you polling that takes so many processes?

TheWitness
U asking why I use processes=60? Well, I was testing it. I tried from 10 to 60 and the value about the same. That is why I also suspect the speed is cause by slowness in network as well as servers to monitor.

SH
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

this beta 1 works fine here, but no performance improvement :
  • 0.8.6i

    Code: Select all

    09/10/2007 09:21:46 AM - SYSTEM STATS: Time:104.6348 Method:cactid Processes:4 Threads:25 Hosts:309 HostsPerProcess:78 DataSources:8654 RRDsProcessed:4317
  • 0.8.6j beta 1

    Code: Select all

    09/10/2007 09:31:55 AM - SYSTEM STATS: Time:112.9947 Method:cactid Processes:4 Threads:25 Hosts:309 HostsPerProcess:78 DataSources:8654 RRDsProcessed:4317
When installing it, I copied cactid.conf to /path/to/cactid/etc, but cactid does not seem to find it.
[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: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Thanks for the tip fmangent. You will not see a performance increase due to the fact that you have 4 processes times 25 threads = 100 threads, but you only have 78 hosts.

I will have to check on the "./etc" issue though. I think I already know what I did :(. Easy fix though...

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?
mvam
Cacti User
Posts: 87
Joined: Wed Jun 01, 2005 2:00 pm
Location: Seattle

Post by mvam »

fun compile time error

gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -L/usr/lib64 -L/usr/lib -o cactid sql.o cactid.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o -lnetsnmp -lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm -lnsl
cactid.o: In function `main':
/home/cactid/cactid.c:151: undefined reference to `install_cactid_signal_handler'
/home/cactid/cactid.c:621: undefined reference to `uninstall_cactid_signal_handler'
collect2: ld returned 1 exit status
make: *** [cactid] Error 1
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You need to run the auto tools on this before making. See a few posts ago for a leader.

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?
mvam
Cacti User
Posts: 87
Joined: Wed Jun 01, 2005 2:00 pm
Location: Seattle

Post by mvam »

yes, you are right. duh!
Crescens
Posts: 29
Joined: Tue Jun 08, 2004 6:06 am
Location: Germany

Post by Crescens »

Is use this version for the last two days. It worked very well.
Yesterday I added some scripts to get WMI data from windows host.
Since that time I get a lot of segfaults from cacti.
As far as I can see there are three hosts which don´t answer to WMI queries and exacatly that hosts ( plus some others) have gaps in the graphs becouse the max runtime was exceeded.

System:
Windows W2k3
IIS
PHP 5.2.?
Cacti 0.8.6j
latest (this) cactid

from the log:
09/11/2007 08:49:56 AM - RECACHE STATS: RecacheTime:2.1796 HostsRecached:2
09/11/2007 08:49:53 AM - SYSTEM STATS: Time:293.4390 Method:cactid Processes:1 Threads:4 Hosts:51 HostsPerProcess:51 DataSources:1623 RRDsProcessed:826
09/11/2007 08:39:54 AM - RECACHE STATS: RecacheTime:0.6106 HostsRecached:1
09/11/2007 08:39:53 AM - SYSTEM STATS: Time:292.4710 Method:cactid Processes:1 Threads:4 Hosts:51 HostsPerProcess:51 DataSources:1629 RRDsProcessed:805
09/11/2007 08:31:02 AM - RECACHE STATS: RecacheTime:2.8939 HostsRecached:3
09/11/2007 08:30:53 AM - SYSTEM STATS: Time:53.0224 Method:cactid Processes:1 Threads:4 Hosts:51 HostsPerProcess:51 DataSources:1629 RRDsProcessed:912
09/11/2007 08:14:57 AM - RECACHE STATS: RecacheTime:3.8832 HostsRecached:4
09/11/2007 08:14:53 AM - SYSTEM STATS: Time:292.9886 Method:cactid Processes:1 Threads:4 Hosts:51 HostsPerProcess:51 DataSources:1629 RRDsProcessed:805
09/11/2007 07:59:56 AM - RECACHE STATS: RecacheTime:2.5065 HostsRecached:3
09/11/2007 07:59:53 AM - SYSTEM STATS: Time:292.7502 Method:cactid Processes:1 Threads:4 Hosts:51 HostsPerProcess:51 DataSources:1629 RRDsProcessed:805
and the detail log(log level low):
09/11/2007 08:10:27 AM - CACTID: Poller[0] Host[96] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.2021.11.54.0 )
09/11/2007 08:10:27 AM - CACTID: Poller[0] Host[96] DS[4359] WARNING: Result from SNMP not valid. Partial Result: ...
09/11/2007 08:10:27 AM - CACTID: Poller[0] FATAL: Cactid Encountered a Segmentation Fault (Cactid thread)
09/11/2007 08:10:37 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
09/11/2007 08:14:53 AM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
09/11/2007 08:14:53 AM - SYSTEM STATS: Time:292.9886 Method:cactid Processes:1 Threads:4 Hosts:51 HostsPerProcess:51 DataSources:1629 RRDsProcessed:805
09/11/2007 08:14:53 AM - PCOMMAND: Poller[0] Host[21] WARNING: Recache Event Detected for Host
09/11/2007 08:14:54 AM - PCOMMAND: Poller[0] Host[67] WARNING: Recache Event Detected for Host
09/11/2007 08:14:55 AM - PCOMMAND: Poller[0] Host[68] WARNING: Recache Event Detected for Host
09/11/2007 08:14:57 AM - PCOMMAND: Poller[0] Host[9] WARNING: Recache Event Detected for Host
09/11/2007 08:14:57 AM - RECACHE STATS: RecacheTime:3.8832 HostsRecached:4
Host 96 is working as expected an is a unix host.

I deleted the non working graphs - I´m having a look if its working better now.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you get a stackdump file, post it here. That will help.

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?
Crescens
Posts: 29
Joined: Tue Jun 08, 2004 6:06 am
Location: Germany

Post by Crescens »

Schould have written that..
It didn´t create a stackdump file. :-?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest