Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
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?
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
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
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...