Skip to content

Timeout when querying all host states + need for filtered queries (only Critical/Warning, not ACKed) #57

Description

@JustinWenzel

Problem:

We are currently running into an issue when querying all host states at once.
After ~5 seconds, the following error occurs:


[http-error] [GET] https://checkmk-01/[...]
The request took longer than 0:00:05.000000 to receive data. It was aborted. To get rid of this exception, try raising the RequestOptions.receiveTimeout above the duration of 0:00:05.000000 or improve the response time of the server.

From our side (mobile app usage), we don’t actually need the full dataset.
What we really require are only the services that are in Critical/Warning state and not acknowledged (no ACK).

Is there a way to optimize the query on our side (e.g. using specific filters, query options, or by increasing the timeout)?
Or is there a plan on your side to provide functionality for more targeted queries (e.g. filter by state/acknowledgement) to reduce response size and improve performance?

Environment / Context:

Querying all hosts at once triggers the timeout.
We only need a filtered subset of service states for our use case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions