Newer
Older
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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# License: GNU General Public License v2
# Author: thl-cmk[at]outlook[dot]com
# URL : https://thl-cmk.hopto.org
# Date : 2023-10-16
# File : create_topology_user.toml
#
# contains the user data for create_topology_data.py
#
# list of (additional to -s/--seed-devices) seed devices
SEED_DEVICES = [
"CORE01",
"LOCATION01",
"LOCATION02",
]
# drop neighbours with invalid names
DROP_HOSTS = [
"not advertised",
"a nother invalid name",
]
# topologies will not be deleted by "--keep"
PROTECTED_TOPOLOGIES = [
"2023-10-17T14:08:05.10",
"your_important_topology"
]
# user defined static connections
# connections will be added from host to neighbour and in reverese
# hosts/neighbours in this section will be added to SEED_DEVICES
STATIC_CONNECTIONS = [
["cmk_host1", "local-port1", "neighbour-port1", "neighbour1", "label"],
["cmk_host1", "local-port2", "neighbour-port2", "neighbour2", "label"],
]
# map inventory neighbour name to Checkmk host name
[HOST_MAP]
inventory_neighbour1 = "cmk_host1"
inventory_neighbour2 = "cmk_host2"
inventory_neighbour3 = "cmk_host3"