Error msgs from cactid with cactid.conf

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

Moderators: Developers, Moderators

Post Reply
gru
Posts: 11
Joined: Fri Jun 02, 2006 2:46 am

Error msgs from cactid with cactid.conf

Post by gru »

Hi,

I've made cactid from a src-rpm and installed it into my machine.
cactid 0.8.6g (with mysql-patch) and cacti 8.6.h

I set cacti to use cactid and also set the poller path to the binary
located at /usr/bin/cactid

When I start the poller from the commandline to test it,
then I first get these erros about "unknown token" in cactid.conf

$> php /srv/www/htdocs/cacti/poller.php
No log handling enabled - turning on stderr logging
/etc/cactid.conf: line 31: Warning: Unknown token: DB_Host.
/etc/cactid.conf: line 32: Warning: Unknown token: DB_Database.
/etc/cactid.conf: line 33: Warning: Unknown token: DB_User.
/etc/cactid.conf: line 34: Warning: Unknown token: DB_Pass.
/etc/cactid.conf: line 35: Warning: Unknown token: DB_Port.
...
...

There are no other errors, accept if a host is offline or does not respond via snmp there's a mysql error message saying:
09/27/2006 02:58:30 PM - CACTID: Poller[0] DEBUG: MySQL Insert ID '84': 'INSERT INTO poller_output (local_data_id,rrd_name
,time,output) VALUES'
09/27/2006 02:58:30 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'You have an error in your SQL syntax. Check the ma
nual that corresponds to your MySQL server version for the right syntax to use near '' at line 1'

But so far it runs good and the graphs are rrd's are filled correctly.
It is only a little bit confusing (these unknown tokens).

Does someone know anything about this?

Best regards,
keep up the good work,
Johannes
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please download the beta version in the Announcements forum and post your results.

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?
gru
Posts: 11
Joined: Fri Jun 02, 2006 2:46 am

Post by gru »

I upgraded to cactid version 0.8.6i (src.rpm) and the "unknown Token" messages still appear in the logilfe.

Is it different to the beta version?
Post Reply

Who is online

Users browsing this forum: xugmu and 2 guests