check_http with a single string

Julen Larrucea julenlist at
Tue Apr 16 20:24:42 CEST 2019

Hi there,

The check_http plugin is excellent and has tons of options for every use
case, but I have a "feature request".

Would it be possible to make it accept a single parameter with all of the
(most common) information?

- check_http -X
- check_http -X

This way, we could use a single list of strings (for example in icinga2
host.vars.vhosts) and easily cover all the virtual hosts in a machine
without complex dictionaries and exceptions.

I wrote a wrapper which parses the values and calls check_http with the
right parameters, but it would be cleaner to have it built-in into the
plugin itself.
Unfortunately I am not so good at C :(  but for someone who can, and is
familiar with the plugin, it should be relatively simple. Just parse the
sting some some regexp-es and assign the parsed variables to the existing
ones in the plugin.

Any thoughts?

  Best regards

Dr. Julen Larrucea

  Fraunhofer IFAM
  Bremen - Germany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list