Skip to content

Commit

Permalink
improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
moreamazingnick committed Nov 21, 2024
1 parent 7f9b9bb commit c2910b4
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions doc/02-Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ After, you can import the schema using the following command:
mysql -p -u root selenium < /usr/share/icingaweb2/modules/selenium/schema/mysql.schema.sql
```

## Provide sudo permissions for www-data

In order for the HealthHooks to work you need to provide the following entries in the sudoers file:

```
www-data ALL = NOPASSWD: /usr/bin/systemctl restart icinga-selenium.service
www-data ALL = NOPASSWD: /usr/bin/systemctl status icinga-selenium.service
```
If your webserver group is not www-data adapt this lines to fit your needs

## Download the Selenium Chrome Web Driver

The module needs a webdriver placed under `/etc/icingaweb2/modules/selenium/binaries/chromedriver`.
Expand Down Expand Up @@ -79,14 +89,6 @@ You can run the following command to enable and start the daemon.
systemctl enable --now icinga-selenium.service
```

In order for the HealthHooks to work you need to provide the following entries in the sudoers file:

```
www-data ALL = NOPASSWD: /usr/bin/systemctl restart icinga-selenium.service
www-data ALL = NOPASSWD: /usr/bin/systemctl status icinga-selenium.service
```
If your webserver group is not www-data adapt this lines to fit your needs

## Set a Database / Choose a backend - Web

Create a Database as usual and set is a database for the selenium module
Expand Down

0 comments on commit c2910b4

Please sign in to comment.