[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cannot open a connection to the mailserve 'localhost:25' -- Transport en
From: |
GreenLantern |
Subject: |
Cannot open a connection to the mailserve 'localhost:25' -- Transport endpoint is not connected |
Date: |
Thu, 10 Jul 2014 09:58:33 -0700 (PDT) |
hello everyone, new monit user here.
I am trying to run a simple test program to monitor a simple test process
and send me an email alert.
here is my monitrc file:
*set daemon 30 # Poll at 60 second intervals for testing purposes.
set httpd port 2812 and use address localhost
allow localhost
set mail-format {
subject: $SERVICE $EVENT
message: $HOST $DATE
}
set alert address@hidden #receive all alerts to email
check process sleeper with pidfile "/monit/bin/sleeper.pid"
start program = "/monit/bin/sleepercontrol start &"
stop program = "/monit/bin/sleepercontrol stop"
alert address@hidden on { nonexist }
*
the process it is running is called sleeper. monit does a fine job of
restarting the sleeper process when I terminal $ kill -9 <sleeper pid>
but when i run: $ monit -vId 20 -c monitrc
i get this:
*Starting monit daemon with http interface at [localhost:2812]
Starting monit HTTP server at [localhost:2812]
monit HTTP server started
Monit started
Monit instance changed notification is sent to address@hidden
Cannot open a connection to the mailserver 'localhost:25' -- Transport
endpoint is not connected
No mail servers are available
Aborting event
*
any ideas? I can seem to figure this one out.
Thanks folks!
--
View this message in context:
http://nongnu.13855.n7.nabble.com/Cannot-open-a-connection-to-the-mailserve-localhost-25-Transport-endpoint-is-not-connected-tp186867.html
Sent from the monit-general mailing list archive at Nabble.com.
- Cannot open a connection to the mailserve 'localhost:25' -- Transport endpoint is not connected,
GreenLantern <=