Ad Widget

Collapse

Web monitoring in growing environment (How?)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Oliver Korff
    Junior Member
    • Sep 2015
    • 2

    #1

    Web monitoring in growing environment (How?)

    Hello

    i have been searching for a while and am not very experienced, yet. I have a growing environment with web Servers. Today my setup is like this:

    Site A: zabbix Server
    Site B: Webserver 1, Webserver2, webserver 3 .... growing

    Each webserver has several VHOSTs with websites to be checked from an external adress. So I am running more than 60 Web Senarios on the zabbix Server and one (huge) trigger like that:

    {zabbix-xyz-cloud:web.test.fail[Webtest 1].sum(#5)}>=5 or {zabbix-xyz-cloud:web.test.fail[Webtest 2].sum(#5)}>=5 or ......

    and so on x 60

    This setup is further growing and now gets unmanageable...

    I have read about templating, but I don't see this leading me somewhere.

    I have thought about external tests with curl, but I would like to manage things within Zabbix.

    I could inventarize URLs on the webserver-hosts, but (yet) don't understand, if this could be used on webscenarios an the zabbix Server.

    Can somebody give me some advice or hint how this can be handled? Doku?

    Thanks in advance and Best Regards,

    Oliver
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by Oliver Korff
    Hello

    i have been searching for a while and am not very experienced, yet. I have a growing environment with web Servers. Today my setup is like this:

    Site A: zabbix Server
    Site B: Webserver 1, Webserver2, webserver 3 .... growing

    Each webserver has several VHOSTs with websites to be checked from an external adress. So I am running more than 60 Web Senarios on the zabbix Server and one (huge) trigger like that:

    {zabbix-xyz-cloud:web.test.fail[Webtest 1].sum(#5)}>=5 or {zabbix-xyz-cloud:web.test.fail[Webtest 2].sum(#5)}>=5 or ......

    and so on x 60

    This setup is further growing and now gets unmanageable...

    I have read about templating, but I don't see this leading me somewhere.

    I have thought about external tests with curl, but I would like to manage things within Zabbix.

    I could inventarize URLs on the webserver-hosts, but (yet) don't understand, if this could be used on webscenarios an the zabbix Server.

    Can somebody give me some advice or hint how this can be handled? Doku?

    Thanks in advance and Best Regards,

    Oliver
    why wont you make a template with this trigger in it and add the website host to this template ?
    or do you only use web Senarios no monitored host?

    Comment

    • Oliver Korff
      Junior Member
      • Sep 2015
      • 2

      #3
      Originally posted by batchenr
      why wont you make a template with this trigger in it and add the website host to this template ?
      or do you only use web Senarios no monitored host?
      Half of the webservers don't have a zabbix-agent running and I just want to monitor the Website with a WebSenario from the Zabbixserver.

      To be honest I don'r really understand how this can work with templating. As far as I can say I have to:
      - make a template for the Webscenario with a trigger in ist
      - Assign this template to my zabbix server as Webscenario1
      - For every other Website I have to cone the template and assign it to the zabbix server

      So I end up with cloning and configuring 60 templates! Thats not the way I want to go

      ATM I am trying to solve my problem with scripting the zabbix API.

      bash scrip -> gets URL and a Required string as Input -> creates trigger AND Webscenario

      I just thought, that a lot of people would have the same problem and somebody would come up with something.

      Thanks for the reply,

      Oliver

      Comment

      Working...