prometheus-pve / prometheus-pve-exporter

Exposes information gathered from Proxmox VE cluster for use by the Prometheus monitoring system
Apache License 2.0
846 stars 100 forks source link

New to Exporter and Prometheus #11

Closed nexusguy59 closed 6 years ago

nexusguy59 commented 6 years ago

Hello Guys,

I have installed the exporter on my Prometheus Server however I am getting a http 500 error during the connect process:

127.0.0.1 - - [28/Feb/2018 09:29:14] "GET /pve?module=default&target=192.168.1.2 HTTP/1.1" 500 - 127.0.0.1 - - [28/Feb/2018 09:29:29] "GET /pve?module=default&target=192.168.1.2 HTTP/1.1" 500 - 127.0.0.1 - - [28/Feb/2018 09:29:44] "GET /pve?module=default&target=192.168.1.2 HTTP/1.1" 500 - 127.0.0.1 - - [28/Feb/2018 09:29:59] "GET /pve?module=default&target=192.168.1.2 HTTP/1.1" 500 - 127.0.0.1 - - [28/Feb/2018 09:30:14] "GET /pve?module=default&target=192.168.1.2 HTTP/1.1" 500 - 127.0.0.1 - - [28/Feb/2018 09:30:29] "GET /pve?module=default&target=192.168.1.2 HTTP/1.1" 500 - 127.0.0.1 - - [28/Feb/2018 09:30:44] "GET /pve?module=default&target=192.168.1.2 HTTP/1.1" 500 -

error in prometheus webui: Get http://127.0.0.1:9221/pve?module=default&target=192.168.1.2: dial tcp 127.0.0.1:9221: getsockopt: connection refused

This is my pve.yml: default: user: prometheus@pam password: sEcr3T! verify_ssl: false

This is my prometheus.yml: #############################################

PVE on Prometheus

Yes this user exists on the promox server and is read only.

Thanks,

znerol commented 6 years ago

Can you check whether this is a dupe of #9 by verifying PR #10

Would be greatly appreciated.

nexusguy59 commented 6 years ago

It does look like it might be....I am new to this so I have no idea how to fix it.

znerol commented 6 years ago

I did merge #10 and released v1.1.1

nexusguy59 commented 6 years ago

Yes you did i reinstalled and it is working now. Thank you and Good Job!

Michael A Cooper Linux & VMWare & Zerto Certified Professional

On Wed, Feb 28, 2018 at 5:33 AM, znerol notifications@github.com wrote:

I did merge #10 https://github.com/znerol/prometheus-pve-exporter/pull/10 and released v1.1.1

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/znerol/prometheus-pve-exporter/issues/11#issuecomment-369197539, or mute the thread https://github.com/notifications/unsubscribe-auth/AEusl5Glzt-hU-NVphWiUvA3GiQ9cfMsks5tZSuFgaJpZM4SWVch .