Nagios passive alerts with friendly API - Create your alerts easily and send it to Nagios
Go to file
Denis Knauf 56045ae80d usage 2015-07-03 15:45:45 +02:00
lib random padding bytes for strings 2015-07-03 15:35:20 +02:00
test compatibility to nsca-2.9 (NSCA::Packet3__2_9) 2015-07-03 15:26:42 +02:00
.document Initial commit to nsca. 2013-03-13 20:46:35 +01:00
.gitignore for testing... 2013-03-16 16:13:13 +01:00
Gemfile for testing... 2013-03-16 16:13:13 +01:00
Gemfile.lock ready for first release 2013-04-08 20:50:51 +02:00
LICENSE.txt ready for first release 2013-04-08 20:50:51 +02:00
README.md usage 2015-07-03 15:45:45 +02:00
Rakefile copyright & homepage 2015-07-03 15:36:20 +02:00
VERSION Version bump to 0.2.1 2013-04-24 16:26:14 +02:00
nsca.gemspec Regenerate gemspec for version 0.2.1 2013-04-24 16:26:18 +02:00

README.md

pure ruby NSCA library

NSCA is a protocol for Nagios passive checks. You must run nsca on your server to use it.

This is a ruby-pure implementation.

First it was planed to provide a client-API, but now there is also a full server-API.

Tested against nsca-2.7, -2.9.

Usage

Simple sending

NSCA.destinations << NSCA::Client.new('localhost')
NSCA.send 'serverA', 'serviceA', 1, 'Ok'

TO DO AND DONE

TODO

  • server side parsing of performance data
  • more documentations
  • mcrypt-support

DONE

  • packet-API (one check will be packed in one packet)
  • simple-"encryption" (only xor with password and server-side generated iv-key)
  • client-API (send to server)
  • server-API (recv from client)
  • check-API (describe checks and performance data)
  • fast usable API for sending checks
  • build packet with performance data

Copyright

Copyright (c) 2013-2015 Denis Knauf. See LICENSE.txt for further details.