monit-general
[Top][All Lists]
Advanced

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

Re: [monit] monit on freebsd


From: Jan-Henrik Haukeland
Subject: Re: [monit] monit on freebsd
Date: Sat, 15 Mar 2008 00:09:47 +0100

Open /etc/hosts and add this line.

127.0.0.1       localhost


On 14. mars. 2008, at 23.50, Francois wrote:

I'm trying to monitor a ferret server on my freebsd 6.3 machine. It runs on port 9011 so I have a line like this as part of my monit configuration:

if failed port 9011 then alert

unfortunately monit always reports a failure.

Some facts:
- Monit is running on the the same machine as the ferret server
- from the command line of the server I can do the following:

address@hidden /var/tmp]# telnet localhost 9011
Trying ::1...
Connected to localhost.choopa.com.
Escape character is '^]'.

And as can be seen I get connected.


- However, if I try to connect via 127.0.0.1 instead of using localhost I get an error:

address@hidden /var/tmp]# telnet 127.0.0.1 9011
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host

Any ideas on how I can monitor this through monit? Looks like this might have something to do with ipv6?

- thanks
francois

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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