1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
This is the `README` file of *python-nscang*.
Description
-----------
The Python NSCA-ng client allows for sending host or service check results
to NSCA-ng servers.
Examples
--------
from nscang import NSCAngNotifyer
n = NSCAngNotifyer(host="monitoring.example.com",
port=5668,
identity="foo.example.com",
psk="secret")
n.svc_result(host_name="foo.example.com",
svc_description="RAID status",
return_code=0,
plugin_output="OK: md126[raid1], md127[raid1]",
timeout=5)
|