Added usage info.
This commit is contained in:
parent
6fc671d1cc
commit
b8992dc380
|
@ -6,3 +6,12 @@ from remote machines and applications with Nagios. Useful for processing
|
||||||
security alerts, as well as redundant and distributed Nagios setups.
|
security alerts, as well as redundant and distributed Nagios setups.
|
||||||
|
|
||||||
**This client allows you to send easily passive alerts and checks.**
|
**This client allows you to send easily passive alerts and checks.**
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
------
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
NSCA::Client.servers << NSCA::Client::RemoteServer.new(:host => '172.0.0.1')
|
||||||
|
service = NSCA::Client::Service.new(:name => 'TestMessage')
|
||||||
|
NSCA::Client.critical service
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue