Incorrect graph data?

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

Moderators: Developers, Moderators

Post Reply
jordanr
Posts: 5
Joined: Tue May 13, 2008 1:17 am

Incorrect graph data?

Post by jordanr »

Hi All,

I'm new to cacti, have just set it up with three hosts and with great thanks to these forums - am now graphing what I need to.

However some of the data is definitely wrong, and because of that I can't trust any of it. Can anyone tell me how I can check to ensure values are correct, and if not, fix it so they are? I will attach a picture of all graphs for one host (all three hosts have the same graphs) inline.

I am using:

Debian Etch/Lenny
Cacti 0.8.7b
Net-snmp 5.2.3-7

Any help is greatly appreciated.

Cheers
Attachments
cacti_graphs.JPG
cacti_graphs.JPG (360.8 KiB) Viewed 3428 times
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Post by kanada »

I think you use UNIX* Graph Templates for all of that three hosts.
On one (localhost) works fine, couse UNIX* Templates you can only use to the local machine.
To monitor remote hosts use other like ucd-net or Host MIB Graph Templates.

Regards,
Alex.
jordanr
Posts: 5
Joined: Tue May 13, 2008 1:17 am

Post by jordanr »

Cheers for the tip Alex, however I've added all these graphs using ucd/net (I believe).
vpnnav
Posts: 16
Joined: Thu May 15, 2008 6:23 pm

Re: Incorrect graph data?

Post by vpnnav »

jordanr wrote:Hi All,

I'm new to cacti, have just set it up with three hosts and with great thanks to these forums - am now graphing what I need to.

However some of the data is definitely wrong, and because of that I can't trust any of it. Can anyone tell me how I can check to ensure values are correct, and if not, fix it so they are? I will attach a picture of all graphs for one host (all three hosts have the same graphs) inline.

I am using:

Debian Etch/Lenny
Cacti 0.8.7b
Net-snmp 5.2.3-7

Any help is greatly appreciated.

Cheers
Hi jordanr!
please let me see your configure file to graph traffic. I don't know why I don't graph anymore .
thanks alot
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Re: Incorrect graph data?

Post by kanada »

vpnnav wrote:
Hi jordanr!
please let me see your configure file to graph traffic. I don't know why I don't graph anymore .
thanks alot
Enable debug mode in cacti and look what will tell you.

Alex.
vpnnav
Posts: 16
Joined: Thu May 15, 2008 6:23 pm

Re: Incorrect graph data?

Post by vpnnav »

kanada wrote:
vpnnav wrote:
Hi jordanr!
please let me see your configure file to graph traffic. I don't know why I don't graph anymore .
thanks alot
Enable debug mode in cacti and look what will tell you.

Alex.
host_A_lap - Memory Usage
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="host_A_lap - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:10: \
--font AXIS:10: \
--font LEGEND:7: \
--font UNIT:10: \
DEF:a="/var/www/html/cacti-0.8.7b/rra/host_a_lap_mem_free_45.rrd":mem_free:AVERAGE \
DEF:b="/var/www/html/cacti-0.8.7b/rra/host_a_lap_mem_buffers_43.rrd":mem_buffers:AVERAGE \
DEF:c="/var/www/html/cacti-0.8.7b/rra/host_a_lap_mem_cache_44.rrd":mem_cache:AVERAGE \
CDEF:cdefa=a,1024,* \
CDEF:cdefe=b,1024,* \
CDEF:cdefi=c,1024,* \
AREA:cdefa#8F005CFF:"Memory Free" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefe#FF5700FF:"Memory Buffers":STACK \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefi#FFC73BFF:"Cache Memory":STACK \
GPRINT:cdefi:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:
Please let me advices ?
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Re: Incorrect graph data?

Post by kanada »

vpnnav wrote:
kanada wrote:
vpnnav wrote:
Hi jordanr!
please let me see your configure file to graph traffic. I don't know why I don't graph anymore .
thanks alot
Enable debug mode in cacti and look what will tell you.

Alex.
host_A_lap - Memory Usage
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="host_A_lap - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:10: \
--font AXIS:10: \
--font LEGEND:7: \
--font UNIT:10: \
DEF:a="/var/www/html/cacti-0.8.7b/rra/host_a_lap_mem_free_45.rrd":mem_free:AVERAGE \
DEF:b="/var/www/html/cacti-0.8.7b/rra/host_a_lap_mem_buffers_43.rrd":mem_buffers:AVERAGE \
DEF:c="/var/www/html/cacti-0.8.7b/rra/host_a_lap_mem_cache_44.rrd":mem_cache:AVERAGE \
CDEF:cdefa=a,1024,* \
CDEF:cdefe=b,1024,* \
CDEF:cdefi=c,1024,* \
AREA:cdefa#8F005CFF:"Memory Free" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefe#FF5700FF:"Memory Buffers":STACK \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" \
AREA:cdefi#FFC73BFF:"Cache Memory":STACK \
GPRINT:cdefi:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:
Please let me advices ?
I see on other post you have a problem with rrdtool, please check what i write there.

Alex.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests