Ad Widget

Collapse

Enable Web Scenario - Zabbix Server Repository Installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wishmopp
    Junior Member
    • Dec 2022
    • 3

    #1

    Enable Web Scenario - Zabbix Server Repository Installation

    Hi All

    I was always looking forward to use Zabbix. Now, before Holidays, it was a good moment to get this up and running. I followed the straight forward Instuctions on the Homepage. Download and install Zabbix 6.0 LTS for Ubuntu 20.04 (Focal), MySQL, Nginx
    (So basically i ran: apt install zabbix-server-mysql ... )

    My version is Zabbix 6.0.12
    Ubuntu 20.04

    I have already my 200 Hosts in it and the most important monitored with Active Agents and some with passive.
    Now i wanted to monitor some URLs / WebPages as well. But i didn't find "web scenario" option on the host. Now i realized, that there would have been a second option to install, with downloading the package and compiling / make the installation package by myself. (According to Documentation --with-libcurl would be the important option when running ./configure)

    ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2 --with-openipmi​

    Is there a way, to enable this --with-curl option with the Zabbix Server Package from repository? I already checked launch parameters in /usr/sbin/zabbix-server but without confident answer :-).
    I'm usually really happy with having packages from repository. Updating installations are easier. I know, that there are shadow sides as well ;-) - that's why I went for LTS - to go with Stable Packages only :-)

    Thanks already for all help and have nice Holidays!

    Br
    Martin
  • wishmopp
    Junior Member
    • Dec 2022
    • 3

    #2
    Originally posted by Adkins42
    To activate web monitoring you need to define web scenarios. A web scenario consists of one or several HTTP requests or "steps". The steps are periodically executed by Zabbix server in a pre-defined order. If a host is monitored by proxy, the steps are executed by the proxy. If you want more information you must see this: https://www.zabbix.com/documentation...y_installation
    Thanks very much adkins42 for your advice.
    I understand how it would be configured and how it would work overall. I went through your installation instructions as well, but didn't find any details which i should've taken care of during my installation.
    This option "web scenarios" is simply missing in my whole webinterface. It seems like a missing feature.

    Maybe i can relate to this web monitoring documentation:


    In the first lines its written:

    To perform web monitoring Zabbix server must be initially configured with cURL (libcurl) support.
    The "configured" Link points to an instruction not using the standard repository installation.

    You can get the very latest version of Zabbix by compiling it from the sources.
    Maybe I'm bad at explation. But i really see that I would have to install the Zabbix Server by download and extract the sources, create configuration and then run "make install"
    Why I dont like this way: I want do have the packages updated by sudo apt upgrade if possible.

    So if it's possible to enable it in the "repository installation", i would like to know it :-).

    Thanks for more help already ;-)
    ​​

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      Hi wishmopp,

      The Zabbix official package is built with options that enable web monitoring. You don't have to rebuild it yourself. It looks like you don't understand where the web scenarios are configured. Display a list of hosts or templates and click Web in the row for a specific host or template. It's exactly as written in the manual you showed me.


      And one way to check whether web monitoring is enabled is to check the log when Zabbix server is started. When starting the Zabbix server, the following log should be output.

      Code:
        1886:20221228:013141.888 ****** Enabled features ******
        1886:20221228:013141.888 SNMP monitoring:           YES
        1886:20221228:013141.888 IPMI monitoring:           YES
        1886:20221228:013141.888 Web monitoring:            YES
        1886:20221228:013141.888 VMware monitoring:         YES
        1886:20221228:013141.888 SMTP authentication:       YES
        1886:20221228:013141.888 ODBC:                      YES
        1886:20221228:013141.888 SSH support:               YES
        1886:20221228:013141.888 IPv6 support:              YES
        1886:20221228:013141.888 TLS support:               YES
        1886:20221228:013141.888 ******************************
      Here, if "Web monitoring: YES" is displayed, it means that the module capable of web monitoring is running.​

      Comment

      • wishmopp
        Junior Member
        • Dec 2022
        • 3

        #4
        Hi Both!

        Thank you both for your pointing me in the right direction and sorry for my late follow up.
        Indeed, i was looking at the wrong place for the WebScenario button. Now, everything is clear :-)

        Case Closed :-)

        Best,
        wishmopp




        Comment

        Working...