mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-04 14:26:13 -04:00
net-mgmt/telegraf: release 1.5.1
This commit is contained in:
parent
a254e1744c
commit
72071b7dc5
4 changed files with 6 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
PLUGIN_NAME= telegraf
|
||||
PLUGIN_VERSION= 1.5.0
|
||||
PLUGIN_VERSION= 1.5.1
|
||||
PLUGIN_COMMENT= Agent for collecting metrics and data
|
||||
PLUGIN_DEPENDS= telegraf
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
|
|
|||
|
|
@ -38,7 +38,9 @@
|
|||
<field>
|
||||
<id>input.disk_ignore_fs</id>
|
||||
<label>Disk Ignore FS</label>
|
||||
<type>text</type>
|
||||
<style>tokenize</style>
|
||||
<type>select_multiple</type>
|
||||
<allownew>true</allownew>
|
||||
<help>Ignore some mountpoints by filesystem type. For example (dev)tmpfs (usually present on /run, /var/run, /dev/shm or /dev).</help>
|
||||
</field>
|
||||
<field>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
<default></default>
|
||||
<Required>N</Required>
|
||||
</disk_mount_points>
|
||||
<disk_ignore_fs type="TextField">
|
||||
<disk_ignore_fs type="CSVListField">
|
||||
<default></default>
|
||||
<Required>N</Required>
|
||||
</disk_ignore_fs>
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@
|
|||
mount_points = ["{{ OPNsense.telegraf.input.disk_mount_points }}"]
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.telegraf.input.disk_ignore_fs') and OPNsense.telegraf.input.disk_ignore_fs != '' %}
|
||||
ignore_fs = ["{{ OPNsense.telegraf.input.disk_ignore_fs }}"]
|
||||
ignore_fs = [{{ "'" + ("','".join(OPNsense.telegraf.input.disk_ignore_fs.split(','))) + "'" }}]
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue