Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 918 Bytes

NOTES.md

File metadata and controls

42 lines (32 loc) · 918 Bytes

Libraries used

Base

ConfigParser

Sched

External

Requests

Other

Example Config

Test instance: http://192.168.1.37/nrdp/ token: blah

Test service: ...

Example JSON result structure:

{
    "checkresults": [
        {
            "host": {
                "hostname": "somehost",
                "state": 0,
                "output": "Everything looks okay! | perfdata=1;"
            }
        },
        {
            "service": {
                "hostname": "somehost",
                "servicename": "someservice",
                "state": 1,
                "output": "WARNING: Danger Will Robinson! | perfdata=1;"
            }
        }
    ]
}