File: README

package info (click to toggle)
nsca-ng 1.4-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,964 kB
  • ctags: 1,792
  • sloc: ansic: 12,396; sh: 4,032; makefile: 221; perl: 64; 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)