Git Product home page Git Product logo

zabbix-proxy-exporter's Introduction

Zabbix Proxy Exporter

Description

Zabbix Proxy Exporter reads into database Zabbix Proxy to retrieve informations.

❗ It works only with SQLite database for now ❗

Prerequisites

You will need Python 3.9+ or later and prometheus-client==0.14.1

Usage

python3 main.py --config=/etc/zabbix/zabbix_proxy.conf

Output

...
# HELP zbx_proxy_history Number of values in the proxy history table waiting to be sent to the server.
# TYPE zbx_proxy_history gauge
zbx_proxy_history{proxy="Zabbix Proxy"} 1123.0
# HELP zbx_proxy_hosts Number of monitored hosts.
# TYPE zbx_proxy_hosts gauge
zbx_proxy_hosts{proxy="Zabbix Proxy"} 16.0
# HELP zbx_items_value_type Number of items group by value_type.
# TYPE zbx_items_value_type gauge
zbx_items_value_type{proxy="Zabbix Proxy",value_type="0"} 284.0
zbx_items_value_type{proxy="Zabbix Proxy",value_type="1"} 2929.0
zbx_items_value_type{proxy="Zabbix Proxy",value_type="3"} 10305.0
zbx_items_value_type{proxy="Zabbix Proxy",value_type="4"} 92.0
# HELP zbx_enabled_items Number of enabled items.
# TYPE zbx_enabled_items gauge
zbx_enabled_items{proxy="Zabbix Proxy"} 12185.0
# HELP zbx_items_by_type Number of items by type.
# TYPE zbx_items_by_type gauge
zbx_items_by_type{proxy="Zabbix Proxy",type="3"} 41.0
zbx_items_by_type{proxy="Zabbix Proxy",type="4"} 12882.0
zbx_items_by_type{proxy="Zabbix Proxy",type="5"} 69.0
zbx_items_by_type{proxy="Zabbix Proxy",type="7"} 223.0
zbx_items_by_type{proxy="Zabbix Proxy",type="10"} 382.0
zbx_items_by_type{proxy="Zabbix Proxy",type="18"} 13.0

✅ TODO

  • Read Zabbix configuration file to connect to the database
  • Get processes informations and other things :)

⭐ Contributing

Feel free to contribute to the project by opening an issue if you find a bug or a pull request to add a feature.

zabbix-proxy-exporter's People

Contributors

frakev avatar

Watchers

 avatar

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.