[Top][All Lists]

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

How to monit ports

From: Pratap Kumar
Subject: How to monit ports
Date: Wed, 19 Oct 2011 16:47:32 +0530


I am using Monit tool for  my services.Though the service comes up,the port always down.One of my service configured as below to monitor the ports.

check process xyz.Service  with pidfile /var/run/
    start program = "/opt/xyz/bin/service start "
    stop program  = "/opt/xyz/bin/service stop "
         if failed port 445 for 1 cycles
           then restart

But it Always checks the PID file and throws one info message (PID file not changed from last cycles) instead of checking the port connection and restaring the service.

Could you please help me out ,how to configure and  monitor the ports.

Thanks in advance for your precious support.


reply via email to

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