Giter VIP home page Giter VIP logo

ludolph-zabbix's Introduction

ludolph-zabbix

Ludolph: Zabbix API plugin

https://badge.fury.io/py/ludolph-zabbix.png

Installation

  • Install the latest released version using pip:

    pip install ludolph-zabbix
    
  • Add new plugin section into Ludolph configuration file:

    [ludolph_zabbix.zapi]
    # Zabbix server URI
    server = https://zabbix.example.com/zabbix
    # ssl_verify = true
    
    # Zabbix credentials
    username = ludolph
    password =
    
    # HTTP authetication
    #httpuser =
    #httppasswd =
    
  • Reload Ludolph:

    service ludolph reload
    

Dependencies:

Links

License

For more information see the LICENSE file.


The Ludolph Zabbix plugin is inspired by Dante.

ludolph-zabbix's People

Contributors

dn0 avatar ricco386 avatar secult avatar

Stargazers

Tomas Pytel avatar Dariusz Bączkowski avatar  avatar

Watchers

James Cloos avatar  avatar  avatar Jan Poctavek avatar Patrik Skovajsa avatar  avatar

ludolph-zabbix's Issues

Create RPM package

Create RPM package for the project and add it to the Fedora (possibly EPEL).

Alerts history

Add possibility to display trigger history via the alerts command.

Error filtering alerts on host

Command: alerts host 10 fails with exception:

Traceback (most recent call last):
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/ludolph/command.py", line 253, in wrap
    response = fun(obj, msg, *args, **kwargs)
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/ludolph_zabbix/zapi.py", line 463, in alerts
    display_items=items, hosts_or_groups=args)
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/ludolph_zabbix/zapi.py", line 332, in _show_alerts
    events = self._get_alert_events(triggers, since=since, until=until)
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/ludolph_zabbix/zapi.py", line 263, in _get_alert_events
    missing_eventids = [t['lastEvent']['eventid'] for t in triggers if t['triggerid'] not in events]
TypeError: list indices must be integers, not str

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.