Ad Widget

Collapse

Help with "Web" check and auto-discovered hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • culrich
    Junior Member
    • Sep 2012
    • 12

    #1

    Help with "Web" check and auto-discovered hosts

    I need to run a health-check against a large number of hosts, ideally any host in a template.

    The health-check is from a specific system to a remote client using HTTP and verifying that a given URL produces a "healthy" response.

    So the check in question ideally would be something like

    (template -- serviceA-healthcheck)
    web

    http variables:
    Host: servicethingy.mycompany.us


    Http URL:
    http://{HOST.IP}/path/to/healthcheck.php


    expected result:

    HTTP code: 200
    Output string: OK




    The thing I can't figure out is -- how to put that webapp into a "webserver" template (that checks for things like is php-fpm running or free disk space) but have the check run by a zabbix server or proxy.

    Thanks for any advice!
  • awienber
    Junior Member
    • Sep 2012
    • 4

    #2
    web scenarios in templates, please

    Hi all,
    same problem here - I am trying to create a template which, among some JMX checks, should also include an HTTP check. However I am unable to find a way to attach a web scenario to a template, the UI only offers concrete hosts.

    Could this be a missing feature? So I'll try to make my point:

    In the age of REST and increasingly Browser-controlled systems, HTTP is often used as just another protocol, like SNMP, JMX etc., so it might be reasonable for zabbix to treat it in a similar fashion.

    Regards,
    Axel

    Comment

    Working...