[solved] Problem with my poller

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
exploit-soget
Posts: 40
Joined: Tue Jan 23, 2007 5:31 am

[solved] Problem with my poller

Post by exploit-soget »

Hi,

I have make a new fresh install of Cacti (version 0.8.7a) and I have a problem, there are no graph for my localhost server.
When i try to run poller.php (i doing the following command as cactiuser : php5 /srv/www/htdocs/cacti/poller.php), i have this error :

01/04/2008 02:54:19 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 318 seconds have passed since the last poll!
ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/srv/www/htdocs/cacti/poller.php', line 152)
ALERT - script tried to increase memory_limit to 67108864 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/srv/www/htdocs/cacti/cmd.php', line 33)
OK u:0.00 s:0.01 r:1.01
OK u:0.00 s:0.01 r:1.01
OK u:0.00 s:0.01 r:1.02
OK u:0.00 s:0.01 r:1.02
01/04/2008 02:54:20 PM - SYSTEM STATS: Time:1.1569 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:3 RRDsProcessed:3
OK u:0.00 s:0.01 r:1.03
ERROR: Not enough arguments


CAN YOU HELP ME PLEASE ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

When running the poller.php manually, you should use the option --force to force a run even if it's out of sync with the crontab
Reinhard
User avatar
exploit-soget
Posts: 40
Joined: Tue Jan 23, 2007 5:31 am

Post by exploit-soget »

ok when i run /usr/bin/php5 --force /srv/www/htdocs/cacti/poller.php so i have one question :

Have you an existing documentation for using well the last version of Cacti especially the poller cacti settings (cron interval and poller interval) ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

exploit-soget wrote:ok when i run /usr/bin/php5 --force /srv/www/htdocs/cacti/poller.php so i have one question :

Have you an existing documentation for using well the last version of Cacti especially the poller cacti settings (cron interval and poller interval) ?
Please use /usr/bin/php5 -q /srv/www/htdocs/cacti/poller.php --force instead. Find all documentation ot the documentation tab shown on top of each cacti page
Reinhard
xandlsoft
Posts: 7
Joined: Fri May 09, 2008 3:09 am
Location: VIENNA, Austria

i have the same problem

Post by xandlsoft »

Hello,

my cacti runs perfectly. Since Wednesday i have the same problem. Here is my output from the command prompt:

SUSE:/srv/www/htdocs/cacti # php5 poller.php --force
ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/srv/www/htdocs/cacti/poller.php', line 150)
Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes)
SUSE:

Can you help me???
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is which version of cacti? If < 0.8.7, please increase memory size in php.ini
Reinhard
xandlsoft
Posts: 7
Joined: Fri May 09, 2008 3:09 am
Location: VIENNA, Austria

THX

Post by xandlsoft »

Hi,

Now i have configure memory_limit in "/etc/php5/cli/php.ini" and cacti poller works
:D
Thank you!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest