monit-general
[Top][All Lists]
Advanced

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

RE: How to configure Monitoring on Remote host


From: ashok
Subject: RE: How to configure Monitoring on Remote host
Date: Fri, 13 Oct 2006 10:25:53 +0530

Hello Martin,,

 

I have configured another remote host mail.eb2k.com in monitrc file and reloaded.

 

check host mail.eb2k.com with address 69.90.111.204

     if failed icmp type echo count 3 with timeout 3 seconds then alert

     if failed port 25 protocol smtp with timeout 15 seconds then alert

     if failed port 110 protocol pop with timeout 15 seconds then alert

     if failed port 3306 protocol mysql with timeout 15 seconds then alert

     if failed url

       http://mail.eb2k.com

      then alert

 

Also i logged into the server and check all services smtp , pop http & Mysql are running fine.

 

But in web interface it shows :-

 

mail.eb2k.com

Connection failed

[ICMP Echo Request]  |  [HTTP] at port 80  |  [MYSQL] at port 3306  |  [POP] at port 110  |  [SMTP] at port 25

 

 

And I see in tail /var/log/messages

 

Oct 12 20:21:38 bb monit[21206]: HTTP error: Server returned status 403

Oct 12 20:21:38 bb monit[21206]: 'mail.eb2k.com' failed protocol test [HTTP] at INET[mail.eb2k.com:80] via TCP

Oct 12 20:21:39 bb monit[21206]: MYSQL: error receiving login response -- Resource temporarily unavailable

Oct 12 20:21:39 bb monit[21206]: 'mail.eb2k.com' failed protocol test [MYSQL] at INET[69.90.111.204:3306] via TCP

Oct 12 20:23:47 bb monit[21206]: HTTP error: Server returned status 403

Oct 12 20:23:47 bb monit[21206]: 'mail.eb2k.com' failed protocol test [HTTP] at INET[mail.eb2k.com:80] via TCP

Oct 12 20:23:48 bb monit[21206]: MYSQL: error receiving login response -- Success

Oct 12 20:23:48 bb monit[21206]: 'mail.eb2k.com' failed protocol test [MYSQL] at INET[69.90.111.204:3306] via TCP

 

Pls suggest me ahead to look into the files so that I can fix the problem.

 

Thanking You,

 

Warm Regards

ashok

 

 


From: ashok [mailto:address@hidden
Sent: Thursday, October 12, 2006 7:03 PM
To: 'address@hidden'
Subject: How to configure Monitoring on Remote host

 

 

Hi Frnds,

 

  Im new monit user J

 

  I have configured it and works fine on local machine.

 

  Can some one provide me examples for monitoring services on Different hosts like I have 20 servers running with different services.

 

 

  I have tried putting these entries in monitrc file.

 

 check host mail.examp.com with address 206.13.200.66

    if failed icmp type echo count 3 with timeout 3 seconds then alert

    if failed port 25 protocol smtp with timeout 15 seconds then alert

    if failed port 110 protocol pop with timeout 15 seconds then alert

    if failed port 3306 protocol mysql with timeout 15 seconds then alert

    if failed url

       http://mail.examp.com

       then alert

 

But when I visit http://ipaddress:2812/   I don’t see that new entry , I could see only system & process.

 

Pls suggest me…

 

Thanks in advance

 

Warm Regards

Ashok

 

 


reply via email to

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