Cacti gets data but does not show a graph

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

Moderators: Developers, Moderators

Post Reply
SveTel
Posts: 4
Joined: Tue Jun 13, 2017 2:19 am
Location: Germany

Cacti gets data but does not show a graph

Post by SveTel »

Hello,
I have a problem with Cacti and monitoring the call load of a Squire MG1000.
I have created a graph using the SNMP Generic OID template. In the graph overview, I also see data for current, average and maximum calls but no graph for the calls of the MG1000.
When I create a CSV export of the graph, the exported file is also empty. It looks like that Cacti stores the data nowhere to create a graph.

RRDTool Command:

Code: Select all

/bin/rrdtool graph - \
--imgformat=PNG \
--start='-180000' \
--end='-300' \
--pango-markup  \
--title='squire MG1000 - squire_current_calls' \
--slope-mode \
--base=1000 \
--height=120 \
--width=500 \
--tabwidth '30' \
--alt-autoscale-max \
--lower-limit='0' \
--border 1 --slope-mode \
--watermark 'Copyright (C) 2004-2017 The Cacti Group' \
DEF:a='/usr/share/cacti/rra/squire_mg1000_snmp_oid_125.rrd':'snmp_oid':LAST \
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

If I go to the squire MG1000 at the device menu, I get a "ICMP ping Timed out" error.
Can this be related to the problem?

thank you in advance
Sven
Attachments
graph view
graph view
2017-06-12 10_13_22-Console -_ Graph Management -_ (Edit).png (11.7 KiB) Viewed 981 times
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Cacti gets data but does not show a graph

Post by paulgevers »

SveTel wrote:If I go to the squire MG1000 at the device menu, I get a "ICMP ping Timed out" error.
If cacti can't probe the device, it can't report anything.
SveTel wrote:RRDTool Says: OK
just means that RRDTool can read the data file and create the plot.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
SveTel
Posts: 4
Joined: Tue Jun 13, 2017 2:19 am
Location: Germany

Re: Cacti gets data but does not show a graph

Post by SveTel »

thanks for your answer,

I have found the reason,
at the graph template I had to change the consolidation function of the Area Graph Item from AVERAGE to LAST.

Now I get a complete graph shown.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests