[Top][All Lists]

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

monit help

From: Aleksandr Ivanov
Subject: monit help
Date: Fri, 12 Dec 2003 13:55:07 +0200
User-agent: KMail/1.5.4


I want monitor my squid tcp port 3128
and when tcp port "died" (squid died) then execute script which 
shutdown dansguardian daemon.
This I can do by:
check host myserver with address
        if failed port 3128 then exec "/etc/init.d/dansguardian stop"
And when tcp port "alived" (squid "alived") then monit will execute
"/etc/init.d/dansguardian start"...
How I can make this?

Sorry for my bad english.
Aleksandr Ivanov

reply via email to

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