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 - > PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss