Martin Margo wrote:
Hi all,
I have been having some problem with
Gmetad. I have installed the program
and it seems to work fine. I specified
both the sources and trusted_host files
and I start up the gmetad daemon.
% sudo gmetad
127.0.0.1
xxx.xxx.xx.33
xxx.xxx.xx.42
xxx.xxx.xx.34
xxx.xxx.xx.36
xxx.xxx.32.118
%
I went back to my machine (xxx.xxx.32.118)
and try to get the data from the Gmetad
% telnet gmetad_host 8651
Trying xxx.xxx.xx.xx...
Connected to gmetad_host.
Escape character is '^]'.
Connection closed by foreign host.
%
What is wrong? My machine ip address is
inside the trusted host. Any hints or
clarification is greatly appreciated
In about this order, I'd try the following:
Wait a few minutes.
Check the log (by default, $GMETAD_INSTALL_ROOT/log/gmetad.log)
If the log "looks" normal, try contacting the last host that gmetad says
it's contacting in the log. I don't know whether this is a peculiarity to
the Sun socket library or what, but gmetad does not recover well from a
stutter in the XML feed (at least, that's what it looks like is happening)
- it hangs the collection thread entirely. Something to do with timeouts
not happening... not sure exactly.
It may also help to reorder or simplify the gmetad_sources file.
I end up at least rebooting gmetad (on my Sun monitoring head end) at least
twice a week. Sometimes as often as once a day. No one else has
complained of this so it might be my environment.
This info also applies to the person who just e-mailed the list. So I hope
they're reading. :)