Ad Widget

Collapse

Zabbix Linux Agents Do Not Respond to Apache Requests

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sagaroth
    Junior Member
    • Sep 2020
    • 4

    #1

    Zabbix Linux Agents Do Not Respond to Apache Requests

    Hello to all,

    I'm desperately trying to monitor Apache servers hosted on Debian.
    The Zabbix agents are installed, the ports are open, the Apache status mods are configured and installed and the Apache By Zabbix template is properly configured on my hosts at my server level.

    Nevertheless, when I do a pre-processing test on one of the servers, an empty response without a return code is returned to me.

    Click image for larger version

Name:	firefox_h9ePbVjnVc.png
Views:	210
Size:	27.0 KB
ID:	408337

    On the other hand, when I try this same pre-processing on my server itself, or on a server with the Windows Agent configured, a code 200 with the data is sent back to me.

    Click image for larger version

Name:	firefox_cvaDbAf6Qa.png
Views:	179
Size:	28.8 KB
ID:	408338
    I'm starting to run out of ideas. Do you have a lead that could help me solve this problem?

    Thank you!



  • isaqueprofeta
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2020
    • 154

    #2
    What's the result of doing an equivalent curl request to the Debian Server from Zabbix Server command line?

    Comment

    • Sagaroth
      Junior Member
      • Sep 2020
      • 4

      #3
      Originally posted by isaqueprofeta
      What's the result of doing an equivalent curl request to the Debian Server from Zabbix Server command line?
      Hey,

      CURL on http://10.10.100.50/server-status?auto sends me back the content of the page. (Code 200)
      At the same time, I tried to contact my remote agent from my Zabbix server via the command zabbix_get on port 10050 and it works too.
      Last edited by Sagaroth; 03-09-2020, 10:05.

      Comment

      • isaqueprofeta
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Aug 2020
        • 154

        #4
        Originally posted by Sagaroth

        CURL on http://10.10.100.50/server-status?auto sends me back the content of the page. (Code 200).
        Strange... the answer of zabbix-server curl in the command line should be the same as testing from frontend... are you sure it's the same server and the same configurations?


        Originally posted by Sagaroth
        At the same time, I tried to contact my remote agent from my Zabbix server via the command zabbix_get on port 10050 and it works too.
        BTW, the agent does not have a place here, HTTP Agent requests are made directly from zabbix-server and/or zabbix-proxy and does not depend on agent to work.

        Comment

        Working...