Ad Widget

Collapse

Web monitoring configuration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • snmohanram
    Junior Member
    • May 2015
    • 5

    #1

    Web monitoring configuration

    Hello Friends,

    Iam new to linux, but i have passion to learn more. So i have configured Zabbix 2.4 running on Ubuntu server. I have read some procedures on zabbix.com website to configure web monitoring, unfortunately iam missing information like what is curl?, unable to see "web" option in zabbix GUI.

    Could any of you tell me step by step procedure to configure web monitor on zabbix 2.4

    Thanks
    Mohan
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Web monitoring setting are part of host settings from Zabbix 2.2.
    If you want web monitoring, please set to host.

    Comment

    • Parasin
      Member
      Zabbix Certified Specialist
      • Dec 2014
      • 53

      #3
      The "Web" option is located under specific hosts. The steps to get to this are as follows:
      1. Go to Configuration
      2. Go to Hosts
      3. Under the server that you wish to setup web monitoring on, click "Web"
      4. Setup your web scenario following the steps listed on the Zabbix user manual
      5. If you have a proxy to go through, be sure to put that in the "proxy" field.
      6. Test and profit.


      Be sure that you are using the full URL when setting up each step. If you don't, Zabbix won't connect properly.

      If your website has a login and uses POST format:
      When you are attempting to have Zabbix login to a webpage, you must use the URL of the action that is called when the form is submitted. Also, you must utilize the "name" field for the items that are submitted from the form, to said URL.

      For example:
      HTML Code:
      <form class="form-signin" data-validate="parsley" method="POST" action="/website/web/login_check">
      HTML Code:
      <input type="text" placeholder="Email address" name="_username" class="input-block-level parsley-validated" data-trigger="change" data-required="true" data-type="email">
      
      <input type="password" placeholder="Password" name="_password" class="input-block-level" style="margin-bottom:5px;">
      The URL in this step could be something like: https://www.example.com/website/web/login_check

      With the post variables of:
      _username=<your user name for site>
      _password=<your password for site>


      Also, Zabbix is very particular about the combination of "Required String" and "Response Code", so if you are having problems connecting, try removing one or the other and see if there is an issue surrounding one of the fields.

      Comment

      • snmohanram
        Junior Member
        • May 2015
        • 5

        #4
        Thankyou very much i will work on this update the status

        Mohan

        Comment

        Working...