Skip to main content

Selenium

Prerequisites​

Centreon Plugin​

Install this plugin on each needed poller:

yum install centreon-plugin-Applications-Selenium

Be sure that centreon-plugin-Applications-Selenium is installed and that the communication between your monitoring poller and the selenium server is OK on port 4444

Centreon Configuration​

Create a host using the appropriate template​

Go to Configuration > Hosts and click Add. Then, fill the form as shown by the following table:

FieldValue
Host nameName of the host
AliasHost description
IPHost IP Address
Monitored fromMonitoring Poller to use
Host Multiple TemplatesApp-Selenium-WAA-custom or App-Selenium-Katalon-custom

Click on the Save button.

Host Macro Configuration​

The following macros must be configured on host using App-Selenium-Katalon-custom template :

MacroDescriptionDefault value
SELENIUMHOSTNAMEHostname of the Selenium server
SELENIUMPORTPort of the Selenium server4444
SELENIUMBROWSERBrowser used by Selenium server*firefox
SCENARIODIRECTORYDirectory on the poller where the scenarii are stored/var/lib/centreon_waa

Click on the Save button.

Service Macro Configuration​

The following macros must be configured on the deployed services :

MacroDescription
SCENARIONAMEName of the scenario without extension

Click on the Save button.