blob: 740900f1ff83124e6eaf9eafce47ceb6ed74418d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
<?xml version="1.0"?>
<interfaceDefinition>
<node name="service">
<children>
<node name="monitoring">
<children>
<node name="prometheus" owner="${vyos_conf_scripts_dir}/service_monitoring_prometheus.py">
<properties>
<help>Prometheus metric exporter</help>
<priority>1280</priority>
</properties>
<children>
<node name="node-exporter">
<properties>
<help>Prometheus exporter for hardware and operating system metrics</help>
</properties>
<children>
#include <include/listen-address.xml.i>
#include <include/port-number.xml.i>
<leafNode name="port">
<defaultValue>9100</defaultValue>
</leafNode>
#include <include/interface/vrf.xml.i>
</children>
</node>
<node name="frr-exporter">
<properties>
<help>Prometheus exporter for FRR metrics</help>
</properties>
<children>
#include <include/listen-address.xml.i>
#include <include/port-number.xml.i>
<leafNode name="port">
<defaultValue>9342</defaultValue>
</leafNode>
#include <include/interface/vrf.xml.i>
</children>
</node>
<node name="blackbox-exporter">
<properties>
<help>Prometheus exporter for probing endpoints</help>
</properties>
<children>
#include <include/listen-address.xml.i>
#include <include/port-number.xml.i>
<leafNode name="port">
<defaultValue>9115</defaultValue>
</leafNode>
#include <include/interface/vrf.xml.i>
<node name="modules">
<properties>
<help>Configure blackbox exporter modules</help>
</properties>
<children>
<node name="dns">
<properties>
<help>Configure dns module</help>
</properties>
<children>
<tagNode name="name">
<properties>
<help>Name of the dns module</help>
</properties>
<children>
<leafNode name="query-name">
<properties>
<help>Name to be queried</help>
<constraint>
<validator name="fqdn"/>
</constraint>
</properties>
</leafNode>
<leafNode name="query-type">
<properties>
<help>DNS query type</help>
<valueHelp>
<format>ANY</format>
<description>Query any DNS record</description>
</valueHelp>
<valueHelp>
<format>A</format>
<description>Query IPv4 address record</description>
</valueHelp>
<valueHelp>
<format>AAAA</format>
<description>Query IPv6 address record</description>
</valueHelp>
</properties>
<defaultValue>ANY</defaultValue>
</leafNode>
#include <include/monitoring/blackbox-exporter-module-commons.xml.i>
</children>
</tagNode>
</children>
</node>
<node name="icmp">
<properties>
<help>Configure icmp module</help>
</properties>
<children>
<tagNode name="name">
<properties>
<help>Name of the icmp module</help>
</properties>
<children>
#include <include/monitoring/blackbox-exporter-module-commons.xml.i>
</children>
</tagNode>
</children>
</node>
</children>
</node>
</children>
</node>
</children>
</node>
</children>
</node>
</children>
</node>
</interfaceDefinition>
|