RE: cacti help - no data on graphs

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bryan O'Neal
Date:  
To: Main PLUG discussion list
Subject: RE: cacti help - no data on graphs
Well, I uncommented cacti and replaced the contents of /usr/share/cacti
with a fresh install, I deleted and re-imported the cacti db, I
uncommented the line in cron, and I set all the permissions. The system
generated the .rrd files for me and I get a graph preview, but still no
data?

My cacti log says
03/19/2007 07:00:04 PM - SYSTEM STATS: Time:3.0026 Method:cmd.php
Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:233
RRDsProcessed:119

This "modified" datestamp on the file is for 6:00:04 PM MST so why is
the log entry for 7:00:04 PM?


-----Original Message-----
From:
[mailto:plug-discuss-bounces@lists.plug.phoenix.az.us] On Behalf Of
Brant Evans
Sent: Monday, March 19, 2007 4:34 PM
To: Main PLUG discussion list
Subject: Re: cacti help - no data on graphs

I'm not familiar with cacti, but the # at the beginning of the cron
line will cause cron to not run the command as it looks at the line as
a comment. If it's just a problem of cron not running the command that
should fix it.

The "> /dev/null 2>&1" is sending all output from the php script to
the bit-bucket. If the script is creating files and writing to them
then this is perfectly fine.

Brant

On 3/19/07, Bryan O'Neal <> wrote:
>
>
>
>
> Ok, so I set it all up, but there were no graphs, so I read the docs

and
> tested by executing poller.php manual, at which point the rra data

appeared
> and I had graphs, but no data on those graphs. I reset the

permissions on
> the .rrd files to cacti/cacti 664 but still nothing. I checked cron

and it
> had a cacti file in cron.d with the line
>
> #*/5 * * * *         cacti     /usr/bin/php

/usr/share/cacti/poller.php >
> /dev/null 2>&1
>
> And if I execute /usr/bin/php /usr/share/cacti/poller.php directly it

does
> work to refresh the data in /usr/share/cacti/rra/ but I am not sure

what >
> dev/null 2>&1 is doing. If I execute poller with that on the end it

does
> not seem to do anything. And still no graph data.
>
>
>
> I am using cacti 0.8.6i with php 5.1.6 and snmp V1 to get data and if

I run
> 'snmpget -v 1 -c public 192.168.2.50 1.3.6.1.2.1.2.2.1.10.51' from the
> command line I get counter data.
>
>
>
> Any thoughts?
>
>
>
>
>
> Bryan O'Neal
> Cornerstone Homes & Development, Inc.
> 4220 E. McDowell Rd Ste. #108
> Mesa, AZ 85215
> (480) 505-1900
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
>
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss