Ad Widget

Collapse

Zabbix 5.2: ERR_ACCESS_DENIED when adding template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Valelinn
    Junior Member
    • Feb 2018
    • 8

    #1

    Zabbix 5.2: ERR_ACCESS_DENIED when adding template

    Hello,

    I'm running Zabbix 5.2.0. When I try to import new templates from Zabbix (templates from the download and un-zipped Zabbix 5.2 Git repo, not custom ones), once I click Import I receive the Chrome error (even on an Incognito browser):

    This site can’t be reached
    The webpage at https://<Zabbix URL>/conf.import.php might be temporarily down or it may have moved permanently to a new web address.
    ERR_ACCESS_DENIED

    On Firefox, once I click Import, the page reloads, but there is no message, and no template is added.

    I'm not sure if this is a bug or something specific to myself. Is there anyone else who is/isn't experiencing this issue?

    Thank you,

    Jordan
  • AVP.Riga
    Member
    • Oct 2020
    • 59

    #2
    Hello,

    Please try to use some other browser or clean current browser history and restart it or try to use incognito/private mode/windows/tab for testing purposes.

    Comment

    • Valelinn
      Junior Member
      • Feb 2018
      • 8

      #3
      Hi Riga,

      As I mentioned, I tried Chrome Incognito and Firefox, but still nothing. But now, after changing absolutely nothing, it's working just fine. So, problem solved I guess?

      Jordan

      Comment


      • AVP.Riga
        AVP.Riga commented
        Editing a comment
        I think it was some kind of cache... Maybe zabbix_server or Web-server cache...
    • Singularity
      Member
      • Aug 2020
      • 81

      #4
      The words "Access Denied" primarily suggest the user is not allowed to add templates. The user group to which the user is added to needs to be authorized to do so.
      Did you used the same user or some other user when template got successfully uploaded ?

      Comment

      • Valelinn
        Junior Member
        • Feb 2018
        • 8

        #5
        Nope, same user name. I'm a super admin and no one else but me would have changed any user roles, so unfortunately that doesn't explain things.

        Comment

        • barannikov
          Junior Member
          • Jun 2023
          • 6

          #6
          Same issue happened to me after upgrading to 6.4, I am a super admin, it used to work ok before update now it throws access denied error after I try adding AWS HTTP template. Any help is highly appreciated.

          Comment


          • forums-to-speak
            forums-to-speak commented
            Editing a comment
            hello, I had this issue and did some digging around. I thought the issue was something on zabbix but i found out it was permissions on my computer. If you created a template with root user then root user owns that file and cannot be accessed by zabbix if they are using a different user account. I don't have zabbix set up to root user I have it set to normal users so I had to use the Chown command to fix this.
        Working...