Hiawatha weblog
Remote webserver monitoring
For some time I've been thinking about a new feature which will justify the increase of the major version number from 6 to 7. Yesterday, I've come up with such a feature.
Hiawatha version 7 will contain a remote monitoring ability. I will create a tool (probably a website) to which multiple Hiawatha instances can send status information. This tool will be able to show the current status and the history of all Hiawatha instances it is monitoring.
The question is: what will the Hiawatha instances send to the monitoring tool? There are several detail levels possible:
- Only send errors and other information that require attention from an administrator.
- Only send general webserver information, such as how many requests resulted in 200 OK, how many in 404 Not Found, etc.
- Send detailed information for every request.
Reasons to go for option 1 are that it only uses little CPU time and network bandwidth. There are enough monitoring tools like Google Analytics availble, even open source ones. So, there is no need to put heavy monitoring stuff in a webserver.
Reasons to go for option 3 are that you have more certainty of the statistics then when using included javascripts, because users cannot change what is sent to the monitoring tool. You can keep the monitoring information to yourself, instead of giving Google more information about your visitors.
What is your idea of what this monitoring tool should offer and why do you think so? A tool like Google Analytics would be very cool, but do we really need it to monitor multiple Hiawatha instances? Please, share your thoughts about this one.


Personally I think you are wrong of include monitoring tool in hiawatha, but you are the owner. If you do, please, keep the possibility of disable it.
Xan.
On the other hand, I still would like to see a possibility to get much more detailed logs about what strings are passed to cgi handlers, authentication failures with username/passwords used, etc.