--On Thursday, August 12, 2004 5:50 PM +0200 Antoine Reboul <[EMAIL PROTECTED]> wrote:

Hi,

/sorry for my pooor english i'm french .../

I have a high disponibility solution (lvs / mon / heartbeat)
My webservers host 2 web sites.

WebsiteA : adressIP:80
WebsiteB : adressIP:8099


I want that Mon watch each Ports so i wrote this :

------- part of mon.cf ------
watch RealServer
    service http
        interval 30s
        monitor http.monitor -p 80
        period wd {Sun-Sat}
        numalerts 1
            alert lvs.alert
            upalert lvs.alert

    service http
        interval 30s
        monitor http.monitor -p 8099
        period wd {Sun-Sat}
        numalerts 1
            alert lvs.alert
            upalert lvs.alert
-------------------------------



Your services need to have unique names, so 'service http' and 'service http-8099' or similar. (And the fact that Mon doesn't notice this and complain is a bug.)

-David


David Nolan <*> [EMAIL PROTECTED] curses: May you be forced to grep the termcap of an unclean yacc while a herd of rogue emacs fsck your troff and vgrind your pathalias!


_______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon

Reply via email to