Skip to content

Commit

Permalink
Version 34 ('Heatwaves')
Browse files Browse the repository at this point in the history
Signed-off-by: Davide Madrisan <[email protected]>
  • Loading branch information
madrisan committed Aug 8, 2024
1 parent 82eca63 commit 961ce67
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 3 deletions.
78 changes: 78 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,81 @@
## Version 34 ("Heatwaves")
### Aug 8th, 2024

#### FIXES

##### Build

* Missing header `npl_selinux.h` in Makefile (`noinst_HEADERS`).

##### Libraries

* `lib/container`: docker API versions before v1.24 are deprecated, so 1.24 is set as the minimum version required.
* `lib/sysfsparser`: fix gcc warning: ‘crit_temp’ may be used uninitialized.
* `lib/sysfsparser`: better signature for function `sysfsparser_getvalue`.

##### Contrib (Icinga2)

* Fix Icinga2 config for check_clock by Lorenz Kästle.
Previously the time reference value was evaluated only during the startup of Icinga 2 and therefore a fixed point in time.
This change makes it a function which gets evaluated every time the check is executed.

#### ENHANCEMENTS

##### Plugin check_ifmount

* Add the cmdline switch -l|--list to list the mounted filesystems. Same output as the 'mount' command executed without options).

##### Plugin check_selinux

* New plugin `check_selinux` that checks if SELinux is enabled.

##### Package creation

* Add Linux Alpine 3.20 and drop version 3.17
* Add Fedora 40, drop Fedora 38

##### Documentation

* Fix typo
* Add a link to discussion #147
* Add a note on the Debian package nagios-plugins-contrib

### GIT DIFF
```
$ git diff --stat 366a9d745fb62ccd64e05ea5916eb4988ec55d2b HEAD
.github/workflows/build-checks.yml | 4 ++--
README.md | 21 +++++++++++++++------
contrib/icinga2/CheckCommands.conf | 2 +-
debian/Makefile.am | 3 ++-
debian/control | 13 ++++++++++++-
debian/copyright | 2 +-
debian/nagios-plugins-linux-selinux.install | 1 +
include/Makefile.am | 1 +
include/mountlist.h | 1 +
include/npl_selinux.h | 27 +++++++++++++++++++++++++++
include/sysfsparser.h | 4 ++--
include/testutils.h | 1 -
lib/Makefile.am | 1 +
lib/cpudesc.c | 5 ++++-
lib/cputopology.c | 5 ++++-
lib/meminfo.c | 4 ++--
lib/mountlist.c | 24 ++++++++++++++++++++++++
lib/npl_selinux.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
lib/sysfsparser.c | 41 ++++++++++++++++++++++++++---------------
packages/Makefile.am | 10 +++++-----
packages/multibuild.sh | 8 +++++---
packages/specs/nagios-plugins-linux.spec.in | 12 ++++++++++++
plugins/Makefile.am | 3 +++
plugins/check_fc.c | 14 +++++++++++---
plugins/check_ifmountfs.c | 28 ++++++++++++++++++++++++----
plugins/check_network.c | 2 +-
plugins/check_selinux.c | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
plugins/check_temperature.c | 7 ++++---
tests/Makefile.am | 3 +--
tests/ts_sysdockermemstat.data | 40 ----------------------------------------
30 files changed, 395 insertions(+), 95 deletions(-)
```

## Version 33 ("Śmigus-Dyngus")
### Apr 1st, 2024

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
33
34
13 changes: 11 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
nagios-plugins-linux (34-1) stable; urgency=low
* Release 34 "Heatwaves":
- New plugin check_selinux that checks if SELinux is enabled
- check_ifmount: add the cmdline switch -l|--list to list the mounted filesystems
- lib/container: docker API versions before v1.24 are deprecated, so 1.24 is set as the minimum version required
- lib/sysfsparser: fix gcc warning: crit_temp may be used uninitialized
- lib/sysfsparser: better signature for function sysfsparser_getvalue
- Minor fixes

nagios-plugins-linux (33-1) stable; urgency=low
* Release 33 "Śmigus-Dyngus":
- Podman 3.0+ API support in check_container and fixes
- build: rename --with-systemd to --enable-systemd.
- build: rename --with-systemd to --enable-systemd
- fix: remove comma from perfdata in check_memory
- fix build with --enable-libprocps
- tests: fix tests on 32-bit architectures
Expand All @@ -10,7 +19,7 @@ nagios-plugins-linux (33-1) stable; urgency=low

nagios-plugins-linux (32-1) stable; urgency=low
* Release 32 "Gematria":
- Fixes in check_network, check_users, and check_cpufreq.
- Fixes in check_network, check_users, and check_cpufreq

-- Davide Madrisan <[email protected]> Thu, 25 Jan 2024 22:44:00 +0200

Expand Down

0 comments on commit 961ce67

Please sign in to comment.