monit-general
[Top][All Lists]
Advanced

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

Re: monit to listen on all interfaces


From: Martin Pala
Subject: Re: monit to listen on all interfaces
Date: Wed, 02 Nov 2005 15:41:29 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Oliver A. Rojo wrote:
Martin Pala wrote:

Oliver A. Rojo wrote:

how will i set monit port 2812 to listen on all interfaces and not with localhost only? thanks!


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general



Just omit the:

  address localhost

option in 'set httpd ...' statement.

For example use:

 set httpd port 2812

instead of

 set httpd port 2812 and use address 127.0.0.1


Martin


but i have no line as 'use address 127.0.0.1' in my config. below is my config

set httpd port 2812
     allow 127.0.0.1
     allow XXX.XXX.XXX.XXX
     allow username:password



Then monit is already listening on all interfaces - you can check it using 'netstat -ltn | grep 2812' or 'lsof -i tcp:2812'.

Martin




reply via email to

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