new user problem generating graphs
Moderators: Developers, Moderators
new user problem generating graphs
I'm new to both Cacti and rrdtool so please go easy on me...
I'm trying to make sure I understand the overall processes involved here. Basically Cacti uses snmpwalk, snmpget and such to grab snmp data from my router. It then creates a file in the 'usr/local/raa' folder. Then rrd is run on this file to generate a graph. Is this correct?
I have verified that snmp is working by running snmpwalk from the command line.
However, I do not see any files being generated in the raa folder. Am I even on the right path???
thanks,
kevin
I'm trying to make sure I understand the overall processes involved here. Basically Cacti uses snmpwalk, snmpget and such to grab snmp data from my router. It then creates a file in the 'usr/local/raa' folder. Then rrd is run on this file to generate a graph. Is this correct?
I have verified that snmp is working by running snmpwalk from the command line.
However, I do not see any files being generated in the raa folder. Am I even on the right path???
thanks,
kevin
here is a cut & paste of the rrdtool graph statement
**********************************************************************
**********************************************************************
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="VDR Router - Test ping" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="ms" \
--slope-mode \
DEF:a="/usr/local/downloads/cacti-0.8.6h/rra/vdr_router_time_20.rrd":time:AVERAGE \
AREA:a:"RTT" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="VDR Router - Test ping" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="ms" \
--slope-mode \
DEF:a="/usr/local/downloads/cacti-0.8.6h/rra/vdr_router_time_20.rrd":time:AVERAGE \
AREA:a:"RTT" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
**********************************************************************
**********************************************************************
- Attachments
-
- mydump.jpg (77.24 KiB) Viewed 2231 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Do you have rrdtool 1.2.x installed? Check this by running
Goto Graph Management, select this graph and turn on DEBUG mode (at the top of the page). Is there any error displayed?
Reinhard
Code: Select all
rrdtool --version
Reinhard
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
You've followed the install instructions at http://www.cacti.net/downloads/docs/htm ... _unix.html? When running the latest cactid poller, you must replace all perl calls by /full/path/to/perl.
If nothing helps, please login as cactiuser, cd to cacti's directory and run and watch out for errors
Reinhard
If nothing helps, please login as cactiuser, cd to cacti's directory and run
Code: Select all
php poller.php
Reinhard
Well... i lied.
I thought it was working, but really it only displayed the information from when I ran poller.php from the command line. It appears that poller.php and ping.pl are not being periodocally ran to update my rdd files. Where can I check this? Under Collection Methods?
thanks
I thought it was working, but really it only displayed the information from when I ran poller.php from the command line. It appears that poller.php and ping.pl are not being periodocally ran to update my rdd files. Where can I check this? Under Collection Methods?
thanks
- Attachments
-
- mydump.jpg (164.2 KiB) Viewed 2143 times
Who is online
Users browsing this forum: No registered users and 0 guests