Skip to main content

Enviromental configuration

The documentation to be provided by the area requesting the monitoring is:
- host: Server hosting the Tomcat service.
- port: Port on which Tomcat is listening.
- user: user to authenticate to Tomcat.
- pass: password to authenticate to Tomcat.
- https: https (1) or http (0) mode.
- Have the necessary permissions so that from the machine itself you can make a curl to the page
page in question (a username and password in tomcat-users.xml enabled to access the content of the page).
page).
The user must be configured to have the manager-script role, which can also see the list of instances.

<user username="user" password="password" roles="manager-script" />

This part of the tomcat-users.xml file looks like this:

<tomcat-users>
<!-- otros roles -->
<role rolename="manager-script"/>
<!-- otros usuarios -->
<user username="username" password="password" roles="manager-script" />
</tomcat-users>

- Enable access to this page as well as roles to assign to users so that they can obtain its content.
content.
- Know Tomcat version to know the scope of monitoring (compatibility mode, for versions <= 6.
versions <= 6.X).