nsca-client/README.md

19 lines
532 B
Markdown
Raw Normal View History

2012-12-07 18:02:45 +01:00
NSCA Client
===========
NSCA is a Linux/Unix daemon allows you to integrate passive alerts and checks
from remote machines and applications with Nagios. Useful for processing
security alerts, as well as redundant and distributed Nagios setups.
**This client allows you to send easily passive alerts and checks.**
2012-12-07 20:20:56 +01:00
Usage:
------
```ruby
2013-01-28 23:10:45 +01:00
require "nsca/client"
2012-12-07 20:20:56 +01:00
NSCA::Client.servers << NSCA::Client::RemoteServer.new(:host => '172.0.0.1')
service = NSCA::Client::Service.new(:name => 'TestMessage')
NSCA::Client.critical service
```