Ad Widget

Collapse

Zabbix Template Apache: keys not supported.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dwoodson
    Junior Member
    • Jan 2020
    • 3

    #1

    Zabbix Template Apache: keys not supported.

    When I look at the keys in a template for a specific server with the following configuration I find "not supported" for most of the critical items that are necessary.

    Apache 2.4.6, Zabbix 4.4.4 client, CentOS 7 Linux 3.10.0-1062.9.1.el7.x86_64, lynx http://localhost/server-status comes up.

    However the following are "not supported" :
    1. apache.bytes.rate
    2. apache.requests.rate
    3. apache.bytes
    4. apache.requests
    5. apache.workers_total.busy
    6. apache.workers_total.idle
    7. apache.uptime

    Any thoughts anyone?

    I have been working most of the day on this and am not getting anywhere.

    See below the server-status screen in lynx:

    server-status-2020-01-28_16-06-06.pdf

  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Hi, I would recommend that you check the place where you downloaded the Template Apache from, if there are some instructions that should be followed. The apache.* keys are not built-in keys in Zabbix agent, so you would need some UserParameters configured, and that will be mentioned in the instructions of that template.

    Markku

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      The template "Template App Apache by HTTP" provided when Zabbix 4.4 is newly installed, uses the HTTP agent to obtain the status without using the UserParameter on the Zabbix agent side. In the default setting, it seems that the item "Apache: Get status" is set to access the following URL.

      Code:
      http://{HOST.CONN}:80/server-status?auto
      To change the URL to access, you need to change the settings of items or macros in the template "Template App Apache by HTTP".

      Since it is a connection to {HOST.CONN}, the IP address of the interface in the host setting will be specified. In an environment where server-status can be accessed only from localhost, status information cannot be obtained. Check if server-status can be accessed from Zabbix server.

      Git:

      Comment

      • pradeepmp
        Junior Member
        • Aug 2023
        • 19

        #4
        Same problem here. I have zabbix server 6.4. I am using zabbix -agent 2 to monitor Apache 2. Status module is loaded. But Not fetching data . Many variables showing as not supported.

        Comment

        • pradeepmp
          Junior Member
          • Aug 2023
          • 19

          #5
          My httpd.conf has folowing lines of code added at the bottom.

          <Location "/server-status">
          SetHandler server-status
          Order deny,allow
          Deny from all
          Allow from 192.168.1.171
          </Location>
          ExtendedStatus On

          Comment

          • pradeepmp
            Junior Member
            • Aug 2023
            • 19

            #6
            OS used is RHEL 7.9 both server & client. any advice how to sort this issue?

            Comment

            Working...