poller.php

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

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

Post by TheWitness »

Simply goto http://www.cacti.net/downloads/patches/ ... re-patched and apply the files. Works better if you are not using plugins.

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?
LeArN
Posts: 8
Joined: Wed Jan 25, 2006 4:45 am

Post by LeArN »

TheWitness wrote:Simply goto http://www.cacti.net/downloads/patches/ ... re-patched and apply the files. Works better if you are not using plugins.

TheWitness
i have apply the files patch,execpt my cacti.sql.i still used the old one

i have one question again about my cactid:
Tweaking

There are several things you can do to speed up your Cacti web server. It's suggested that you only apply these after you have a fully functional Cacti installation.
1.Switch the polling agent in Cacti from cmd.php to Cactid.exe. Go to Settings | Poller | Type.


i have change my polling agent to cactid,but my schedule task not work.
and my cacti.log say like this:
02/03/2006 10:51:04 AM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
02/03/2006 10:51:04 AM - SYSTEM STATS: Time:292.8624 Method:cactid Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:31 RRDsProcessed:0


i try to run my cactid like this:
c:\cactid\cactid.exe
return result like this:
CACTID: Using cactid config file [cactid.conf]
CACTID; MYSQL: Connection Failed : Access denied for user 'cactiuser'@'learn'<using password: YES>

and this is my cactid.conf
DB_Host 10.168.2.17
DB_Database cacti
DB_User cactiuser
DB_Pass cactipw
DB_Port 3306


cactipw is the right password that i used
what should i do?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Make sure you have properly set up the cacti user account in MySQL. Use a tool such as MySQL Admin or phpmyadmin.
LeArN
Posts: 8
Joined: Wed Jan 25, 2006 4:45 am

Post by LeArN »

BSOD2600 wrote:Make sure you have properly set up the cacti user account in MySQL. Use a tool such as MySQL Admin or phpmyadmin.
i had set up my cacti user in mysql used phpmyadmin.
if i use cmd.php in my polling type,it's work and the graph is appear
i used this in my .cacti/include/config.php
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cactipw";
$database_port = "3306";
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I had the same problem a while ago when I tried to use Cactid. I eventually ended up adding a ton of various cactiuser accounts and eventually it worked... yea, it's overkill and I haven't taken the time to figure out what user accounts I really need.
Attachments
cactid_mysql_permissions.png
cactid_mysql_permissions.png (7.46 KiB) Viewed 1731 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You need to specifically grant the IP address "10.168.2.17" the appropriate access.

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?
LeArN
Posts: 8
Joined: Wed Jan 25, 2006 4:45 am

Post by LeArN »

ok, i have try that...
and it's work.... :D
thx alot :wink:
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests