summaryrefslogtreecommitdiffstats
path: root/recipes-extended/nagios
Commit message (Collapse)AuthorAgeFilesLines
* k3s, kubernetes, nagios-nrpe: fix Upstream-Status formattingMartin Jansa2023-05-081-1/+1
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* treewide: bulk update patches with status fieldBruce Ashfield2023-01-273-0/+6
| | | | | | | | | | | | | | | While the insane.bbclass upstream-status check hasn't been made default, users of meta-virtualization may have it enabled in their distros .. so the effect is the same. We must have this tracking tag in out patches. This is a bulk update to add the tag and silence the QA message. As packages get updated, the normal/routine process of checking the patches will continue, and the status fields may (or may not) get more useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: update licence values to SPDX valuesBruce Ashfield2022-02-184-4/+4
| | | | | | | | | | These changes are the result of running the convert-spdx-licenses.py oe-core script. There's no impact to the build, but we will avoid issues when interacting with core QA by the alignment. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios: update to use SKIP_RECIPEBruce Ashfield2022-02-044-4/+4
| | | | | | | oe-core has remove PNBLACKLIST in favour of SKIP_RECIPE, so we update our recipe accordingly to avoid warnings. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: overrides syntax conversionBruce Ashfield2021-08-025-39/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OEcore/bitbake are moving to use the clearer ":" as an overrides separator. This is pass one of updating the meta-virt recipes to use that syntax. This has only been minimally build/runtime tested, more changes will be required for missed overrides, or incorrect conversions Note: A recent bitbake is required: commit 75fad23fc06c008a03414a1fc288a8614c6af9ca Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sun Jul 18 12:59:15 2021 +0100 bitbake: data_smart/parse: Allow ':' characters in variable/function names It is becomming increasingly clear we need to find a way to show what is/is not an override in our syntax. We need to do this in a way which is clear to users, readable and in a way we can transition to. The most effective way I've found to this is to use the ":" charater to directly replace "_" where an override is being specified. This includes "append", "prepend" and "remove" which are effectively special override directives. This patch simply adds the character to the parser so bitbake accepts the value but maps it back to "_" internally so there is no behaviour change. This change is simple enough it could potentially be backported to older version of bitbake meaning layers using the new syntax/markup could work with older releases. Even if other no other changes are accepted at this time and we don't backport, it does set us on a path where at some point in future we could require a more explict syntax. I've tested this patch by converting oe-core/meta-yocto to the new syntax for overrides (9000+ changes) and then seeing that builds continue to work with this patch. (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* Revert "nagios-nsca: blacklist recipe due to unsupported libmcrypt"hongxu2021-07-071-2/+0
| | | | | | | | | The libmcrypt build issue has been fixed by oe This reverts commit e7a0ea3e0fc43f6c2ec8fee70ec1315014ffbec1. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-*: add conditional PNBLACKLIST, because of the dependency on ↵Martin Jansa2021-04-064-0/+8
| | | | | | | meta-webserver Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-core: update RDEPENDSChangqing Li2021-03-091-1/+1
| | | | | | | | | | | | fix following error during do_rootfs: nothing provides php needed by nagios-core-4.4.6-r0.corei7_64 (try to add '--skip-broken' to skip uninstallable packages) Since commit c4ffcaa2 [php: split out phpdbg into a separate package], package php is empty. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-nsca: blacklist recipe due to unsupported libmcryptYi Fan Yu2021-02-071-0/+2
| | | | | | | | | | | | nagios-nsca depends on libmcrypt... However, libmcrypt is considered as abandonware The last release was in 2007. libmcrypt might not be building properly with the upgrade of autoconf to 2.71. Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-core: fix do_install during cross buildssakib.sajal@windriver.com2020-11-191-3/+1
| | | | | | | | | | | | | | | Upstream started stripping built binaries by default, using HOSTTOOLS install to strip binaries that are different in architecture from the host, raising errors: strip: Unable to recognise the format of the input file TOPDIR/tmp-glibc/hosttools/install: strip process terminated abnormally Hence, build unstripped binaries and let oe build system strip the binaries during do_package. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-core: uprev v4.4.3 -> v4.4.6sakib.sajal@windriver.com2020-11-031-2/+4
| | | | | | | | | | Minor upgrade including bug and CVE fixes namely CVE-2020-13977 Testing: Built, booted and started nagios-core service without any errors. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-core: use /run instead of /var/run in systemd service fileChen Qi2020-10-271-1/+1
| | | | | | | | /var/run has been deprecated by systemd, so use /run instead, as suggested by systemd. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-nsca: use /run instead of /var/run in systemd service fileChen Qi2020-10-271-1/+1
| | | | | | | | /var/run has been deprecated by systemd, so use /run instead, as suggested by systemd. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-core: fix build failure for gcc-10Chen Qi2020-09-021-0/+3
| | | | | | | | | | gcc-10 uses '-fno-common' by default, which results in build error complaining multiple definition. Use '-fcommon' to fix this problem. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-nrpe: Fix CVE-2020-6581sakib.sajal@windriver.com2020-05-022-0/+31
| | | | | | | Backport fix for CVE-2020-6581 Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-nrpe: uprev v3.2.1 => v4.0.2sakib.sajal@windriver.com2020-04-151-3/+6
| | | | | Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-nrpe: fix compile error when packageconfig ssl enabledKai Kang2019-12-291-1/+1
| | | | | | | | | | | | | | | | It fails to compile nagios-nrpe when packageconfig ssl enabled: | ./nrpe.c:45:12: fatal error: ../include/dh.h: No such file or directory | 45 | # include "../include/dh.h" | | ^~~~~~~~~~~~~~~~~ | compilation terminated. Header file include/dh.h is created by native openssl called by configure script. If no native openssl exists, no header file is created. Add openssl-native to dependency for packageconfig ssl. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-core/nagios-nrpe: use update-alternatives for /var/nagiosChangqing Li2019-08-062-2/+9
| | | | | | | | | fix below error: Error: Transaction check error: file /var/nagios from install of nagios-core-4.4.3-r0.core2_64 conflicts with file from package nagios-nrpe-daemon-3.2.1-r0.core2_64 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-nrpe: fix systemd service start failedChangqing Li2019-06-101-2/+1
| | | | | | | | | | | | | | | Jun 06 01:44:51 qemux86 systemd[1]: Started Nagios nrpe plugin. Jun 06 01:44:51 qemux86 nrpe[1263]: Starting up daemon Jun 06 01:44:51 qemux86 nrpe[1263]: Cannot write to pidfile '/var/nagios/nrpe.pid' - check your privileges. Jun 06 01:44:51 qemux86 systemd[1]: nagios-nrpe.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jun 06 01:44:51 qemux86 systemd[1]: nagios-nrpe.service: Failed with result 'exit-code' In configuration file /etc/nagios/nrpe.cfg, the pidfile is under /var/nagios. fix by stop rm the /var/nagios, and include it into daemon packages Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-core: add CVE_PRODUCTChen Qi2019-05-101-0/+2
| | | | | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-core: uprev to v4.4.3Hongzhi.Song2019-03-171-2/+2
| | | | | Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-nsca: uprev to v2.9.2Hongzhi.Song2019-03-172-57/+4
| | | | | Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nagios-plugins: add recipe with latest stable version 2.2.1Chen Qi2018-09-061-0/+73
| | | | | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nagios-nsca: add recipe with latest stable version 2.9.1Chen Qi2018-09-064-0/+216
| | | | | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nagios-nrpe: add recipe with latest stable version 3.2.1Chen Qi2018-09-065-0/+216
| | | | | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nagios-core: add recipe with latest stable version 4.4.2Chen Qi2018-09-069-0/+464
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>