GRAPHING ONLY IN OUTBOUND DIRECTION
Moderators: Developers, Moderators
GRAPHING ONLY IN OUTBOUND DIRECTION
Hello,
I have a problem with one of my graphs graphing in only one direction-OUTBOUND, but not graphing in the INBOUND direction. Anybody knows how to solve this? Any help is appreciated.
Sammy.
I have a problem with one of my graphs graphing in only one direction-OUTBOUND, but not graphing in the INBOUND direction. Anybody knows how to solve this? Any help is appreciated.
Sammy.
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
Look at the data being fed into the RRD file (use the graph debug options). If that does not hold the data you are expecting, use SNMPWALK to check that the values are actually being returned by the device in question.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 39
- Joined: Fri Mar 18, 2016 8:49 am
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
Look on the device, what is the actual traffic on the interface. Is there really two way traffic on the interface or is the traffic one way? If the traffic is two way what is the value?
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
Hi. There is 2 way traffic. The device on the other end of the connection indicates there is traffic in both inbound and outbound directions. I am doing a peak of 9.7 Gig on the other side in outbound direction, but none is seen in the inbound direction of the device in question.
-
- Posts: 39
- Joined: Fri Mar 18, 2016 8:49 am
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
can you provide a screen shot of the graph for both sides of the link? Also, do you know how to check the max value of the rrd file?
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
Hi. The graphs are attached. Actually, I do not know how to check max RRD value. Open to any guidance. Thanks.
- Attachments
-
- Graphing_wrong.png (25.58 KiB) Viewed 1079 times
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
Correctly graphing...
- Attachments
-
- Graphing_well.PNG (24.3 KiB) Viewed 1079 times
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
When you are under Console -> Management -> Graphs -> Edit Graph there is a Turn On Graph Debug option top right. That will give you a whole set of information.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
Hi. Below is the output from graph debug.
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='pk - lag pvc 1158 Traffic - traf' \
--rigid \
--base=1000 \
--height=200 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/usr/share/cacti/site/rra/pk_traffic_in_3083.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/pk_traffic_in_3083.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
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='pk - lag pvc 1158 Traffic - traf' \
--rigid \
--base=1000 \
--height=200 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/usr/share/cacti/site/rra/pk_traffic_in_3083.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/pk_traffic_in_3083.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
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
OK so the definition looks OK. What is in the actual data? Use the Cog icon next to the displayed graph on the graphs tab.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
Hi. Do you mean the 'spanner' icon?
- Attachments
-
- Sample.PNG (28.03 KiB) Viewed 1065 times
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
Ah, did I miss that you are running an older version of Cacti?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
I am using Version 0.8.7i
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
From the 'spanner' icon, I get the below output...
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1524981090 \
--end=1525067490 \
--title='lag pvc 1158 Traffic - ' \
--rigid \
--base=1000 \
--height=200 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2018/04/29 08\:51\:30 To 2018/04/30 08\:51\:30\c" \
COMMENT:" \n" \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/usr/share/cacti/site/rra/pksepg01_traffic_in_3083.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/pksepg01_traffic_in_3083.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"
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1524981090 \
--end=1525067490 \
--title='lag pvc 1158 Traffic - ' \
--rigid \
--base=1000 \
--height=200 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2018/04/29 08\:51\:30 To 2018/04/30 08\:51\:30\c" \
COMMENT:" \n" \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/usr/share/cacti/site/rra/pksepg01_traffic_in_3083.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/pksepg01_traffic_in_3083.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"
Re: GRAPHING ONLY IN OUTBOUND DIRECTION
Ah, if you are saying that it's a spanner, then you must be running a pre-1.x version of Cacti.
That means you would have to manually look at the data, etc. I'm not even sure if that version has device debugging which would give you more information as it's polling.
That means you would have to manually look at the data, etc. I'm not even sure if that version has device debugging which would give you more information as it's polling.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 1 guest