release notes | Book: 1.9.5, 1.9.12 (opt, FHS), 2.6 (FHS), 2.7 (FHS), 2.8 (FHS), 2.9 (FHS), 2.10 (FHS), 2.11 (FHS), | 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.server.config

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

The logback configuration for the alarm server.

alarms.store.db.type

Default: xml

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

alarms.store.db.changelog

Default: org/dcache/alarms/db/sql/alarms.changelog-master.xml

Liquibase master changelog.

alarms.store.path

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

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

alarms.store.db.rdbms

Default: postgresql

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

alarms.store.db.driver

Default: org.postgresql.Driver

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

alarms.store.db.host

Default: localhost

RDBMS/JDBC Database host name.

alarms.store.db.user

Default:

RDBMS/JDBC Database user name.

alarms.store.db.pass

Default: no password

RDBMS/JDBC Database user password.

alarms.store.db.properties

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.

webadmin.alarm.cleaner.enabled

Default: true

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

webadmin.alarm.cleaner.timeout

Default: 168 (24 x 7 hours)

Wait interval between successive sweeps of the cleanup daemon.

webadmin.alarm.cleaner.delete-threshold

Default: 336 (24 X 14 hours)

Closed alarms will be deleted after this time.