X-Hiawatha-Monitor headers?

5 November 2015, 18:54
Hello, Hugo!

Since I now have a handful of Hiawatha servers in production, I've set up a Monitor server to more easily keep an eye on them. It's gathering some data, and I'm looking forward to seeing how it goes over the next several days.

As I read through your Hiawatha documentation, I see you've mentioned setting an X-Hiawatha-Monitor CGI header to log specific events. I assume I'd use CustomHeader = X-Hiawatha-Monitor <something or other>, but I'm not sure if that's required or just suggested, and I don't know exactly what the syntax should be. Can you shed a little light on what that's doing?

Hugo Leisink
5 November 2015, 22:42
Hi Jeff. No, this has nothing to do with the CustomHeader. That option can be used to make Hiawatha send a HTTP header to the client.

It's the header from a CGI process that Hiawatha is looking for. For example:
header("X-Hiawatha-Monitor: my message");
6 November 2015, 17:51
Hmm, ok. Pardon the (uneducated) question, but what would that add to what I see in Monitor?
Hugo Leisink
7 November 2015, 07:44
You can see the messages sent via that header in the Events page. Its value depends on what your decide to print and what that means to you.
This topic has been closed.