From: Adolf Belka <adolf.belka@ipfire.org>
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 [thread overview]
Message-ID: <20241225134828.6231-3-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20241225134828.6231-1-adolf.belka@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 2154 bytes --]
Tested-by: Adolf Belka <adolf.belka(a)ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
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=SHADEA".$color{"color19"},
"--color=SHADEB".$color{"color19"},
"--color=BACK".$color{"color21"},
- "DEF:incoming=".$mainsettings{'RRDLOG'}."/collectd/localhost/interface/if_octets-".$interface.".rrd:rx:AVERAGE",
- "DEF:outgoing=".$mainsettings{'RRDLOG'}."/collectd/localhost/interface/if_octets-".$interface.".rrd:tx:AVERAGE",
+ "DEF:incoming=".$mainsettings{'RRDLOG'}."/collectd/localhost/interface-".$interface."/if_octets.rrd:rx:AVERAGE",
+ "DEF:outgoing=".$mainsettings{'RRDLOG'}."/collectd/localhost/interface-".$interface."/if_octets.rrd:tx:AVERAGE",
"CDEF:outgoingn=outgoing,-1,*",
"COMMENT:".sprintf("%-20s",$Lang::tr{'caption'}),
"COMMENT:".sprintf("%15s",$Lang::tr{'maximal'}),
@@ -757,7 +757,7 @@ sub updatepinggraph {
"--color=SHADEA".$color{"color19"},
"--color=SHADEB".$color{"color19"},
"--color=BACK".$color{"color21"},
- "DEF:roundtrip=".$mainsettings{'RRDLOG'}."/collectd/localhost/ping/ping-".$host.".rrd:ping:AVERAGE",
+ "DEF:roundtrip=".$mainsettings{'RRDLOG'}."/collectd/localhost/ping/ping-".$host.".rrd:value:AVERAGE",
"COMMENT:".sprintf("%-20s",$Lang::tr{'caption'})."\\j",
"CDEF:roundavg=roundtrip,PREV(roundtrip),+,2,/",
"CDEF:r0=roundtrip,30,MIN",
@@ -1173,7 +1173,7 @@ sub updateconntrackgraph {
"-r",
"--lower-limit","0",
"-v $Lang::tr{'open connections'}",
- "DEF:conntrack=$mainsettings{'RRDLOG'}/collectd/localhost/conntrack/conntrack.rrd:entropy:AVERAGE",
+ "DEF:conntrack=$mainsettings{'RRDLOG'}/collectd/localhost/conntrack/conntrack.rrd:value:AVERAGE",
"LINE3:conntrack#ff0000:" . sprintf("%-15s", $Lang::tr{'open connections'}),
"VDEF:ctmin=conntrack,MINIMUM",
"VDEF:ctmax=conntrack,MAXIMUM",
--
2.47.1
next prev parent reply other threads:[~2024-12-25 13:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-25 13:48 [PATCH 1/7] collectd: Update to version 5.12.0 Adolf Belka
2024-12-25 13:48 ` [PATCH 2/7] collectd: Removal of old patches that are no longer needed Adolf Belka
2024-12-25 13:48 ` Adolf Belka [this message]
2024-12-25 13:48 ` [PATCH 4/7] backup.pl: Update to migrate rrd directories for collectd-5.x Adolf Belka
2024-12-25 13:48 ` [PATCH 5/7] update.sh: " Adolf Belka
2024-12-25 13:48 ` [PATCH 6/7] make.sh: Change of position for nut and dependant programs Adolf Belka
2024-12-25 13:48 ` [PATCH 7/7] nut: Update to enable collectd to find the nut files Adolf Belka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241225134828.6231-3-adolf.belka@ipfire.org \
--to=adolf.belka@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox