Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Mon May 21, 2012 9:09 am


ATTENTION: All users passwords have been cleared.
Please use the "Forgot Password" feature to reset your password.


All times are UTC - 5 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: No Graphs!! Plenty of rdds, but no graphs
PostPosted: Tue May 19, 2009 8:41 am 
Offline

Joined: Tue May 19, 2009 8:36 am
Posts: 8
I have searched all day and can not find any help online. I have found that folks that have problems displaying graphs, have not rdds. I have rrds just not a single graph, just the little default gif instead.

Any Help or comment will be appreciated.
Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 19, 2009 2:41 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 20544
Location: Muenster, Germany
A screenshot, please
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 19, 2009 2:51 pm 
Offline

Joined: Tue May 19, 2009 8:36 am
Posts: 8
Screen Shot


Attachments:
ss.GIF
ss.GIF [ 49.9 KiB | Viewed 3112 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Tue May 19, 2009 2:52 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 20544
Location: Muenster, Germany
What happens, when selecting any of those broken images? Which version of cacti and rrdtool are used?
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 19, 2009 3:06 pm 
Offline

Joined: Tue May 19, 2009 8:36 am
Posts: 8
When I select a graphic is goes into the daily, weekly, monthly... images. More of the same though. I can zoom in but naturally there is nothing there.


Attachments:
ver.GIF
ver.GIF [ 32.58 KiB | Viewed 3109 times ]
follow.GIF
follow.GIF [ 20.56 KiB | Viewed 3109 times ]
Top
 Profile  
 
 Post subject: logfile truncated....
PostPosted: Tue May 19, 2009 3:20 pm 
Offline

Joined: Tue May 19, 2009 8:36 am
Posts: 8
Quote:
Log File [Total Lines: 28 - All Items Shown]
05/19/2009 05:18:02 PM - SYSTEM STATS: Time:1.1129 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:1 RRDsProcessed:1
05/19/2009 05:18:02 PM - POLLER: Poller[0] CACTI2RRD: /bin/rrdtool update /usr/local/apache2/htdocs/dcfnetdev/cacti/rra/3/71.rrd --template load_1min:load_5min:load_15min 1242767881:0.08:0.16:0.16
05/19/2009 05:18:02 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.16' [map 10min->load_15min]
05/19/2009 05:18:02 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.16' [map 5min->load_5min]
05/19/2009 05:18:02 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.08' [map 1min->load_1min]
05/19/2009 05:18:01 PM - CMDPHP: Poller[0] Time: 0.0131 s, Theads: N/A, Hosts: 1
05/19/2009 05:18:01 PM - CMDPHP: Poller[0] Host[3] DS[71] CMD: perl /usr/local/apache2/htdocs/dcfnetdev/cacti/scripts/loadavg_multi.pl, output: 1min:0.08 5min:0.16 10min:0.16
05/19/2009 05:18:01 PM - CMDPHP: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex cache for 'x.x.x.x'.
05/19/2009 05:18:01 PM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP

05/19/2009 05:18:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/usr/local/apache2/htdocs/dcfnetdev/cacti/cmd.php" 0 3]
05/19/2009 05:18:01 PM - POLLER: Poller[0] NOTE: Poller Int: '60', Cron Int: '60', Time Since Last: '59', Max Runtime '58', Poller Runs: '1'

05/19/2009 05:17:43 PM - WEBLOG: Poller[0] CACTI2RRD: /bin/rrdtool graph - --imgformat=PNG --start=1242681463 --end=1242767863 --title="localhost - Logged in Users" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2009-05-18 17\:17\:43 To 2009-05-19 17\:17\:43\c" COMMENT:" \n" --vertical-label="users" --slope-mode --font TITLE:12: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="/usr/local/apache2/htdocs/dcfnetdev/cacti/rra/3/72.rrd":users:AVERAGE AREA:a#4668E4FF:"Users" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n"

05/19/2009 05:17:43 PM - WEBLOG: Poller[0] CACTI2RRD: /bin/rrdtool graph - --imgformat=PNG --start=1242681463 --end=1242767863 --title="localhost - Processes" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2009-05-18 17\:17\:43 To 2009-05-19 17\:17\:43\c" COMMENT:" \n" --vertical-label="processes" --slope-mode --font TITLE:12: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="rra/3/73.rrd":proc:AVERAGE AREA:a#F51D30FF:"Running Processes" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n"
[/quote]


Top
 Profile  
 
 Post subject: I quit
PostPosted: Wed May 20, 2009 10:33 am 
Offline

Joined: Tue May 19, 2009 8:36 am
Posts: 8
I guess since I am getting little assistance from the developers, I am going to give it up. I have spent too much time on something that does not deliver. Audios


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 20, 2009 10:47 am 
Offline

Joined: Tue Nov 14, 2006 7:07 am
Posts: 45
Were there any errors posted in your apache log files? Are you using SELinux? What are the permissions on the RRD files? ( for example /usr/local/apache2/htdocs/dcfnetdev/cacti/rra/3/71.rrd )


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 20, 2009 10:52 am 
Offline

Joined: Tue May 19, 2009 8:36 am
Posts: 8
No errors in the apache log file; Selinux is disabled; I mad the permisions on the rdds 777 to see if that was the problem, and they belong to the catiuser.catiuser owner and group. This is why it is so hard for me to figure out because there are not errors in any logs that I can see. I do have another virtual server running on apache and it can deliver png files with no problem. If it were and AddType problem I would see it in the apache logs. Still stumped!?!


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 20, 2009 2:38 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 20544
Location: Muenster, Germany
Logging in as "cactiuser" and running
Code:
/bin/rrdtool graph /tmp/cacti.png --imgformat=PNG --start=1242681463 --end=1242767863 --title="localhost - Logged in Users" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2009-05-18 17\:17\:43 To 2009-05-19 17\:17\:43\c" COMMENT:" \n" --vertical-label="users" --slope-mode --font TITLE:12: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="/usr/local/apache2/htdocs/dcfnetdev/cacti/rra/3/72.rrd":users:AVERAGE AREA:a#4668E4FF:"Users" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n"
gives a nice image? Or errors?
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 20, 2009 3:10 pm 
Offline

Joined: Tue May 19, 2009 8:36 am
Posts: 8
I get an error:
Segmentation fault


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 22, 2009 2:13 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 20544
Location: Muenster, Germany
In this case, your rrdtool is broken.
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Thanks for you help! I have graphs
PostPosted: Sun May 24, 2009 10:05 am 
Offline

Joined: Tue May 19, 2009 8:36 am
Posts: 8
I had rrdtool version 1.3.2 and when I ran the command above it through an error segmentation fault. I did not however see any error from cacti. It would have been a lot easier to trouble shoot if I did. I upgraded rrdtool to version 1.3.8, changed the cacti path and magic, I have graphs. Thanks for all the help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group