Simplify and make available pynag.Utils.CheckResult

Basic initialization

from pynag.Utils import CheckResult

check_result = CheckResult('/tmp')

check_result.service_result(
    host_name="testhost",
    service_description="test service",
    output="OK This is nice!",
)

check_result.service_result(
    host_name="testhost",
    service_description="bad service",
    output="Oh darn!",
    return_code=2,
)

check_result.submit()
Merge pull request #1 from tomas-edwardsson/mirrorzresult

Simplify and make available pynag.Utils.CheckResult