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)
