having trouble generating graphs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
kjcox
Posts: 4
Joined: Sat Sep 07, 2002 9:34 pm

having trouble generating graphs

Post by kjcox »

Please bear with me, I'm trying to migrate from MRTG to Cacti. My boss saw it at a satellite provider's shop and now wants us to use it.
I have it all set up and running on a patched Red Hat 7.3 machine. I can poll SNMP data from off of various Cisco gear; 3500 series switches, a 5500 catalyst and a 6000 along with a PIX and various other ietms.
I can see all the generated interaces, I just can't get it to create graphs.
No problem getting info off the Cisco equipment.
Using rrdtool 1.0.39. Compiled cleanly and seen by the initial page during setup.
Not seeing anything increment in the log/ or rra/ directories. They have the proper ownership. Even chmod'ed them to 777 for testing.
Keep seeing lots of this:

CANNOT FIND DATA SOURCE: /var/www/html/cacti/rra/ping_uunet_phi.rrd

Any suggestions would be appreciated. I can post more info if requested.
Thanks.
:(
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Did you make sure to add the following entry to your /etc/crontab file?

Code: Select all

*/5 * * * * user php /var/www/html/cacti/cmd.php
* Make sure to subsitute 'user' with the user that owns the 'rra/' and 'log/' directories.

* Make sure the path to your 'cmd.php' is correct.

If you have already done that, try running the command php /var/www/html/cacti/cmd.php, and see what kind of output it gives.

-Ian
kjcox
Posts: 4
Joined: Sat Sep 07, 2002 9:34 pm

Post by kjcox »

Yep, I have the following line in my crontab:
# Run the cacti script every 5 minutes
*/5 * * * * prickly php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Pricly (as in pear) is the user that owns the log/ and rra/ directories.
I have followed the direction in the documentation to a tee.
Just wondering what else I can be missing.
Thanks for the reply, though.
KJ
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests