dpiquet / pve-monitor

pve-monitor is a tool to monitor hypervisor and virtual machines in a proxmox cluster
37 stars 24 forks source link

Error Running from Nagios Server #37

Open nexusguy59 opened 5 years ago

nexusguy59 commented 5 years ago

Hello Everyone, This is my first real swing at this. I got my config set for running the script/plugin: ./pve-monitor.pl --conf pve-monitor.conf --nodes Could not connect to any server

Here is the top of the config file: node pyrit { <- is this a host name or is pyrit a perl process? address 10.x.x.xxx port 8006 # Optional, default is 8006 monitor_account monitor@pve monitor_password P@$$w0rd realm pve # Optional, default is pam mem 80 90 # optional, not monitored if not defined cpu 80 95 # optional disk 80 90 # optional }

Just not sure where to look and fix this issue, Thanks in advance for your help. Michael

MyckeTap commented 5 years ago

it's a great plugin, I was able to get it running in less than 1 hour. Well, pyrit should be your real node from the cluster. So replace it. Have you created in ProxMox a user named monitor? It won't fly, unless you did.