On 27. jul. 2007, at 21.16, andrew taylor wrote:
no one has yet to explain why a running monit daemon refuses to
respond to a "monit summary" request...
So what does the following ruby on-liner print?
ruby -r socket -e 's=TCPSocket.new("localhost",2812);s.send("GET /
HTTP/1.0\r\nAuthorization: Basic
YWRtaW46dGVzdA==\r\n\r\n",0);s.each{|r|r=="\r\n"?exit : puts(r);}'
Please use admin:test as username:password in monitrc for the
authorization header to work.
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general