Skip to content

Add -U / --show-url option to the ITL http CheckCommand #10953

Description

@0uLoL

Description

The check_http plugin provided by the nagios-plugins/nagios-plugins project supports the following option:

-U, --show-url
    Show the checked URL in the plugin output

This option is currently not exposed by the Icinga Template Library http CheckCommand.

The option is not present in the ITL definition included with Icinga 2.15.4. It is also missing in Icinga 2.16.2 and in the current master branch.

Use case

When several URLs are monitored, the default plugin output does not necessarily make it clear which URL was checked.

Environment

  • Icinga 2 version currently in use: 2.15.4-1
  • Also checked against the ITL definitions from Icinga 2.16.2 and the current master branch
  • Check plugin: check_http from nagios-plugins/nagios-plugins

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/itlTemplate Library CheckCommands

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions