poller.php giving nothing (cacti/php newbie)
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Thu Mar 06, 2008 5:00 pm
poller.php giving nothing (cacti/php newbie)
Hello,
I just finished installing cacti 0.8.7a, surprisingly the interface works, my problem is now the following:
# /usr/local/bin/php /var/www/cacti/poller.php
#
It returns me nothing, as root or my cacti user account.
It does not populate ~rra
It does produce output in cacti.log
my php -m :
[PHP Modules]
ctype
date
dom
filter
hash
iconv
json
libxml
pcre
PDO
pdo_sqlite
posix
Reflection
session
SimpleXML
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
Very frustrating,
i am guessing I am missing a php module, but which one ? I would have though should get at least an error in any case...
Can someone help please ?
Laurent
I just finished installing cacti 0.8.7a, surprisingly the interface works, my problem is now the following:
# /usr/local/bin/php /var/www/cacti/poller.php
#
It returns me nothing, as root or my cacti user account.
It does not populate ~rra
It does produce output in cacti.log
my php -m :
[PHP Modules]
ctype
date
dom
filter
hash
iconv
json
libxml
pcre
PDO
pdo_sqlite
posix
Reflection
session
SimpleXML
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
Very frustrating,
i am guessing I am missing a php module, but which one ? I would have though should get at least an error in any case...
Can someone help please ?
Laurent
-
- Posts: 6
- Joined: Thu Mar 06, 2008 5:00 pm
rectification
It doesn't produce any errors in cacti.log or elsewhere
-
- Posts: 24
- Joined: Wed Mar 05, 2008 10:46 pm
- Location: Fort Worth, TX
-
- Posts: 24
- Joined: Wed Mar 05, 2008 10:46 pm
- Location: Fort Worth, TX
Well, finally out of the blue, my cacti.log finally started getting data and it is as follows....
-=(( root = Samba ))=-
( /var/www/html/cacti/log )
# tail cacti.log
03/09/2008 01:00:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
03/09/2008 01:05:01 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
03/09/2008 01:05:01 PM - SYSTEM STATS: Time:298.2121 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:8 RRDsProcessed:0
03/09/2008 01:05:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
03/09/2008 01:10:01 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
03/09/2008 01:10:01 PM - SYSTEM STATS: Time:299.1859 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:8 RRDsProcessed:0
03/09/2008 01:10:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
03/09/2008 01:15:01 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
03/09/2008 01:15:01 PM - SYSTEM STATS: Time:299.2155 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:8 RRDsProcessed:0
03/09/2008 01:15:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
-=(( root = Samba ))=-
( /var/www/html/cacti/log )
#
It appears that it is finally starting to log, but it wasnt before and I have done noting else to any other log files, I promise. But rra/ still does not have anything being created into it.
-=(( root = Samba ))=-
( /var/www/html/cacti/rra )
# ll
total 0
-=(( root = Samba ))=-
( /var/www/html/cacti/rra )
#
So cmd.php is running some how, I dont get anything when I run it manually though so I am a bit confused. But I also noticed that when I do php -m i dot not see mysql, which I have confirmed is installed.
-=(( root = Samba ))=-
( /var/www/html/cacti/rra )
# php -m
[PHP Modules]
cgi
ctype
date
dom
filter
hash
iconv
json
libxml
pcre
PDO
pdo_sqlite
posix
Reflection
session
SimpleXML
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
[Zend Modules]
-=(( root = Samba ))=-
( /var/www/html/cacti/rra )
#
Also, if need be, please refer to post http://forums.cacti.net/viewtopic.php?t=26216
-=(( root = Samba ))=-
( /var/www/html/cacti/log )
# tail cacti.log
03/09/2008 01:00:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
03/09/2008 01:05:01 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
03/09/2008 01:05:01 PM - SYSTEM STATS: Time:298.2121 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:8 RRDsProcessed:0
03/09/2008 01:05:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
03/09/2008 01:10:01 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
03/09/2008 01:10:01 PM - SYSTEM STATS: Time:299.1859 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:8 RRDsProcessed:0
03/09/2008 01:10:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
03/09/2008 01:15:01 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
03/09/2008 01:15:01 PM - SYSTEM STATS: Time:299.2155 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:8 RRDsProcessed:0
03/09/2008 01:15:02 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
-=(( root = Samba ))=-
( /var/www/html/cacti/log )
#
It appears that it is finally starting to log, but it wasnt before and I have done noting else to any other log files, I promise. But rra/ still does not have anything being created into it.
-=(( root = Samba ))=-
( /var/www/html/cacti/rra )
# ll
total 0
-=(( root = Samba ))=-
( /var/www/html/cacti/rra )
#
So cmd.php is running some how, I dont get anything when I run it manually though so I am a bit confused. But I also noticed that when I do php -m i dot not see mysql, which I have confirmed is installed.
-=(( root = Samba ))=-
( /var/www/html/cacti/rra )
# php -m
[PHP Modules]
cgi
ctype
date
dom
filter
hash
iconv
json
libxml
pcre
PDO
pdo_sqlite
posix
Reflection
session
SimpleXML
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
[Zend Modules]
-=(( root = Samba ))=-
( /var/www/html/cacti/rra )
#
Also, if need be, please refer to post http://forums.cacti.net/viewtopic.php?t=26216
-
- Posts: 24
- Joined: Wed Mar 05, 2008 10:46 pm
- Location: Fort Worth, TX
followed second link when i was visiting this part of the forum, and didnt get very far... I posted all the outcomes while i was following your 2nd link on your sig
http://forums.cacti.net/viewtopic.php?t=26188
what calls on what to create the rrd files?
I am sure that seeing my name as the "last posted" is starting to give you a headache, but I'm rather baffled as to why everything else I have that is php and mysql oriented runs fine, but this doesn't at all.
http://forums.cacti.net/viewtopic.php?t=26188
what calls on what to create the rrd files?
I am sure that seeing my name as the "last posted" is starting to give you a headache, but I'm rather baffled as to why everything else I have that is php and mysql oriented runs fine, but this doesn't at all.
-
- Posts: 6
- Joined: Thu Mar 06, 2008 5:00 pm
It was as simple as that Gandalf :>,
i recompiled php, and got mysql module together with snmp in this time.
The trick was to compile mysql-devel beforehand, without php won't compile with myslq.
I took the opportunity to upgrade to php/apache/mysql latest versions and now rra directory is getting updated.
Now let's see these graphs....
Thank you!
Laurent
i recompiled php, and got mysql module together with snmp in this time.
The trick was to compile mysql-devel beforehand, without php won't compile with myslq.
I took the opportunity to upgrade to php/apache/mysql latest versions and now rra directory is getting updated.
Now let's see these graphs....
Thank you!
Laurent
Who is online
Users browsing this forum: No registered users and 0 guests