feat(proxmox): pvesh-basierter exec-Input statt inputs.proxmox (kein Token/ACL noetig)
This commit is contained in:
1 parent
2cee9ff8a3
commit
72756babae
3 files changed
+90
-2
No files matched your search
@@ -17,3 +17,18 @@
|
||||
response_timeout = "20s"
|
||||
# vmid und status als Tags: sonst sind VM-Metriken nicht pro Gast zuordenbar
|
||||
additional_vmstats_tags = ["vmid", "status"]
|
||||
|
||||
# ============================================================
|
||||
# EMPFOHLEN: Metriken direkt per pvesh (kein Token, keine ACL)
|
||||
# Läuft als root auf dem PVE-Knoten. Der Installer aktiviert das automatisch
|
||||
# mit --role proxmox, wenn pvesh vorhanden ist.
|
||||
#
|
||||
# Warum nicht inputs.proxmox? Das Plugin fragt zuerst /nodes/<node>/dns ab und
|
||||
# braucht dort Sys.Audit. Schlägt das fehl, liefert es KOMPLETT nichts —
|
||||
# ohne Logmeldung. Der pvesh-Weg umgeht die gesamte Rechte-Thematik.
|
||||
# ============================================================
|
||||
[[inputs.exec]]
|
||||
interval = "30s"
|
||||
timeout = "25s"
|
||||
data_format = "prometheus"
|
||||
commands = ["/etc/telegraf/proxmox-ve.sh"]
|
||||
Reference in new issue
Block a user