I’ve installed the Icinga2 Web Reporting module and works as advertised. However, I’m looking to automate sending out monthly reports and would like to indicate the email subject for which period the report is for. For instance, when sending the last month report, I’d like to have the subject line look like:
SLA Report for September '23.
Is this possible?
Server Details
-
Icinga Web 2 version: 2.11.4
-
Used modules and their versions (System - About)
Loaded Modules idoreports 0.10.1 Configure monitoring 2.11.4 Configure pdfexport 0.10.2 Configure reporting 0.10.0 Configure Copyright © 2013-2023 Icinga GmbH
-
Icinga 2 version used (
icinga2 --version
)[2023-10-30 14:51:01 +1100] warning/Application: Failed adjust resource limit for number of processes (RLIMIT_NPROC) with error "Operation not permitted" [2023-10-30 14:51:01 +1100] warning/Application: Failed adjust resource limit for number of processes (RLIMIT_NPROC) with error "Operation not permitted" icinga2 - The Icinga 2 network monitoring daemon (version: r2.14.0-1) Copyright (c) 2012-2023 Icinga GmbH (https://icinga.com/) License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl2.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. System information: Platform: Ubuntu Platform version: 22.04.3 LTS (Jammy Jellyfish) Kernel: Linux Kernel version: 6.2.0-1014-aws Architecture: x86_64 Build information: Compiler: GNU 11.3.0 Build host: runner-hh8q3bz2-project-575-concurrent-0 OpenSSL version: OpenSSL 3.0.2 15 Mar 2022 Application information: General paths: Config directory: /etc/icinga2 Data directory: /var/lib/icinga2 Log directory: /var/log/icinga2 Cache directory: /var/cache/icinga2 Spool directory: /var/spool/icinga2 Run directory: /run/icinga2 Old paths (deprecated): Installation root: /usr Sysconf directory: /etc Run directory (base): /run Local state directory: /var Internal paths: Package data directory: /usr/share/icinga2 State path: /var/lib/icinga2/icinga2.state Modified attributes path: /var/lib/icinga2/modified-attributes.conf Objects path: /var/cache/icinga2/icinga2.debug Vars path: /var/cache/icinga2/icinga2.vars PID path: /run/icinga2/icinga2.pid
-
PHP version used (
php --version
)PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.2, Copyright (c) Zend Technologies with Zend OPcache v8.1.2-1ubuntu2.14, Copyright (c), by Zend Technologies
-
Server operating system and version
$ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.3 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy