Ad Widget

Collapse

Zabbix with HTTP authentication

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Urh
    Junior Member
    • Jul 2025
    • 2

    #1

    Zabbix with HTTP authentication

    Hi everyone,

    I'm trying to set up HTTP authentication with Zabbix, but I'm having trouble figuring out how to configure it correctly. I've looked through the documentation and searched online, but I didn't find anything use full.
    1. How to enable HTTP authentication on the Zabbix server.
    2. Which headers are required or expected when sending the request.

    Right now, I’m just not sure how to continue. I don’t even know what exact headers need to be set for authentication to work.

    If anyone has successfully set up HTTP authentication with Zabbix, could you please share the steps or a working configuration example?

    Thanks in advance!
  • Brambo
    Senior Member
    • Jul 2023
    • 245

    #2
    Well if you mean a http agent item, it really can't be more clear than this: Click image for larger version

Name:	image.png
Views:	77
Size:	59.0 KB
ID:	505749
    If you mean authentication to login, well default you have to provide credentials to login at all.
    Be a bit more specific what you trying to accomplish
    If authentication is done with headers than you need to set these in the Headers section. But getting data is the easy part, parsing it with pre-processing and/or discovery/dependant items make it more fun

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      I think OP asks for instructions how to login to Zabbix using http auth.. That part should be looked up from web server manual... for example https://httpd.apache.org/docs/2.4/howto/auth.html

      Comment

      • Urh
        Junior Member
        • Jul 2025
        • 2

        #4
        Yes i am trying to login to Zabbix using http auth. I am gonna be using proxy so i don't need to create another file what i may have missed is that i want to know ​is how to configure it on server not on web-server but on my VM. So some thing i missed as well is that i have zabbix in docker container and am using nginx.
        I will add some pictures what kind of error i got after enabling it on web server.

        Click image for larger version

Name:	image.png
Views:	56
Size:	17.5 KB
ID:	505825Click image for larger version

Name:	image.png
Views:	55
Size:	14.6 KB
ID:	505826Click image for larger version

Name:	image.png
Views:	55
Size:	16.4 KB
ID:	505827​​​
        Attached Files

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5
          You need to configure this on your webserver... You are giving all auth duties over to a webserver and do not switch it on (in zabbix UI), if it does not work properly...

          Comment

          Working...