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