Ad Widget

Collapse

HTTP Agent Error 401

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Georgy
    Junior Member
    • Oct 2021
    • 2

    #1

    HTTP Agent Error 401

    Hello everyone,

    I'm having trouble forcing zabbix through the auth error of 401.
    I'm using the HTTP Agent on the URL : IP:8443/axl (POST)


    On the documentation website :
    "For internal users who are unable to log in using HTTP credentials (with HTTP login form set as default) leading to the 401 error, you may want to add a ErrorDocument 401 /index.php?form=default line to basic authentication directives, which will redirect to the regular Zabbix login form."

    But i'm not sure where to add the "ErrorDocument 401 /index.php?form=default" line to bypass the 401 error

    I hope that i'm clear in my message!
    Can anyone help me out?
    Thank you!

  • niveastn
    Member
    • Oct 2021
    • 82

    #2
    Hey there

    this is a conf you have to add on your web server (nginx or apache)

    /your/web/server/dir/conf.d/zabbix.conf

    Comment

    Working...