Nagios passive alerts with friendly API - Create your alerts easily and send it to Nagios
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Denis Knauf 56045ae80d usage 8 years ago
lib random padding bytes for strings 8 years ago
test compatibility to nsca-2.9 (NSCA::Packet3__2_9) 8 years ago
.document Initial commit to nsca. 10 years ago
.gitignore for testing... 10 years ago
Gemfile for testing... 10 years ago
Gemfile.lock ready for first release 10 years ago
LICENSE.txt ready for first release 10 years ago
README.md usage 8 years ago
Rakefile copyright & homepage 8 years ago
VERSION Version bump to 0.2.1 10 years ago
nsca.gemspec Regenerate gemspec for version 0.2.1 10 years ago

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.