Ad Widget

Collapse

CloudLinux: dependencies and websites

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • szabolcs
    Junior Member
    • Mar 2014
    • 1

    #1

    CloudLinux: dependencies and websites

    Hello all,

    we're using CloudLinux to isolate websites from each other. We have many websites on our machines. With CloudLinux it's possible that only one of the websites is down (for example a DOS is going on) while others on the same server are up&running fine. Of course it is also possible that all of the websites are down at the same time, when the server has a problem.
    So we want to monitor all of our websites with Zabbix. We want to receive an alert if any of the websites is down. But we don't want to receive many alerts when all of the websites are down (we need only one alert in this case too).

    I figured this is something I should do with the trigger dependencies.
    Let's say we've got these sites:
    web_1
    web_2
    web_3

    What I wanted to do is web_1 depends on web_2+web_3, web_2 depends on web_1+web_3, web_3 depends on web_1+web_2. It'd make sense to me to receive an alert if any of these sites is down, but receive only one alert. However, it looks like this is a circular dependency I wanted to create and Zabbix does not allow such thing to happen.

    I also tried to make all of the websites depend on 'MySQL is down' and 'host is unavailable by ICMP'. I figured these triggers will be fired when a host is down and I won't be notified about all the websites. The problem is the website triggers were fired sooner than these and I found myself in an SMS/email storm.

    Could you please advise how to do this?

    Thanks in advance
Working...