mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Adding NIC statistics collection and reporting (#348)
This commit is contained in:
committed by
Franco Fichtner
parent
3e3f49763c
commit
edd914313f
@@ -1,5 +1,5 @@
|
||||
PLUGIN_NAME= telegraf
|
||||
PLUGIN_VERSION= 1.0
|
||||
PLUGIN_VERSION= 1.1
|
||||
PLUGIN_COMMENT= Agent for collecting metrics and data
|
||||
PLUGIN_DEPENDS= telegraf
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
||||
@@ -71,4 +71,10 @@
|
||||
<type>checkbox</type>
|
||||
<help>Read metrics about system load and uptime.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>input.network</id>
|
||||
<label>Network</label>
|
||||
<type>checkbox</type>
|
||||
<help>Read network interface metrics.</help>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
@@ -51,5 +51,9 @@
|
||||
<default>1</default>
|
||||
<Required>N</Required>
|
||||
</system>
|
||||
<network type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
</network>
|
||||
</items>
|
||||
</model>
|
||||
|
||||
@@ -106,4 +106,8 @@
|
||||
[[inputs.system]]
|
||||
{% endif %}
|
||||
|
||||
{% if helpers.exists('OPNsense.telegraf.input.network') and OPNsense.telegraf.input.network == '1' %}
|
||||
[[inputs.net]]
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user