Cacti does not get any Updates?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ConiKost
Posts: 8
Joined: Sat Sep 02, 2006 7:03 pm

Cacti does not get any Updates?

Post by ConiKost »

Hello!

My Software:

Cacti 0.8.6i, Cactid 0.8.6i

Gentoo Linux 2006.1
SNMP 5.4
RRDTool 1.2.15

Well, I am using Cactid Poller with Cacti. There are no Errors?

Code: Select all

BlackBox conikost # /usr/bin/php -f /var/www/geode-blackbox.de/htdocs/Cacti/poller.php
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
OK u:0.00 s:0.00 r:5.33
01/01/2007 09:54:10 PM - SYSTEM STATS: Time:8.5068 Method:cactid Processes:5 Threads:1 Hosts:2 HostsPerProcess:1 DataSources:34 RRDsProcessed:23
But still, NO Updates for the Graph Images? Where is the Problem?

[EDIT]
It works with cmd.php FINE!!

But NOT with cactid!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Did you set up cactid.conf? Were is it located?
Reinhard
ConiKost
Posts: 8
Joined: Sat Sep 02, 2006 7:03 pm

Post by ConiKost »

gandalf wrote:Did you set up cactid.conf? Were is it located?
Reinhard
Hi!

Yes, cactid.conf is in /etc !

Code: Select all

BlackBox / # cat /etc/cactid.conf
# +-------------------------------------------------------------------------+
# | Copyright (C) 2005 The Cacti Group                                      |
# |                                                                         |
# | This program is free software; you can redistribute it and/or           |
# | modify it under the terms of the GNU Lesser General Public License      |
# | as published by the Free Software Foundation; either version 2.1        |
# | of the License, or (at your option) any later version.                  |
# |                                                                         |
# | This program is distributed in the hope that it will be useful,         |
# | but WITHOUT ANY WARRANTY; without even the implied warranty of          |
# | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           |
# | GNU General Public License for more details.                            |
# +-------------------------------------------------------------------------+
# | cactid: a backend data gatherer for Cacti                               |
# +-------------------------------------------------------------------------+
# | This poller would not have been possible without:                       |
# |   - Larry Adams (current development and enhancements)                  |
# |   - Rivo Nurges (rrd support, mysql poller cache, misc functions)       |
# |   - RTG (core poller code, pthreads, snmp, autoconf examples)           |
# |   - Brady Alleman/Doug Warner (threading ideas, implimentation details) |
# +-------------------------------------------------------------------------+
# | Settings                                                                |
# +-------------------------------------------------------------------------+
# | DB_Host      'localhost' or socket file for unix                        |
# |              IP Address for Windows                                     |
# | DB_Database  Database name, typically 'cacti'                           |
# | DB_Port      The database port to use                                   |
# | DB_User      The user to access the database, typically 'cactiuser'     |
# | DB_Pass      The password for the Cacti user                            |
# +-------------------------------------------------------------------------+
DB_Host         localhost
DB_Database     Cacti
DB_User         Cacti
DB_Pass         XXXXXX
DB_Port         3306
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please try first

Code: Select all

cactid --verbosity=5 <id> <id>
where <id> represents a valid device id (find it in the url when editing a device). The log messages will show, what config file was read. And it will provide lots of infos that may help solving your problem
Reinhard
ConiKost
Posts: 8
Joined: Sat Sep 02, 2006 7:03 pm

Post by ConiKost »

Hi!

Here:

BlackBox cacti-0.8.6j # cactid --verbosity=5 1
CACTID:
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Database connection problems. If you want to see the message, build the SVN Version BRANCH_0_8_6.

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
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Just saw it: your conf file includes capital letters. This will not be accepted unless the "real" userid/database contains caps as well
Reinhard
ConiKost
Posts: 8
Joined: Sat Sep 02, 2006 7:03 pm

Post by ConiKost »

Hello!
Its correct!

DB Name : Cacti (YES, big C!)
DB User too ...

So whats wrong?
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Ok, well what's happening is that the user that you have specified, does not have access to the database using the information you provided. If you simply replace your "sql.c" file from your current source code (086i) from the BRANCH_0_8_6, recompile and run, you will see that error.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests