Ad Widget

Collapse

How to change zabbix URL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • reygie
    Junior Member
    • Jul 2023
    • 1

    #1

    How to change zabbix URL


    I am hitting error when sending API call to Zabbix because the community ansible module for zabbix is using
    HTML Code:
    http://FQDN/zabbix/zabbix.php
    . I have tried to send a normal API curl command to
    HTML Code:
    http://FQDN/zabbix/zabbix.php
    as well and its failing as well.
    Then I have sent another test curl command to and it works well.

    We would like to add /zabbix on our URL path so the zabbix community ansible script would work. Any suggestions?
    Thanks in advance

    Our setup
    Mysql
    PHP
    NGINX
  • Vermizz
    Member
    • Oct 2022
    • 33

    #2
    Hi,
    Did you modify you nginx configuration?
    Maybe this help, but do this only for test:
    1. Log in to your Zabbix server's web interface.
    2. Go to "Administration" > "General" > "Other" > "Frontend URLs."
    3. In the "Frontend base URL" field, add /zabbix at the end of the URL. For example, if your current URL is http://FQDN/zabbix, change it to http://FQDN/zabbix/zabbix.php.
    4. Click "Update" to save the changes.

    Comment

    Working...