TCP Port Template

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Author
Message
AndreyMihaylov
Posts: 3
Joined: Sun Nov 15, 2015 11:42 am

Re: TCP Port Template

#31 Post by AndreyMihaylov » Mon Nov 16, 2015 4:04 am

orchius wrote:This attachment is latest bug fixed TCP port template.
Enjoy! :)
Hello first i would like to thank you for this useful template. I use it for a long time and everything works fine until today. When I creating a new graph TCP template does not make any RRD files yet. Another templates makes graphs fine. My RRA folder have 777 permissions. I try to update with lastest version but i have not changes.

Data Source Debug

/usr/bin/rrdtool create \
/usr/share/cacti/site/rra/freinet_de_tcp_332.rrd \
--step 300 \
DS:TCP:GAUGE:600:0:1 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Freinet.de - TCP State - 143' \
--base=1000 \
--height=200 \
--width=950 \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/usr/share/cacti/site/rra/freinet_de_tcp_332.rrd":'TCP':AVERAGE \
AREA:a#EA8F00FF:"TCP" \
GPRINT:a:LAST:"%8.0lf\n" \
COMMENT:"(1 = Running, 0 = Stopped)"

RRDTool Says:

ERROR: opening '/usr/share/cacti/site/rra/freinet_de_tcp_332.rrd': No such file or directory


Please help me , i try everything from this topic...

AndreyMihaylov
Posts: 3
Joined: Sun Nov 15, 2015 11:42 am

Re: TCP Port Template

#32 Post by AndreyMihaylov » Fri Nov 20, 2015 1:57 am

Solved, After installing Manage Plug-in

rcsmota
Posts: 6
Joined: Fri Sep 08, 2017 6:38 am

Re: TCP Port Template

#33 Post by rcsmota » Thu Jan 31, 2019 9:54 am

Hi,

This template is compatible with Cacti 1.2.1?

After import I recived this result.
Screen Shot 2019-01-31 at 14.50.07.png
Screen Shot 2019-01-31 at 14.50.07.png (38.61 KiB) Viewed 133 times
Running in CLI this is the result
Screen Shot 2019-01-31 at 14.51.23.png
Screen Shot 2019-01-31 at 14.51.23.png (23.27 KiB) Viewed 133 times
Thanks;

Post Reply