TCP Port Template

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

Moderators: Developers, Moderators

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

Re: TCP Port Template

Post by AndreyMihaylov »

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

Post by AndreyMihaylov »

Solved, After installing Manage Plug-in
rcsmota
Posts: 7
Joined: Fri Sep 08, 2017 6:38 am

Re: TCP Port Template

Post by rcsmota »

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 5537 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 5537 times
Thanks;
Rafid
Posts: 3
Joined: Thu Jan 21, 2021 6:24 am

Re: TCP Port Template

Post by Rafid »

Hi

I have a problem in importing tcp.xml in cacti and getting following error:

IMPORT parse_xml_hash ERROR wrong hash format for hash: name

my cacti version is Version 1.2.15

can any one help me?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests