Code Monkey home page Code Monkey logo

veeam_exporter's Issues

ModuleNotFoundERror

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

HTTPBasicAuth

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

Missing vm on jobs

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?

exporter just crashes

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

Veeam EM Version

Which versions of Veeam Enterprise Manager are supported?

I am using version 12 and I think the metrics that exist are not compatible.

Secure Credentials?

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

Missing metrics veeam_em_jobs_*

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

Issue with urllib3 on RHEL 7.9

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.