Monitor proxmox stats

This commit is contained in:
Jake Howard 2021-03-05 22:14:21 +00:00
parent d43d3433fa
commit 9d6ed88e13
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 15 additions and 1 deletions

View file

@ -88,7 +88,6 @@
listen = "{{ protected_ip }}:9273"
metric_version = 2
###############################################################################
# INPUT PLUGINS #
###############################################################################
@ -99,3 +98,9 @@
[[inputs.smart]]
use_sudo = true
[[inputs.proxmox]]
base_url = "https://{{ pve_hosts.pve.ip }}:8006/api2/json/"
api_token = "telegraf@pve!telegraf={{ proxmox_telegraf_token }}"
node_name = "pve"
insecure_skip_verify = true

View file

@ -1,2 +1,11 @@
telegraf_configuration_template: files/telegraf.conf
telegraf_aws_tags: false
proxmox_telegraf_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
34646261333165343031323566643738353363393864363035303037653838383038363162346164
6239313461393366373534636539613639623061393231640a613837343731373462666662356563
34343934313165623433646335383064333136343237353030353532653631633635366135336134
3931336436656561350a376137636666633937636134663139326630623761386435653435653338
36643232396361313436666533373737626365633662383239623561373061313636366231636330
3539303065366366323137336432613165336462363330363735