DE-IBH / nag2mqtt

Nagios event broker to MQTT gateway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nag2mqtt

Nagios event broker to MQTT gateway

About

nag2mqtt consists of a Nagios Event Broker (NEB) module and a small perl daemon. The NEB module publishes all check results in the local filesystem (using tmpfs is highly recommended). These file are than publish by the perl daemon to a MQTT broker.

The published check results could be used by websites using a MQTT WebSocket API or tools like mqttwarn.

The Nagios header files in external/nagios-3.5.0 are taken from the Nagios Core 3.5.0 sources. This should work fine with Check_MK.

Dependencies

NEB module (neb2mqtt.so):

Publisher (nag2mqttd):

  • AnyEvent
  • AnyEvent::MQTT
  • JSON
  • Linux::Inotify2
  • Log::Dispatch
  • Proc::PID::File

Install

Details on installing nag2mqtt can be found in the documentation of SNMD.

About

Nagios event broker to MQTT gateway

License:GNU General Public License v2.0


Languages

Language:C 62.4%Language:Perl 32.4%Language:Makefile 5.2%