[Xymon] Any way to do http tests with HEAD request?

Jeremy Laidman jlaidman at rebel-it.com.au
Fri Apr 10 05:18:07 CEST 2015


On 10 April 2015 at 11:19, Andrew Rakowski <landrew at pnnl.gov> wrote:

> I didn't understand why nobody was complaining previously, until I saw
> that BigBro was set up to use the "curl" command with the "-I" option (aka
> the "--head" option) to send a "HEAD" request to the server.  The BigBro
> web test used this setting:
>

This was one of the problems with BigBro - it forked to external programs
to do the probes which doesn't scale, whereas xymonnet does it all
internally.

Alas, xymonnet sends either a POST or a GET request, and this cannot be
modified by configuration.

I can see two options for you.  One is to do your own curl/wget call with a
HEAD request, in a script.  The other option is to define your own "http"
protocol definition in protocols.cfg and use that.  You would probably need
to name it something other than "http" otherwise xymonnet will use its
internal protocol code rather than what's defined in protocols.cfg.

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150410/5158ead3/attachment.html>


More information about the Xymon mailing list