HELP!! Cacti Not Show Graphs, but RRD tools is OK

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
gowsal
Posts: 3
Joined: Thu Sep 29, 2011 10:52 pm

HELP!! Cacti Not Show Graphs, but RRD tools is OK

Post by gowsal »

RRDTool Command:

c:/xampp/htdocs/cacti/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Router DC Medan - Traffic - Fa0/0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/xampp/htdocs/cacti/rra/router_dc_medan_traffic_in_8.rrd":traffic_in:AVERAGE \
DEF:b="C\:/xampp/htdocs/cacti/rra/router_dc_medan_traffic_in_8.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:

OK

and the cacti log file is the following

10/07/2011 11:27:53 AM - AUTH LOGIN: User 'admin' Authenticated
10/07/2011 11:29:52 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 63171 seconds have passed since the last poll!
10/07/2011 11:49:25 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 1173 seconds have passed since the last poll!
10/07/2011 11:49:27 AM - CMDPHP: Poller[0] Host[4] DS[23] WARNING: Result from CMD not valid. Partial Result: U
10/07/2011 11:49:27 AM - CMDPHP: Poller[0] Host[4] DS[24] WARNING: Result from CMD not valid. Partial Result: U
10/07/2011 11:49:27 AM - CMDPHP: Poller[0] Host[4] DS[25] WARNING: Result from CMD not valid. Partial Result: U
10/07/2011 11:49:27 AM - CMDPHP: Poller[0] Host[4] DS[26] WARNING: Result from CMD not valid. Partial Result: U
10/07/2011 11:49:27 AM - CMDPHP: Poller[0] Host[4] DS[27] WARNING: Result from CMD not valid. Partial Result: U
10/07/2011 11:49:28 AM - SYSTEM STATS: Time:3.3068 Method:cmd.php Processes:2 Threads:N/A Hosts:4 HostsPerProcess:2 DataSources:35 RRDsProcessed:20
10/07/2011 11:49:50 AM - EXPORT STATS: ExportDate:2011-10-07_11:49:50 ExportDuration:19.8438 TotalGraphsExported:114
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: HELP!! Cacti Not Show Graphs, but RRD tools is OK

Post by TheWitness »

Not certain, other than the fact that your poller had not run in quite a while. Maybe you have the scheduled task to run on login or something instead of once every 5 minutes....

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
gowsal
Posts: 3
Joined: Thu Sep 29, 2011 10:52 pm

Re: HELP!! Cacti Not Show Graphs, but RRD tools is OK

Post by gowsal »

So What i should i do ??
I have try to change the poller setting and the schedule task every 10 minutes but the result is still the same..the graphs is stil Nan
and then i change the poller setting and the schedule task back to every 5 minutes still the graphs is Nan..
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: HELP!! Cacti Not Show Graphs, but RRD tools is OK

Post by TheWitness »

Unless you know a lot about Cacti, you MUST stay with the 5 minute, 5 minute setting. Changing the poller interval is an advanced settings. So, do that, and then goto Console->System Utilities->Repopulate Poller Cache.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
gowsal
Posts: 3
Joined: Thu Sep 29, 2011 10:52 pm

Re: HELP!! Cacti Not Show Graphs, but RRD tools is OK

Post by gowsal »

Thank You Witness,
i try to follow your instruction to repopulate poller cache
on Console->System Utilities->Repopulate Poller Cache
but on my cacti Console->System Utilities.......there's no Repopulate Poller Cache
how can i handle this situation?
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: HELP!! Cacti Not Show Graphs, but RRD tools is OK

Post by TheWitness »

Sorry 'Rebuild'. Good luck.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests