Xymon Mailing List Archive search

http network test

list Jeremy Laidman
Wed, 18 Mar 2015 13:01:03 +1100
Message-Id: <CAAnki7AJEosJci1_RLWhKgR=VPps4VHtioYCAQk5Di_Vsib=user-3324dfd1d09f@xymon.invalid>

On 18 March 2015 at 01:05, usa ims via Xymon <xymon at xymon.com> wrote:
I'm looking for what gets passed in the http content for the http network
test.

It depends on the configuration in hosts.cfg.  Typically, for a simple GET
test, it sends:

GET /relpath HTTP/1.0
Host: hostname
User-Agent: Xymon xymonnet/4.3.18
Accept: */*
Pragma: no-cache
<newline>

However, this will vary depending on a range of configurables, such as
whether you have specified a different port number, cookies, if you're
authenticating, or if you're doing a POST test.

More details about how to configure HTTP tests are in the hosts.cfg man
page (in the "HTTP TESTS" section), with some more detail in the man page
for xymonnet.

J