File: README

package info (click to toggle)
nsca-ng 1.6-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,520 kB
  • sloc: ansic: 13,246; sh: 634; makefile: 231; perl: 137; python: 15
file content (23 lines) | stat: -rw-r--r-- 622 bytes parent folder | download | duplicates (5)
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)