Commits
- Commit:
d762d1d1aeb9ddb5a796ccfe1fefa3edea7e242f- From:
- Oliver Lowe <o@olowe.co>
- Date:
Correctly return ErrNoMatch when rescheduling a check
For some reason the API returns an internal server error status rather
than a Not Found status (as in other methods in the API). We can catch
the condition when results are empty and return ErrNoMatch.
- Commit:
9ffce56b80990611dbb20ba6c4af4df4f9846140- From:
- Oliver Lowe <o@olowe.co>
- Date:
Properly encode spaces in filter expressions
This is a bit tricky. url.QueryEscape() encodes spaces in queries as
"+", but Icinga2 wants them as "%20".
A test case is included because this was kinda tricky to debug.
- Commit:
64e18a8d1ef9f178f91aed840a371f3785c4d188- From:
- Oliver Lowe <o@olowe.co>
- Date:
Correctly return ErrNoMatch
The check was incorrect before. The HTTP status on responses is still
200 OK, but with empty results if there are no matches to the filter.
- Commit:
7cb145ba970416743d12a36bb0a4df59264203da- From:
- Oliver Lowe <o@olowe.co>
- Date:
Implement checker interface for HostGroup
This also adds a test for checking all hosts in a HostGroup.
- Commit:
02a1a10065dd3be4f89f30756adc670b1a8ab468- From:
- Oliver Lowe <o@olowe.co>
- Date:
Support cascading delete of objects
- Commit:
191337d0c3d59aa9a990eb5192664d5c5079f187- From:
- Oliver Lowe <o@olowe.co>
- Date:
Add checking of services and hosts
And also add a icinga_test package that does the black-box tests
i.e. tests which speak to a real icinga server.
