peekjef72 / veeam_exporter Goto Github PK
View Code? Open in Web Editor NEWPrometheus exporter for Veeam Entreprise Manager
License: GNU General Public License v3.0
Prometheus exporter for Veeam Entreprise Manager
License: GNU General Public License v3.0
Getting this when trying to run the script.
veeam_exporter]$ /opt/rh/rh-python38/root/usr/bin/python3.8 ./veeam_exporter_cmd -n -v
Traceback (most recent call last):
File "./veeam_exporter_cmd", line 5, in <module>
from veeam_exporter.veeam_exporter import main
File "/opt/monitoring/veeam_exporter/veeam_exporter_src/veeam_exporter/veeam_exporter.py", line 12, in <module>
from veeam_exporter.constants import (PKG_NAME, PKG_VERSION, EXPORTER_CONFIG_NAME)
ModuleNotFoundError: No module named 'veeam_exporter.constants'; 'veeam_exporter' is not a package
When catching the exception requests.RequestException in core_exporter.py, the requests module is referenced but never imported.
Hello, I have all the feedback from the veeam_exporter on my web page: http://hostname.domain:9248/metrics?target=host.domain , but how can I transmit them to prometheus to display them on grafana?
Hi there, this could be something I missed but I am getting this when I run the test:
Login Session Failed 'HTTPBasicAuth' object is not subscriptable
Hello,
After running the template, I notice a No Data in the Backup VMJob Status. All other tables are good except this one.
veeam_em_vmjobs_sessions_state doesn't exist on the export. How can I access the backup status of VMs in jobs?
Hello,
I've discovered your veeam exporter and tried to deploy one on my environment. However, it just crashes at launch, I can't really understand what is wrong in my configuration. Here are some logs ๐
The config file /usr/lib/python3.10/site-packages/veeam_exporter/conf/config.yml has been set, and i run the exporter with this command: python3 veeam_exporter_cmd -n -v
Message: 'veeam_exporter 1.0.6 starting....'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.10/logging/handlers.py", line 983, in emit
self.socket.send(msg)
OSError: [Errno 9] Bad file descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/logging/handlers.py", line 904, in _connect_unixsocket
self.socket.connect(address)
FileNotFoundError: [Errno 2] No such file or directory
Which versions of Veeam Enterprise Manager are supported?
I am using version 12 and I think the metrics that exist are not compatible.
Many thanks for creating this exporter!
I was wondering if it also support pulling data from a single Veeam Backup & Replication server without Enterprise Manager installed? I see that BR also has an API: https://www.veeam.com/veeam_backup_12_0_rest_api_reference_map_ot.pdf
Background: My org only uses a single BR server and introducing EM may result in additional licensing cost.
Kind regards,
Dominik
Greetings Good Sir :)
first of all thank you for this great tool!
I was wondering if you've considered implementing some form of encryption solution instead of storing the credentials in a plain text config?
Or is such an option already available?
Cheers,
Levente
I've some missing metrics in VEEAM like veeam_em_jobs_sessions_retries. Do you have any idea why? Permission problem or VEEAM version?
Thank you
I know I have more to figure out. But the dependency is throwing an error.
veeam_exporter]$ /opt/rh/rh-python38/root/usr/bin/python3.8 ./veeam_exporter_cmd -n -v
/home/ameyer21/.local/lib/python3.8/site-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
veeam_exporter[1153]: level=INFO - veeam_exporter 1.0.6 starting....
veeam_exporter[1153]: level=DEBUG - config is {'veeams': [{'host': 'host.domaine', 'port': 9398, 'user': 'user', 'password': 'password', 'verify_ssl': False, 'timeout': 20}], 'weblisten': {'address': '0.0.0.0', 'port': 9247}, 'logger': {'level': 'info', 'facility': 'syslog'}, 'metrics_file': 'conf/metrics/*_metrics.yml'}
veeam_exporter[1153]: level=ERROR - Connection Exception: Host host.domaine: HTTPSConnectionPool(host='host.domaine', port=9398): Max retries exceeded with url: /api/sessionMngr/?v=latest (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f488558cca0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
veeam_exporter[1153]: level=DEBUG - # HELP veeam_em_up probe success login status: 0 Down / 1 Up
veeam_exporter[1153]: level=DEBUG - # TYPE veeam_em_up gauge
veeam_exporter[1153]: level=DEBUG - veeam_em_up 0.0
veeam_exporter[1153]: level=INFO - veeam_exporter 1.0.6 stopped.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.