aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/monitoring.scm
Commit message (Collapse)AuthorAge
* prometheus-node-exporter: Support extra options.Christopher Baines2020-12-07
| | | | | | | | | | There are plenty of options supported that the Guix configuration record doesn't help you with, so add this field to allow users to do their own thing. * gnu/services/monitoring.scm (<prometheus-node-exporter-configuration>): Add extra-options field. (prometheus-node-exporter-shepherd-service): Handle the extra options. * doc/guix.texi (Prometheus Node Exporter Service): Document this.
* prometheus-node-exporter: Enable the textfile collector.Christopher Baines2020-12-07
| | | | | | | | | | | * gnu/services/monitoring.scm (<prometheus-node-exporter-configuration>): Add textfile-directory. (prometheus-node-exporter-textfile-directory, prometheus-node-exporter-activation): New procedures. (prometheus-node-exporter-shepherd-service): Pass --collector.textfile.directoryto the service. (prometheus-node-exporter-service-type): Extend the activation service type. * doc/guix.texi (Prometheus Node Exporter Service): Document.
* services: prometheus-node-exporter: Use a log file.Christopher Baines2020-12-07
| | | | | | | This makes the logs easier to find and read. * gnu/services/monitoring.scm (prometheus-node-exporter-shepherd-service): Pass #:log-file to make-forkexec-constructor.
* prometheus-node-exporter: Add user and group.Christopher Baines2020-12-07
| | | | | | | | | | So it doesn't run as root, and because this will help with the textfile exporter. * gnu/services/monitoring.scm (%prometheus-node-exporter-accounts): New variable. (prometheus-node-exporter-shepherd-service): Use the relevant user and group. (prometheus-node-exporter-service-type): Extend the account service type.
* services: prometheus-node-exporter: Neaten up.Christopher Baines2020-12-07
| | | | | | | | Add relevant exports, as well as a comment to better indicate where the relevant code starts. * gnu/services/monitoring.scm (prometheus-node-exporter-service-type): Capitalise Prometheus.
* services: zabbix-agent: Delete not mandatory hostname configuration.Oleg Pykhalov2020-11-29
| | | | | * gnu/services/monitoring.scm (zabbix-agent-configuration)[hostname]: Set to empty string.
* services: Remove imports of (ice-9 …) modules.Ludovic Courtès2020-11-05
| | | | | | | | * gnu/services/monitoring.scm (zabbix-server-activation): Remove (ice-9 rdelim) from the imported modules. (zabbix-agent-activation): Likewise. * gnu/tests/mail.scm (run-exim-test)[test]: Remove (ice-9 ftw) from the imported modules.
* gnu: zabbix-agentd: Update to 4.4.1.Oleg Pykhalov2019-11-03
| | | | | | * gnu/packages/monitoring.scm (zabbix-agentd): Update to 4.4.1. * gnu/services/monitoring.scm (%zabbix-front-end-configuration-nginx): Add listen record field.
* gnu: darkstat-service-type: Fix typo "statistics".Vagrant Cascadian2019-05-22
| | | | * gnu/services/monitoring (darkstat-service-type)[description]: Fix typo.
* gnu: Update copyright line.Gábor Boskovits2019-05-15
| | | | * gnu/services/monitoring.scm: Update copyright line.
* services: prometheus-node-exporter add default.Gábor Boskovits2019-05-13
| | | | | * gnu/services/monitoring.scm (prometheus-node-exporter-service-type): Add default-value with default configuration.
* services: zabbix-front-end: Show location in messages.Oleg Pykhalov2019-03-10
| | | | | * gnu/services/monitoring.scm (zabbix-front-end-config): Show location in messages.
* services: Use 'file-append' for user account shells.Ludovic Courtès2019-03-04
| | | | | | | | | * gnu/services/cuirass.scm (cuirass-account): Use 'file-append' instead of #~(string-append #$shadow "/sbin/nologin"). * gnu/services/monitoring.scm (zabbix-server-account): Likewise. (zabbix-agent-account): Likewise. * gnu/services/rsync.scm (rsync-account): Likewise. * gnu/services/ssh.scm (%openssh-accounts): Likewise.
* services: zabbix-front-end: Tweak error and hint messages.Ludovic Courtès2018-12-20
| | | | | * gnu/services/monitoring.scm (zabbix-front-end-config): Adjust error and hint mssages.
* services: zabbix-front-end: Improve hint and error messages.Oleg Pykhalov2018-12-19
| | | | | * gnu/services/monitoring.scm (zabbix-front-end-config): Improve hint and error messages.
* services: monitoring: Add 'zabbix-front-end'.Oleg Pykhalov2018-12-17
| | | | | | | | | | * gnu/services/monitoring.scm (nginx-server-configuration-list?, serialize-nginx-server-configuration-list, zabbix-front-end-configuration, zabbix-front-end-config, zabbix-front-end-activation, generate-zabbix-front-end-documentation): New procedures. (%zabbix-front-end-configuration-nginx, %maintenance.inc.php, zabbix-front-end-service-type): New variables. * doc/guix.texi (Monitoring Services): Document this.
* services: monitoring: Add 'zabbix-agent'.Oleg Pykhalov2018-12-17
| | | | | | | | | | | * gnu/services/monitoring.scm (zabbix-server-service-type, zabbix-agent-account, zabbix-agent-activation, zabbix-agent-config-file, zabbix-agent-shepherd-service, generate-zabbix-agent-documentation): New procedures. (zabbix-agent-service-type): New 'service-type'. * gnu/tests/monitoring.scm (run-zabbix-server-test): Test 'zabbix-agent'. (%zabbix-os): Add 'zabbix-agent' service. * doc/guix.texi (Monitoring Services): Document 'zabbix-agent'.
* services: monitoring: Add 'zabbix-server'.Oleg Pykhalov2018-12-17
| | | | | | | | | | | | | | | | | * gnu/services/monitoring.scm (uglify-field-name, serialize-field, serialize-number, serialize-list, serialize-string, group?, serialize-group, include-files?, serialize-include-files, zabbix-server-account, zabbix-server-config-file, zabbix-server-activation, zabbix-server-shepherd-service, generate-zabbix-server-documentation, extra-options, serialize-extra-options): New procedures. (zabbix-server-service-type): New variable. * gnu/tests/monitoring.scm (%psql-user-create-zabbix, %psql-db-zabbix-create-script, %psql-db-create-zabbix, %psql-db-import-zabbix, %zabbix-os, %test-zabbix): New variables. (run-zabbix-server-test): New procedure. * doc/guix.texi (Monitoring Services): Document 'zabbix-server'. squash! services: monitoring: Add 'zabbix-server'.
* services: Add prometheus-node-exporter-service-type.Gábor Boskovits2018-07-09
| | | | | | | | | | * gnu/services/monitoring.scm (prometheus-node-exporter-service-type): New variable. (<prometheus-node-exporter-configuration>): New record type. (prometheus-node-exporter-shepherd-service): New procedure. * gnu/doc/guix.texi (Monitoring Services): Document it. * gnu/tests/monitoring.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add test module.
* gnu: services: Add darkstat service.宋文武2018-01-08
* gnu/services/monitoring.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Monitoring Services): Document it.