Waiting on 1/1 pollers.
Moderators: Developers, Moderators
Wow! Now it's actually working! I however detected some two problems before I got it running which both resulted in the waiting for poller 1/1 problem:
1. Path to cactid was wrong after the reinstall. I put the new binary in a new directory (./configure --prefix=/usr/local/cactid_086c). I detected this by running php poller.php through truss. Maybe this could be detected and reported as an error.
2. Problem connecting to the database. I had added the IP-adress of the cacti-machine and not the DNS-name into privileges in MySQL. Can't really figure this one out since most of the queries worked but I noticed some access denied in the mysql.log (running mysqld with --log option).
I corrected both of them and now it works and as I can see now all graphs are updated.
I'm running cactid with 1 process and 5 threads. It takes ~ 120 seconds to get through the 6182 rrds and 137 hosts.
Still problem displaying graphs in graph view though. I can see the graphs and that they are updated with current data when I look at the through graph management but it's completely blank when I expand the host in the tree and press CPU usage or Interface Traffic for instance.
This does not apply to all hosts, just some. Most are working. And as I said, even those who doesn't work I can view in graph management.
All those who doesn't work are all within one tree (in subtrees of one tree).
1. Path to cactid was wrong after the reinstall. I put the new binary in a new directory (./configure --prefix=/usr/local/cactid_086c). I detected this by running php poller.php through truss. Maybe this could be detected and reported as an error.
2. Problem connecting to the database. I had added the IP-adress of the cacti-machine and not the DNS-name into privileges in MySQL. Can't really figure this one out since most of the queries worked but I noticed some access denied in the mysql.log (running mysqld with --log option).
I corrected both of them and now it works and as I can see now all graphs are updated.
I'm running cactid with 1 process and 5 threads. It takes ~ 120 seconds to get through the 6182 rrds and 137 hosts.
Still problem displaying graphs in graph view though. I can see the graphs and that they are updated with current data when I look at the through graph management but it's completely blank when I expand the host in the tree and press CPU usage or Interface Traffic for instance.
This does not apply to all hosts, just some. Most are working. And as I said, even those who doesn't work I can view in graph management.
All those who doesn't work are all within one tree (in subtrees of one tree).
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Send pictures home. Also, goto Graphs and edit the graphs in question. Turn on Debug and tell me what it says.
TheWitness
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Thomas,
If you turn off Expand Hosts, do your graphs show up? Or, when you simply select the host?
Larry
If you turn off Expand Hosts, do your graphs show up? Or, when you simply select the host?
Larry
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You will have to dump your database and send it my way. Via e-mail again.
Larry
Larry
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Also, check your apache error.log file. You may have a permissions problem as well. I don't think so, but you should check it out.
Larry
Larry
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?
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?
The solution to this problem was given to me by Larry (TheWitness) last friday.
The answer to the question was an upgrade from 0.8.5a to 0.8.6c.Thomas,
The easiest way to fix this is simply to edit each host in the Tree view
area and resave. The problem will self heal as you save. I do not know how
this could have happened. What changes were made to the system prior to
this happening?
Larry
i was getting the same exact issue when running via poller.php from either cactid OR cmd.php .
the weird part was that running cmd.php manually worked flawlessly.
as a temp workaround, i have cron doing just that.
as for what i'm running
i'm on 0.8.6j for cacti, and the problem seemed to spur after upgrading php and mysql to the 5.x versions of each.
no errors related to this show up in apache's error logs.
i'm utterly stumped on this one, as the debug logging ins't actually being switched into debug mode with that setting (and i found that this is a known bug, but couldn't find a resolution).
any insight is appreciated.
update: my messages.log is littered with messages like:
the weird part was that running cmd.php manually worked flawlessly.
as a temp workaround, i have cron doing just that.
as for what i'm running
i'm on 0.8.6j for cacti, and the problem seemed to spur after upgrading php and mysql to the 5.x versions of each.
no errors related to this show up in apache's error logs.
i'm utterly stumped on this one, as the debug logging ins't actually being switched into debug mode with that setting (and i found that this is a known bug, but couldn't find a resolution).
any insight is appreciated.
update: my messages.log is littered with messages like:
Code: Select all
Sep 25 19:44:50 logmeinwiki Cacti[24266]: CMDPHP: ERROR: SQL Assoc Failed "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"
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Yep, see http://www.cacti.net/download_patches.php
Reinhard
Reinhard
Who is online
Users browsing this forum: No registered users and 0 guests