[prev in list] [next in list] [prev in thread] [next in thread]
List: collectd
Subject: Re: [collectd] snmp, replace the space by the _ in filenames when write rrd
From: Sergey <a_s_y () sama ! ru>
Date: 2021-11-28 13:55:30
Message-ID: 202111281755.30519.a_s_y () sama ! ru
[Download RAW message or body]
On Sunday 28 November 2021, Sergey wrote:
> Hello.
>
> Some hardware have the space in ifDescr:
>
> IF-MIB::ifDescr.1 = STRING: gigabitethernet 1/0/1
>
> Can I replace it by the _ ? I seems what the target "replace"
> can help me but I can't do it. For example, I tried this:
Hm. I did it:
<Chain "PostCache">
<Rule "replace_space in_name_file">
<Target "replace">
typeinstance " " "_"
</Target>
</Rule>
# Default target
Target "write"
</Chain>
--
Regards,
Sergey
_______________________________________________
collectd mailing list
collectd@verplant.org
https://mailman.verplant.org/listinfo/collectd
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic