RRD file existed, graph created but not display anything.

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
AmkBorin
Posts: 3
Joined: Sun Aug 14, 2011 11:52 pm

RRD file existed, graph created but not display anything.

Post by AmkBorin »

Dear All Experts,

I have just done with new cacti installation.

======================
My Cacti Info:

Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.4.3
RRDTool Version RRDTool 1.4.x
PHP Version 5.3.5-1ubuntu7.2
Apache Version Apache/2.2.17 (Ubuntu)

Hosts 8
Graphs 42
Data Sources Script/Command: 6
SNMP Query: 37
Total: 43

Interval 60
Type cmd.php
==========================

After installed, everything seem to work fine. The only thing that strange is: graph which I created from the device that I choose Downed Device Detection: Ping and Ping Method: ICMP Ping are not draw any line graph on it.

Here is the graph:
Image

Here is graph debug message:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='KPT - Ping Latency' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='milliseconds' \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/kpt_ping_91.rrd":ping:AVERAGE \
AREA:a#FFF200FF:"202.47.104.219" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
OK

===============================
Message in the log:

08/15/2011 01:17:28 PM - CMDPHP: Poller[0] Host[34] DS[91] WARNING: Result from CMD not valid. Partial Result: U

-----------------------------------
It is really strange for latest version of cacti which having problem with this as I used to work with it in old version (0.8.7e) well.

So please help me. I am waiting so much for all your kindly help and responses.

Fully respected.

Borin.
AmkBorin
Posts: 3
Joined: Sun Aug 14, 2011 11:52 pm

Re: RRD file existed, graph created but not display anything

Post by AmkBorin »

anybody could help me find out the root cause? and give me solution to fixed my problem.
All your kindly help are appreciated.

Borin
shahab
Posts: 8
Joined: Fri Jul 01, 2011 1:19 pm

Re: RRD file existed, graph created but not display anything

Post by shahab »

see if poller.php is set in cront tab
AmkBorin
Posts: 3
Joined: Sun Aug 14, 2011 11:52 pm

Re: RRD file existed, graph created but not display anything

Post by AmkBorin »

Thanks for your response and sorry for late to reply as I was out of my office for a while to province.

I think it is there, but crontab was in the different place from my previous installation while I configure it through cacti.net
But after I found new link, http://marcinbrzeski.blogspot.com/2011/ ... buntu.html
I could make Cacti up and running like before but some location of configuration are store in different place.

For example: new crontab location is store in /etc/cron.d/cacti with content below:

MAILTO=root
*/1 * * * * www-data php /usr/share/cacti/site/poller.php >/dev/null 2>/var/log/cacti/poller-error.log

So poller.php is in crontab. But problem still existed, Any idea?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests