Cactid 0.8.6i Beta3 - Last Beta

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

Moderators: Developers, Moderators

User avatar
vladah
Posts: 23
Joined: Sun Sep 11, 2005 6:00 pm
Location: Reading, UK

Post by vladah »

[quote="SkipLacky"]I apologize if this has been talked about before, but.....

I'm having issues getting through the compile. It seems it cannot find my net-snmp libraries.

I've encauntered the same issue when trying to compile cactid 0.8.6i beta 3 version on solaris 8 box. I eventually managed to do that with net-snmp version 5.2.3 and using the config.ac file from svn...

also you need to run aclocal, autoheader automake and autoconf...

Cheers,

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

Post by TheWitness »

Right Vlad I am perpelexed as well as when you look at the configure.ac file, it is looking for the presence net-snmp-config.h and it should have found it with both versions.

So, this makes no sense as it's in the same directory with both installs. So, I am assuming that you made with the test version using the --with-snmp... option, am I correct?

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
vladah
Posts: 23
Joined: Sun Sep 11, 2005 6:00 pm
Location: Reading, UK

Post by vladah »

Yeah,

you are right. I used when configuring --with-snmp=/tmp/net-snmp version 5.2.3, but I also tried with the same option --with-snmp=/usr/local/net-snmp where the 5.3.1 version is insatlled whithout success.

On Thursday I have a sceduled work order to install cactid in the production environment so I'll try again and post you the results.

Anyway cactid works fine in testing environment, and although I have just 3 devices and a few interface graphics here is the result:

10/17/2006 12:20:01 PM - SYSTEM STATS: Time:1.0951 Method:cactid Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:32 RRDsProcessed:22

Now, I'll go for a patch to get this 1-min polling enabled....

Cheers,

Vlad
SkipLacky
Posts: 10
Joined: Mon Oct 16, 2006 3:20 pm

Post by SkipLacky »

Quoted "you are right. I used when configuring --with-snmp=/tmp/net-snmp version 5.2.3, but I also tried with the same option --with-snmp=/usr/local/net-snmp where the 5.3.1 version is insatlled whithout success. "

FYI.....

I have net-snmp 5.3.1 installed.... perhaps I should downgrade to 5.2?
User avatar
vladah
Posts: 23
Joined: Sun Sep 11, 2005 6:00 pm
Location: Reading, UK

Post by vladah »

What OS are you running?

I was not able to compile it on Solaris 8 using net-snmp 5.3.1...

Cheers,

Vlad

[/quote]
SkipLacky
Posts: 10
Joined: Mon Oct 16, 2006 3:20 pm

Post by SkipLacky »

I'm running the following in a test environment.

FreeBSD 6.1
mysql 5.0.24
php 5.1.6
apache 2.2.3
net-snmp 5.3.1
perl 5.8.8
cacti-0.8.6.h
rrdtool 1.2.15
SkipLacky
Posts: 10
Joined: Mon Oct 16, 2006 3:20 pm

Post by SkipLacky »

ARG!!!

I've tried to switch back to catid-g....... and now I cannot get that to run properly.

This is what I see when I run it manually.

10/17/2006 11:43:51 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/cactid/bin/cactid, ARGS: 0 1]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.

This continues until the maximum runtime expires.

In the cacti logfile, i see this over and over again.

10/17/2006 11:53:08 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
10/17/2006 11:53:08 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) limit 10000"


And when it finishes........
10/17/2006 11:53:18 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:293.2040 Method:cactid Processes:1 Threads:1 Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0')"




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

Post by TheWitness »

Almost like the cactid.conf file is not setup correctly.

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?
SkipLacky
Posts: 10
Joined: Mon Oct 16, 2006 3:20 pm

Post by SkipLacky »

Yeah, I know.

But, i've double checked all my config files, and they're all correct.


Any other ideas?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

su to the poller user, then attempt to connect to mysql as the user you configured in cactid.conf. Then attempt to read records from the poller_item table.

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?
SkipLacky
Posts: 10
Joined: Mon Oct 16, 2006 3:20 pm

Post by SkipLacky »

My user has access.......

I see my poller items in the poller_item table. Right now, all i have graphing is the localhost.

poller_output is an empty set.
poller_time is an empty set.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests