From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 3/7] graphs.pl: Update to names used by collectd-5.x Date: Wed, 25 Dec 2024 14:48:24 +0100 Message-ID: <20241225134828.6231-3-adolf.belka@ipfire.org> In-Reply-To: <20241225134828.6231-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4059237961035554694==" List-Id: --===============4059237961035554694== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Tested-by: Adolf Belka Signed-off-by: Adolf Belka --- config/cfgroot/graphs.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl index f07214cf8..51292540e 100644 --- a/config/cfgroot/graphs.pl +++ b/config/cfgroot/graphs.pl @@ -457,8 +457,8 @@ sub updateifgraph { "--color=3DSHADEA".$color{"color19"}, "--color=3DSHADEB".$color{"color19"}, "--color=3DBACK".$color{"color21"}, - "DEF:incoming=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/interface/i= f_octets-".$interface.".rrd:rx:AVERAGE", - "DEF:outgoing=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/interface/i= f_octets-".$interface.".rrd:tx:AVERAGE", + "DEF:incoming=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/interface-"= .$interface."/if_octets.rrd:rx:AVERAGE", + "DEF:outgoing=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/interface-"= .$interface."/if_octets.rrd:tx:AVERAGE", "CDEF:outgoingn=3Doutgoing,-1,*", "COMMENT:".sprintf("%-20s",$Lang::tr{'caption'}), "COMMENT:".sprintf("%15s",$Lang::tr{'maximal'}), @@ -757,7 +757,7 @@ sub updatepinggraph { "--color=3DSHADEA".$color{"color19"}, "--color=3DSHADEB".$color{"color19"}, "--color=3DBACK".$color{"color21"}, - "DEF:roundtrip=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/ping/ping-= ".$host.".rrd:ping:AVERAGE", + "DEF:roundtrip=3D".$mainsettings{'RRDLOG'}."/collectd/localhost/ping/ping-= ".$host.".rrd:value:AVERAGE", "COMMENT:".sprintf("%-20s",$Lang::tr{'caption'})."\\j", "CDEF:roundavg=3Droundtrip,PREV(roundtrip),+,2,/", "CDEF:r0=3Droundtrip,30,MIN", @@ -1173,7 +1173,7 @@ sub updateconntrackgraph { "-r", "--lower-limit","0", "-v $Lang::tr{'open connections'}", - "DEF:conntrack=3D$mainsettings{'RRDLOG'}/collectd/localhost/conntrack/conn= track.rrd:entropy:AVERAGE", + "DEF:conntrack=3D$mainsettings{'RRDLOG'}/collectd/localhost/conntrack/conn= track.rrd:value:AVERAGE", "LINE3:conntrack#ff0000:" . sprintf("%-15s", $Lang::tr{'open connections'}= ), "VDEF:ctmin=3Dconntrack,MINIMUM", "VDEF:ctmax=3Dconntrack,MAXIMUM", --=20 2.47.1 --===============4059237961035554694==--