
- Snapped binary packages of Filebeat, NRPE and Telegraf (disabled by default) - Added W/A of Telegraf segfault after ELF patching by snapcraft - Implemented IPMI input tuning for Telegraf - Allowed to run NRPE as root:root (from custom PPA) - Implemented Filebeat, NRPE and Telegraf control scripts and config on top of snap-overlay - Added support for checking Microstack systemd services by NRPE - Added few generic and Microstack-specific NRPE checks - Added possibility to override default config paths for the daemons - Added support for in-band IPMI input to Telegraf - Stick LMA wrappers and services naming to Microstack conventions - Increase build timeout in .zuul conf by 30min Change-Id: I68dbdb11248cf0c1e22e9333af3cf0f88954f557
12 lines
421 B
Bash
Executable File
12 lines
421 B
Bash
Executable File
#!/bin/bash
|
|
|
|
mkdir -p $SNAP_COMMON/var/filebeat
|
|
mkdir -p $SNAP_COMMON/var/log/filebeat
|
|
mkdir -p $SNAP_COMMON/etc/filebeat/filebeat.conf.d
|
|
|
|
$SNAP/usr/share/filebeat/bin/filebeat -c "$(snapctl get config.logging.custom-config)" \
|
|
-path.home $SNAP/usr/share/filebeat/ \
|
|
-path.config $SNAP_COMMON/etc/filebeat/filebeat.conf.d \
|
|
-path.data $SNAP_COMMON/var/filebeat \
|
|
-path.logs $SNAP_COMMON/var/log/filebeat
|