monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is monit just a pain in the arse or what ?


From: andrew taylor
Subject: Re: is monit just a pain in the arse or what ?
Date: Fri, 27 Jul 2007 16:57:18 -0500
User-agent: Thunderbird 2.0.0.5 (Windows/20070716)

Jan-Henrik Haukeland wrote:

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

the http port in the daemon responds just find




reply via email to

[Prev in Thread] Current Thread [Next in Thread]