[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [monit] Help trying to access monit httpd from remote computer
From: |
Dudi Goldenberg |
Subject: |
RE: [monit] Help trying to access monit httpd from remote computer |
Date: |
Tue, 11 Dec 2007 10:29:13 +0200 |
>$> sudo lsof -i | grep monit
>monit 6173 root 5u IPv4 685820 TCP *:atmtcp (LISTEN)
>
>
>So do I have to do anything else to allow monit to be accessible from
>any of my client computers? If I added "and use address
>192.168.1.20" (which is the local ip address of the server) and check
>with lsof then it doesn't show anything running on port 2182 which I
>find a little fishy but I don't know what else to check.
Step one is to verify that monit listens on the correct addresses.
Try netstat -natp | grep 2812 (u might need to sudo the command).
If you see something like this:
tcp 0 0 0.0.0.0:2812 0.0.0.0:* LISTEN
11870/monit
It means that monit is listening on all available IPs.
If this is the case, you may need to add another 'allow' section that specifies
which hosts/nets are allowed monit access.
Something like:
allow 192.168.22.0/255.255.255.0
allow 10.0.10.11
This should get u going.
Regards,
Dudi
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.17.0/1180 - Release Date: 12/10/2007
14:51