Re: check_http with a single string

Holger Weiß <[email protected]> Fri, 10 May 2019 11:45:11 +0200
Newsgroups gmane.network.nagios.devel,gmane.network.monitoring.plugins.devel
Organization Freie Universität Berlin
Message-ID <[email protected]>
* Julen Larrucea <[email protected]> [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:[email protected]/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