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: Oliver A. Rojo
Subject: Re: monit to listen on all interfaces
Date: Wed, 02 Nov 2005 22:50:20 +0800
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

Martin Pala wrote:

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


but using netstat -tln, the output says

tcp        0      0 0.0.0.0:2812            0.0.0.0:*               LISTEN

isn't should be:

tcp 0 0 :::2812 :::* LISTEN?





reply via email to

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