Ad Widget

Collapse

Access Map without Authentication

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tokiro
    Junior Member
    • Oct 2017
    • 9

    #1

    Access Map without Authentication

    Hi all,

    I was wondering if there is a way to access a map with an URL like
    Code:
    https://<zabbix IP/DNS>/zabbix.php?action=map.view&sysmapid=10
    But without the need of being authenticated.

    I know a way to by pass the login panel by adding a specific user with a "URL (after login)" profile parameter pointing to the desired map and to login with the URL like
    Code:
    https://<zabbix IP/DNS>/index.php?name=<login>&password=<password>&enter=Sign in
    But it's not what i'am looking for. I don't want to have to be logged in.

    I worked on ZABBIX 3.0.3.

    Any idea ?

    Thanks.
  • kaspars.mednis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2017
    • 349

    #2
    Have you tried the guest user ?
    But anyway, then you will need to pass at least username, and give guest user read-only access to all hosts included in maps, which may be not secure

    Regards
    Kaspars

    Comment

    • Tokiro
      Junior Member
      • Oct 2017
      • 9

      #3
      Does it matter if the guest user use the system default frontend access (we use LDAP Authentication as system default) ?

      Regards
      Tokiro

      Comment

      • kaspars.mednis
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2017
        • 349

        #4
        You can mix LDAP authorization with Zabbix internal authorization as needed


        Some user groups can still be authenticated by Zabbix. These groups must have frontend access set to Internal.
        Regards,
        Kaspars

        Comment

        • Tokiro
          Junior Member
          • Oct 2017
          • 9

          #5
          I've tried to access my map which was created by a ZABBIX Super Admin with the guest user but when i am logged in with the guest user i don't see this map in the map list.
          The guest user is a ZABBIX User in the guest user group which have the read permissions on all hosts in this map.
          The map sharing conf is :
          Code:
          Type : Private
          List of user group shares : zabbix-admin-group     Read-Write
                                      Guests                 Read-Only
          Regards
          Tokiro

          Comment

          • kaspars.mednis
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Oct 2017
            • 349

            #6
            Have you tried to make it public ?

            Go to all maps, and open properties of your map, there is a second tab sharing


            Regards,
            Kaspars

            Comment

            • Tokiro
              Junior Member
              • Oct 2017
              • 9

              #7
              Yes i have tried this, in that case all users have read & write access on this map.
              If a map is in public sharing, can I disable the write permission on it ?

              Regards
              Tokiro

              Comment

              • VA2XJM
                Junior Member
                • May 2019
                • 5

                #8
                It has been a while... but using ?enter=guest is working for me right now on 4.2.1

                Comment

                Working...