bundles: remove telegraf metrics from systemd-networkd and icinga2
This commit is contained in:
parent
3b1d1f7e94
commit
40160fb25a
2 changed files with 0 additions and 48 deletions
|
@ -74,27 +74,6 @@ defaults = {
|
|||
},
|
||||
}
|
||||
|
||||
if node.has_bundle('telegraf'):
|
||||
defaults['icinga2']['api_users']['telegraf'] = {
|
||||
'password': repo.vault.password_for(f'{node.name} icinga2 api telegraf'),
|
||||
'permissions': {
|
||||
'objects/query/Service',
|
||||
},
|
||||
}
|
||||
|
||||
defaults['telegraf'] = {
|
||||
'input_plugins': {
|
||||
'builtin': {
|
||||
'icinga2': [{
|
||||
'server': 'https://127.0.0.1:5665',
|
||||
'object_type': 'services',
|
||||
'username': 'telegraf',
|
||||
'password': repo.vault.password_for(f'{node.name} icinga2 api telegraf'),
|
||||
'insecure_skip_verify': True,
|
||||
}],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@metadata_reactor.provides(
|
||||
'icinga2/icinga_users',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue