cacti problem with poller.php
Moderators: Developers, Moderators
cacti problem with poller.php
Hi
I have some problems with poller.php. The problem is that nothing happens. I have tried to insert some echo "test; in the poller script. just for chechking what is going on. And it seems that it stops working after the first include statement!
The website works great. but poller.php doesn't.
Any ideas?
I have some problems with poller.php. The problem is that nothing happens. I have tried to insert some echo "test; in the poller script. just for chechking what is going on. And it seems that it stops working after the first include statement!
The website works great. but poller.php doesn't.
Any ideas?
Hi There
Got the same problem on my debian (sarge) and ubuntu (6.10)box, both with 2.6 kernels.
I work with PHP 4.3.10-18 (cli) and cacti 0.8.6i. Running poller.php shows no output at all.
Tried to work with cactid. He gets data and puts it into poller_output, but he doesn't create any rra files.
I've already increased the log level, but there was no error at all.
Installing all patches doesn't solve the problem.
**UPDATE**
On my debian box, I've got an older rrdtool (RRDtool 1.0.49). Is this a problem?
Got the same problem on my debian (sarge) and ubuntu (6.10)box, both with 2.6 kernels.
I work with PHP 4.3.10-18 (cli) and cacti 0.8.6i. Running poller.php shows no output at all.
Tried to work with cactid. He gets data and puts it into poller_output, but he doesn't create any rra files.
I've already increased the log level, but there was no error at all.
Installing all patches doesn't solve the problem.
**UPDATE**
On my debian box, I've got an older rrdtool (RRDtool 1.0.49). Is this a problem?
Ok, I found the problem.
In mit php.ini for cli was mysql.so disabled.
Unfortunately poller.php does not show an error in this case unlike in cacti 0.8.6h
Error message in 0.8.6h was:
Fatal error: Call to undefined function: mysql_pconnect() in /var/www/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 356
Solved the problem by downgrading to 0.8.6h after reading several threads conatining reports of troubles. Now I upgraded again to 0.8.6h after enabling mysql in my php.ini and everything works fine.
In mit php.ini for cli was mysql.so disabled.
Unfortunately poller.php does not show an error in this case unlike in cacti 0.8.6h
Error message in 0.8.6h was:
Fatal error: Call to undefined function: mysql_pconnect() in /var/www/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 356
Solved the problem by downgrading to 0.8.6h after reading several threads conatining reports of troubles. Now I upgraded again to 0.8.6h after enabling mysql in my php.ini and everything works fine.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Interesting, no error messages in poller.php's STDOUT or STDERR?
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:
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?
Who is online
Users browsing this forum: No registered users and 3 guests