Configuring the Service Activity Monitoring Server
The main configuration files for the Service Activity Monitoring Server are <Talend.runtime.dir>/container/etc/org.talend.esb.sam.server.cfg, <Talend.runtime.dir>/container/etc/org.talend.esb.sam.service.soap.cfg, <Talend.runtime.dir>/container/etc/org.talend.esb.sam.service.rest.cfg, and filter, handler configuration files.
The sam-server bundle is configured in the <Talend.runtime.dir>/container/etc/org.talend.esb.sam.server.cfg file.
Properties description:
Property |
Default |
Description |
---|---|---|
db.datasource | ds-derby | DataSource name used by the Service Activity Monitoring Server to store/query data. For J2EE or Tomcat, it should be like java:comp/env/<Resource name>, for OSGi container, use similar to ds-<Database>. |
db.dialect | derbyDialect | The database used to store/query Event data (with different ID Incrementer, Query, and so on.) |
For Derby:
db.datasource=ds-derby
db.dialect=derbyDialect
For H2 Database Engine:
db.datasource=ds-h2
db.dialect=h2Dialect
For Mysql:
db.datasource=ds-mysql
db.dialect=mysqlDialect
For Oracle:
db.datasource=ds-oracle
db.dialect=oracleDialect
For IBM DB2:
db.datasource=ds-db2
db.dialect=DB2Dialect
For SQL Server:
db.datasource=ds-sqlserver
db.dialect=sqlServerDialect
For PostgreSQL:
db.datasource=ds-postgresql
db.dialect=postgresqlDialect
The sam-service-soap bundle is configured in the <Talend.runtime.dir>/container/etc/org.talend.esb.sam.service.soap.cfg file.
Properties description:
Property |
Default |
Description |
---|---|---|
monitoringServiceUrl | /MonitoringServiceSOAP | The address URL published by the Service Activity Monitoring Server |
The sam-service-rest bundle is configured in the <Talend.runtime.dir>/container/etc/org.talend.esb.sam.service.rest.cfg file.
Property |
Default |
Description |
---|---|---|
sam.authentication | NO |
NO - No security scenario SAML - SAML token scenario BASIC - Basic scenario |
security.signature.properties | file:${tesb.home}/etc/keystores/serviceKeystore.properties |
Link to the properties file which contains signature parameters. |
security.signature.username | myservicekey |
The signature username. |
security.signature.password | skpass |
The signature password. |
For filter and handler configuration, please refer to Configuring the Service Activity Monitoring Agent.