[afnog] Cacti not graphing
Christiana Toluwanimi Olayinka
titoluwanimi at yahoo.com
Fri Feb 6 10:30:10 UTC 2009
Patrick,
My border is that the cron job for poller.php does not seem to be working. I set the cron as root. The entry in my /etc/crontab is pasted
below:
*/5 * * * * cactiuser /usr/local/bin/php /usr/local/www/apache22/data/cacti/poller.php > /dev/null 2>&1
How may I get it runing?
Cheers,
---------------------------
Christiana T. Olayinka
Tel:+234-2-8105156
08062209650
--- On Thu, 2/5/09, Patrick Okui <pokui at psg.com> wrote:
From: Patrick Okui <pokui at psg.com>
Subject: Re: [afnog] Cacti not graphing
To: "Christiana Toluwanimi Olayinka" <titoluwanimi at yahoo.com>
Cc: afnog at afnog.org
Date: Thursday, February 5, 2009, 10:28 PM
Good morning Christiana,
Please keep afnog@ cc'ed.
On 2/6/09 6:16 AM, Christiana Toluwanimi Olayinka wrote:
> Patrick sorry i have t revisit this subject.
>
> My findings:
>
> 1. When I manually do
> /usr/local/bin/php /usr/local/share/cacti/poller.php --debug --force
> The output is as pasted below:
>
> 02/05/2009 11:20:33 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 1443 seconds have passed since
the
> last poll!
> OK u:0.00 s:0.01 r:0.99
> OK u:0.00 s:0.01 r:1.00
> 02/05/2009 11:20:34 PM - SYSTEM STATS: Time:1.1347 Method:cmd.php
> Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:4
> RRDsProcessed:2
>
> 2. When I manually do as in (1) above, the *.rrd file is created but I
> could only view an empty graph. This does not have to do with bad smnp
> data source as I have tried for several other devices.
Graph data will remain blank for at least two runs of the poller over
the poller interval. If your cron job is fine, then just check the
graphs after 15min.
> What do u think I can do. I want to make reinstallation my last resort
>
> Cheers,
--
patrick.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://afnog.org/pipermail/afnog/attachments/20090206/208b336a/attachment.html>
More information about the afnog
mailing list