This repository has been archived on 2024-05-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
checkmk/conf.d/wato/technik/hosts.mk
T

93 lines
4.0 KiB
Makefile

# Created by WATO
# encoding: utf-8
all_hosts += ['epson-xp-8600.realm.local',
'fritz.box',
'switch.realm.local',
'syno.realm.local']
host_tags.update({'epson-xp-8600.realm.local': {'address_family': 'ip-v4-only',
'agent': 'special-agents',
'architecture': 'raspi',
'criticality': 'prod',
'ip-v4': 'ip-v4',
'networking': 'lan',
'os': 'other',
'piggyback': 'auto-piggyback',
'site': 'realm',
'snmp': 'snmp',
'snmp_ds': 'snmp-v2',
'tcp': 'tcp'},
'fritz.box': {'address_family': 'ip-v4-only',
'agent': 'cmk-agent',
'architecture': 'raspi',
'criticality': 'prod',
'ip-v4': 'ip-v4',
'networking': 'lan',
'os': 'other',
'piggyback': 'auto-piggyback',
'site': 'realm',
'snmp_ds': 'no-snmp',
'tcp': 'tcp'},
'switch.realm.local': {'address_family': 'ip-v4-only',
'agent': 'no-agent',
'architecture': 'raspi',
'criticality': 'prod',
'ip-v4': 'ip-v4',
'networking': 'lan',
'os': 'other',
'piggyback': 'auto-piggyback',
'ping': 'ping',
'site': 'realm',
'snmp_ds': 'no-snmp'},
'syno.realm.local': {'address_family': 'ip-v4-only',
'agent': 'cmk-agent',
'architecture': 'x64',
'criticality': 'prod',
'ip-v4': 'ip-v4',
'networking': 'lan',
'os': 'other',
'piggyback': 'auto-piggyback',
'site': 'realm',
'snmp': 'snmp',
'snmp_ds': 'snmp-v2',
'tcp': 'tcp'}})
host_labels.update({})
# Explicit IPv4 addresses
ipaddresses.update({'epson-xp-8600.realm.local': '192.168.0.100',
'fritz.box': '192.168.0.1',
'switch.realm.local': '192.168.0.3',
'syno.realm.local': '192.168.0.40'})
# Explicit SNMP communities
explicit_snmp_communities.update({'epson-xp-8600.realm.local': 'realm.local', 'syno.realm.local': 'realm.local'})
# Host attributes (needed for WATO)
host_attributes.update(
{'epson-xp-8600.realm.local': {'ipaddress': '192.168.0.100',
'meta_data': {'created_at': 1625756176.0,
'created_by': 'caelebfi',
'updated_at': 1649060462.4271598},
'snmp_community': 'realm.local',
'tag_agent': 'special-agents',
'tag_snmp_ds': 'snmp-v2'},
'fritz.box': {'ipaddress': '192.168.0.1',
'meta_data': {'created_at': 1598007013.355116,
'created_by': 'cmkadmin',
'updated_at': 1649060462.4283612}},
'switch.realm.local': {'ipaddress': '192.168.0.3',
'meta_data': {'created_at': 1634659066.8397715,
'created_by': 'caelebfi',
'updated_at': 1649060462.429153},
'tag_agent': 'no-agent'},
'syno.realm.local': {'ipaddress': '192.168.0.40',
'meta_data': {'created_at': 1598008042.0,
'created_by': 'cmkadmin',
'updated_at': 1649060462.4299035},
'snmp_community': 'realm.local',
'tag_agent': 'cmk-agent',
'tag_architecture': 'x64',
'tag_snmp_ds': 'snmp-v2'}})