Forum

help configuring monitor server

niko2
3 March 2010, 00:12
Hello,

I am trying to use monitoring server on a single hiwatha (server and client is the same)

can you help me ?

Hiawatha version: 7.0
Operating System: Debian 5.0 (Lenny)
Hugo Leisink
3 March 2010, 08:38
Sure, what is the problem? Have you read this HOWTO?
niko2
3 March 2010, 09:53
Yes I read the howto and the readme included in the tarball
=> In menu->Webservers, I don't have anything
- server statistics is empty
- hosts statistics displays anything if I select "my webserver" and graphs are empty if I select "All"

In fact, I don't (really) know which ip adress to define (in CMS) for the webserver. (when I try 127.0.0.1 or a hostname, no statistics are collected)
I think I understood hosts are updated by accepting monitor requests (vhost with MonitorRequest=yes)

Thank you for your help
Hugo Leisink
3 March 2010, 09:58
Add "MonitorServer = 127.0.0.1" to your configuration file. Add "MonitorRequests = yes" only to virtual hosts which are important enough to monitor closely, because this option produces a lot of log information. Restart Hiawatha.

Go to the Webservers CMS page in the Monitor Website. Add the machine you want to monitor (which is 127.0.0.1)

Request some websites of your own webserver and wait a few hours. Log information will appear in your Monitor Website. Restart Hiawatha to force flushing of log information if you can't wait that long
niko2
3 March 2010, 12:09
Thank you Hugo

It seems database was corrupted by my tons of attemps !
drop, re-setup, etc...
everything is displayed now

This topic has been closed.