Skip to content

Icingacli checks  #35

@t3easy

Description

@t3easy

BTW.: do you have a good idea for icingacli checks? As web and icinga are splitted, the checks can't run as there is no icingacli.

Maybe a Phar of the icingacli plus configuration deployed to the Icinga container. But I don't know if creating the Phar works that easily.

Originally posted by @lippserd in #17 (comment)

I just had an idea how to run such tests.
As there is a by_ssh command, that runs commands on a remote server by ssh, we could implement a by_docker command that can run check commands inside an existing container by docker exec icingaweb icingacli ... or by creating a new container with a custom check command docker run --rm check_xy_image.

Therefore the docker cli in the icinga2 image and the docker socket of the host of the icinga2 service or a ssh/tls DOCKERHOST is required.

Its not perfect for all hosting environments but the best solution for common.

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