monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change request header


From: Bummer Cloud
Subject: Change request header
Date: Fri, 12 Nov 2010 11:07:41 -0800
User-agent: Postbox 1.1.5 (Macintosh/20100613)

Hi. The current monit requests that show up in access logs look like the following:

127.0.0.1 - - [12/Nov/2010:10:57:48 -0800] "GET / HTTP/1.1" 200  24711 "-" "monit/5.2.2" "-"

I'm wondering if it is possible to modify the request header to indicate which host it originates from? Some monitoring tools allow you to customize the request, like this:

127.0.0.1 - - [12/Nov/2010:10:57:48 -0800] "GET / HTTP/1.1" 200  40947 "-" "monit/5.2.2_(http://example.com/)" "-"

I looked through the documentation but could not find anything relevant. Thanks in advance.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]