diff options
author | rebortg <github@ghlr.de> | 2024-09-11 14:15:07 +0200 |
---|---|---|
committer | rebortg <github@ghlr.de> | 2024-09-18 22:00:19 +0200 |
commit | a0c15a159e54cb1b6abba7a0a6a0a793a53915d0 (patch) | |
tree | 2e9d106b21c59ec5b866b34197fa5250daae6813 /interface-definitions/service_monitoring_node_exporter.xml.in | |
parent | de8d388c9cf32eb9ef9f38abb2d6ba292f56069f (diff) | |
download | vyos-1x-a0c15a159e54cb1b6abba7a0a6a0a793a53915d0.tar.gz vyos-1x-a0c15a159e54cb1b6abba7a0a6a0a793a53915d0.zip |
T973: add basic node_exporter implementation
Diffstat (limited to 'interface-definitions/service_monitoring_node_exporter.xml.in')
-rw-r--r-- | interface-definitions/service_monitoring_node_exporter.xml.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/interface-definitions/service_monitoring_node_exporter.xml.in b/interface-definitions/service_monitoring_node_exporter.xml.in new file mode 100644 index 000000000..ee6d06d6d --- /dev/null +++ b/interface-definitions/service_monitoring_node_exporter.xml.in @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="service"> + <children> + <node name="monitoring"> + <children> + <node name="node-exporter" owner="${vyos_conf_scripts_dir}/service_monitoring_node-exporter.py"> + <properties> + <help>Prometheus exporter for hardware and operating system metrics</help> + <priority>1280</priority> + </properties> + <children> + #include <include/listen-address.xml.i> + <leafNode name="listen-address"> + <defaultValue>0.0.0.0</defaultValue> + </leafNode> + #include <include/port-number.xml.i> + <leafNode name="port"> + <defaultValue>9100</defaultValue> + </leafNode> + #include <include/interface/vrf.xml.i> + </children> + </node> + </children> + </node> + </children> + </node> +</interfaceDefinition> |