GithubHelp home page GithubHelp logo

liske / najabo Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 88 KB

NaJaBo (Nagios Jabber Bot) provides a nagios status summary as a XMPP JID.

License: GNU General Public License v2.0

Perl 97.11% Makefile 1.36% Shell 1.53%

najabo's Introduction

najabod

About

najabod is a Nagios Jabber Bot. najabod connects to a XMPP server as a XMPP client. It reads the nagios status log and shows an overview of the current states of the monitored nodes. Further version will allow you to query detailed informations, acknowledge problems and schedule downtimes etc.

The current version has no ACL and did not support precense subscription, yet. You will need to do the presence subscription with your favorite XMPP client or use a XMPP server with shared roster support like ejabberd.

Status flags

  • D - host/service is down
  • C - host/service is critical
  • W - host/service is warning
  • F - host/service state is flapping

Interactive commands

User commands:

  • lh [host] list hosts

  • hd <host> host details

  • ls [host] [service] list services

  • sd <host> <service> service details

  • lp list problems

  • help show command list

Admin commands:

  • ack <host[/service]> <comment> acknowledge problem

  • dt <host[/service]> <start> <end> <duration> <comment> schedule downtime

Implemented XEPs

najabod has the following XEPs implemented:

  • XEP-0012: Last Activity
  • XEP-0030: Service Discovery
  • XEP-0054: vcard-temp
  • XEP-0092: Software Version
  • XEP-0199: XMPP Ping
  • XEP-0202: Entity Time

SRV lookup support in Net::XMPP

Net::XMPP did not support SRV records to get the XMPP server of the users JID. XMPP requires the client to lookup the server by SRV records in the DNS. See also the following bug reports including a fix:

To get SRV lookup work, you must have at least

  • Net::XMPP >= 1.02_02
  • XML::Stream >= 1.23_04

installed and enable the following lines in your najabo.conf:

$xmpp_conf{'componentname'} = $xmpp_conf{'hostname'};
$xmpp_conf{'srv'} = 1;

najabo's People

Contributors

liske avatar trefzer avatar

Stargazers

Juri Grabowski avatar Sam Mingo avatar

Watchers

 avatar James Cloos avatar Juri Grabowski 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.