Open your browser and enter the IP address of your web server plus /zabbix.
In our example, the following URL was entered in the Browser:
On the login screen, use the default username and default password.
• Default Username: Admin
• Default Password: zabbix
After a successful login, you will be sent to the Zabbix Dashboard.
On the dashboard screen, access the Administration menu and select the Authentication option.
On the Authentication screen, select the HTTP settings option.
You need to configure the following items:
• Enable HTTP authentication: Yes
• Default login form: HTTP login Form
• Case sensitive login: Yes
Click on the Update button.
After finishing your configuration, you should log off the Zabbix web interface.
Try to access the Zabbix server URL and verify if the Apache web server will request you to authenticate yourself.
On the login screen, use the Admin user and the password from the Apache htpasswd file.
• Username: Admin
• Password: Enter the Admin htpasswd password.
After a successfull login, you will be sent directly to the Zabbix dashboard.
Congratulations! You have configured the Zabbix HTTP authentication on Apache.
In order to authenticate an account using Apache HTTP the USer account MUST EXIST in the Apache HTPASWD file and on the Zabbix Local database.
If you configure the HTPASSWD authentication, this does not mean that you don't need to create the Account locally on the Zabbix dashboard.