Giter Club home page Giter Club logo

zabbirc's Introduction

Zabbirc

IRC bot for Zabbix monitoring

Installation

Install the gem

gem install zabbirc

Generate config file

zabbirc-install your/config/directory/

Start the bot

zabbirc config/directory/zabbirc_config.rb

Features

Bot runs service, which checks Zabbix for new events, and notifies ops on the channel about them. Ops are authenticated by matching nickname in IRC to Zabbix user's alias. Not authenticated IRC users cannot use bot features.

Op settings

Every bot can set his personal settings:

  • notify - true/false - whether to notify op about events comming from event checking service
  • primary_channel - can be chosen from channels bot operates on. Specifies channel where bot will notify op about events
  • events_priority - specifies priority of events that op is interested in. Uses zabbix trigger's priority setting.
    • 0 - (default) not_classified
    • 1 - information
    • 2 - warning
    • 3 - average
    • 4 - high
    • 5 - disaster

Bot methods

  • !events - prints last events of whole system
  • !latest host <number-of-events> - prints last number-of-events (default 8) events of specific
  • !status host - prints status of the host. OK or prints triggers with problem
  • !ack <event-id> <ack-message> - acknowledges specified event with message

zabbirc's People

Contributors

tulak avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  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.