release notes | Book: 2.10, 2.11, 2.12, 2.13, 2.14, 2.15, 2.16, 3.0, 3.1, 3.2 | Wiki | Q&A black_bg
Web: Multi-page, Single page | PDF: A4-size, Letter-size | eBook: epub black_bg

Properties of the alarms Service

This is a set of properties you might want to modify. Check the files /usr/share/dcache/alarms.properties and /usr/share/dcache/httpd.properties for the complete list.

alarms.dir

Default: /var/lib/dcache/alarms

The main alarms area.

alarms.server.port

Default: 60001

The port on which the alarm server will listen.

alarms.server.host

Default: localhost

The host on which the alarms service is running.

alarms.log.config.path

Default: ${alarms.dir}/logback-server.xml

The logback configuration for the alarm server.

httpd.alarms.db.type

Default: xml

Defines what kind of database (either XML or PostgreSQL). Set httpd.alarms.db.type=rdbms to use PostgreSQL.

httpd.alarms.db.xml.path

Default: ${alarms.dir}/alarms.xml

The path of the alarms.xml. Used if httpd.alarms.db.type=xml.

alarms.db.rdbms.type

Default: postgresql

If this value is changed from its default the httpd.alarms.db.driver property must also be changed.

httpd.alarms.db.driver

Default: org.postgresql.Driver

This property should give the correct namespace for the RDBMS set by the property alarms.db.rdbms.type.

alarms.db.host

Default: localhost

RDBMS/JDBC Database host name.

httpd.alarms.db.user

Default:

RDBMS/JDBC Database user name.

httpd.alarms.db.password

Default: no password

RDBMS/JDBC Database user password.

httpd.alarms.db.config.path

Default: ${alarms.dir}/datanucleus.properties

Path for overriding the internally set DAO (DataNucleus) properties for alarm storage, for instance, to configure an RDBMS database; will be used only if the URL does not point to the XML default.

httpd.enable.alarm-cleaner

Default: true

If set to true a thread which automatically removes closed alarms older than a given threshold will run.

httpd.alarm-cleaner.timeout

Default: 168 (24 x 7 hours)

Wait interval between successive sweeps of the cleanup daemon.

httpd.alarm-cleaner.delete-entries-before

Default: 336 (24 X 14 hours)

Closed alarms will be deleted after this time.