Icinga2 und Proxmox

vikozo

Renowned Member
May 4, 2014
781
30
93
suisse
www.wombat.ch
Guten Tag

ich habe ein Icinca2 am laufen und möchte gerne Proxmox überwachen

Dies scheint das passende Plugin zu sein
https://github.com/nbuchwitz/check_pve

Nun möchte ich nicht mit root die abfragen machen sondern ein
monitoring user erstellen.

unter
https://pve.proxmox.com/wiki/User_Management
Real World example

Auditors
You can give read only access to users by assigning the PVEAuditor role to users or groups.

Example1: Allow user joe@pve to see everything

pveum aclmod / -user icinga2monitoring@pve -role PVEAuditor

a) würde das so passen, hat der user genügend rechte für monitoring abfragen?
b) dem user wird kein passwort vergeben?
c) spricht etwas gegen diese überwachung?

vielen Dank für eure Feedbacks
mit freundlichem gruss
Vinc
 
Ich bin jetzt nun wirklich kein ICINGA2 Profi, aber es wird doch wohl möglich sein dem Monitoringuser ein Passwort zu geben.
Des Weiteren wirst du sehen ob der User genug Rechte hat um alles auszuführen. Für das Script benötigt der User meiner Meinung nach sowieso ein Passwort.

Laut Beispiel:
Code:
Check cluster health

./check_pve.py -u <API_USER> -p <API_PASSWORD> -e <API_ENDPOINT> -m cluster
OK - Cluster 'proxmox1' is healthy'

Ich hoffe das hat wenigstens ein wenig weiter geholfen.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!