check_http with a single string

Holger Weiß holger at zedat.fu-berlin.de
Fri May 10 11:45:11 CEST 2019


* Julen Larrucea <julenlist at gmail.com> [2019-04-16 20:24]:
> Would it be possible to make it accept a single parameter with all of the
> (most common) information?
> Examples:
> 
> - check_http -X http://example.com:82
> - check_http -X https://username:password@example.com/login
> 
> 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.

Sounds sensible to me.  I for one have close to zero time to spare for
plugins development these days, unfortunately.  But maybe you want to
post this as a feature request on GitHub so the idea doesn't get lost:

https://github.com/monitoring-plugins/monitoring-plugins/issues/new

Holger


More information about the Devel mailing list