| 1 | ## Version 34 ("Heatwaves") |
| 2 | ### Aug 8th, 2024 |
| 3 | |
| 4 | #### FIXES |
| 5 | |
| 6 | ##### Build |
| 7 | |
| 8 | * Missing header `npl_selinux.h` in Makefile (`noinst_HEADERS`). |
| 9 | |
| 10 | ##### Libraries |
| 11 | |
| 12 | * `lib/container`: docker API versions before v1.24 are deprecated, so 1.24 is set as the minimum version required. |
| 13 | * `lib/sysfsparser`: fix gcc warning: ‘crit_temp’ may be used uninitialized. |
| 14 | * `lib/sysfsparser`: better signature for function `sysfsparser_getvalue`. |
| 15 | |
| 16 | ##### Contrib (Icinga2) |
| 17 | |
| 18 | * Fix Icinga2 config for check_clock by Lorenz Kästle. |
| 19 | Previously the time reference value was evaluated only during the startup of Icinga 2 and therefore a fixed point in time. |
| 20 | This change makes it a function which gets evaluated every time the check is executed. |
| 21 | |
| 22 | #### ENHANCEMENTS |
| 23 | |
| 24 | ##### Plugin check_ifmount |
| 25 | |
| 26 | * Add the cmdline switch -l|--list to list the mounted filesystems. Same output as the 'mount' command executed without options). |
| 27 | |
| 28 | ##### Plugin check_selinux |
| 29 | |
| 30 | * New plugin `check_selinux` that checks if SELinux is enabled. |
| 31 | |
| 32 | ##### Package creation |
| 33 | |
| 34 | * Add Linux Alpine 3.20 and drop version 3.17 |
| 35 | * Add Fedora 40, drop Fedora 38 |
| 36 | |
| 37 | ##### Documentation |
| 38 | |
| 39 | * Fix typo |
| 40 | * Add a link to discussion #147 |
| 41 | * Add a note on the Debian package nagios-plugins-contrib |
| 42 | |
| 43 | ### GIT DIFF |
| 44 | ``` |
| 45 | $ git diff --stat 366a9d745fb62ccd64e05ea5916eb4988ec55d2b HEAD |
| 46 | .github/workflows/build-checks.yml | 4 ++-- |
| 47 | README.md | 21 +++++++++++++++------ |
| 48 | contrib/icinga2/CheckCommands.conf | 2 +- |
| 49 | debian/Makefile.am | 3 ++- |
| 50 | debian/control | 13 ++++++++++++- |
| 51 | debian/copyright | 2 +- |
| 52 | debian/nagios-plugins-linux-selinux.install | 1 + |
| 53 | include/Makefile.am | 1 + |
| 54 | include/mountlist.h | 1 + |
| 55 | include/npl_selinux.h | 27 +++++++++++++++++++++++++++ |
| 56 | include/sysfsparser.h | 4 ++-- |
| 57 | include/testutils.h | 1 - |
| 58 | lib/Makefile.am | 1 + |
| 59 | lib/cpudesc.c | 5 ++++- |
| 60 | lib/cputopology.c | 5 ++++- |
| 61 | lib/meminfo.c | 4 ++-- |
| 62 | lib/mountlist.c | 24 ++++++++++++++++++++++++ |
| 63 | lib/npl_selinux.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 64 | lib/sysfsparser.c | 41 ++++++++++++++++++++++++++--------------- |
| 65 | packages/Makefile.am | 10 +++++----- |
| 66 | packages/multibuild.sh | 8 +++++--- |
| 67 | packages/specs/nagios-plugins-linux.spec.in | 12 ++++++++++++ |
| 68 | plugins/Makefile.am | 3 +++ |
| 69 | plugins/check_fc.c | 14 +++++++++++--- |
| 70 | plugins/check_ifmountfs.c | 28 ++++++++++++++++++++++++---- |
| 71 | plugins/check_network.c | 2 +- |
| 72 | plugins/check_selinux.c | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 73 | plugins/check_temperature.c | 7 ++++--- |
| 74 | tests/Makefile.am | 3 +-- |
| 75 | tests/ts_sysdockermemstat.data | 40 ---------------------------------------- |
| 76 | 30 files changed, 395 insertions(+), 95 deletions(-) |
| 77 | ``` |
| 78 | |
| 79 | ## Version 33 ("Śmigus-Dyngus") |
| 80 | ### Apr 1st, 2024 |
| 81 | |
| 82 | #### BREAKING CHANGES |
| 83 | |
| 84 | ##### Build |
| 85 | |
| 86 | * lib/container: Podman 3.0+ API support. |
| 87 | This library and the check_container plugin are to be considered a PoC, i.e. not production-ready code. |
| 88 | Note that now varlink is no more a build requirement. |
| 89 | The plugins `check_docker` and `check_podman` were merged into `check_container`. |
| 90 | * rename `--with-systemd` to `--enable-systemd` for consistency with the other optional boolean options. |
| 91 | |
| 92 | #### FIXES |
| 93 | |
| 94 | ##### Plugins |
| 95 | |
| 96 | * check_container: passing on non running `--image` no longer produces a program core dump. |
| 97 | * check_memory: remove comma from perfdata (issues#140). |
| 98 | Thanks to [Grischa Zengel (ggzengel)](https://github.com/ggzengel) for reporting this problem. |
| 99 | |
| 100 | ##### Libraries |
| 101 | |
| 102 | * lib/*info_procps: fix build with `--enable-libprocps`. |
| 103 | |
| 104 | ##### Tests |
| 105 | |
| 106 | * tests: fix tests tslibxstrton_sizetollint and tslibpressure on 32-bit architectures. |
| 107 | See: https://bugs.gentoo.org/927490 |
| 108 | |
| 109 | #### ENHANCEMENTS / CHANGES |
| 110 | |
| 111 | * check_container: print short container names in the plugin perfdata. |
| 112 | Example: `docker.io/traefik:v2.9.8` becomes `traefik:v2.9.8`. |
| 113 | |
| 114 | ##### Test framework |
| 115 | |
| 116 | * ci: add gentoo to os matrix in github workflows. |
| 117 | |
| 118 | ### GIT DIFF |
| 119 | ``` |
| 120 | .github/workflows/build-checks.yml | 16 ++--- |
| 121 | DEVELOPERS.md | 74 -------------------- |
| 122 | README.md | 15 ++--- |
| 123 | configure.ac | 91 +++++++++++-------------- |
| 124 | debian/Makefile.am | 2 +- |
| 125 | debian/changelog | 6 ++ |
| 126 | debian/control | 8 +-- |
| 127 | debian/nagios-plugins-linux-container.install | 1 + |
| 128 | debian/nagios-plugins-linux-docker.install | 1 - |
| 129 | include/Makefile.am | 5 +- |
| 130 | include/{container_docker.h => container.h} | 8 ++- |
| 131 | include/container_podman.h | 118 -------------------------------- |
| 132 | include/json_helpers.h | 2 + |
| 133 | include/xstrton.h | 4 +- |
| 134 | lib/Makefile.am | 14 +--- |
| 135 | lib/collection.c | 1 + |
| 136 | lib/container.c | 428 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 137 | lib/container_docker_count.c | 256 --------------------------------------------------------------------- |
| 138 | lib/container_docker_memory.c | 175 ------------------------------------------------ |
| 139 | lib/container_podman.c | 374 ----------------------------------------------------------------------------------------------------- |
| 140 | lib/container_podman_count.c | 115 ------------------------------- |
| 141 | lib/container_podman_stats.c | 180 ------------------------------------------------- |
| 142 | lib/json_helpers.c | 128 ++++++++++++++++++++++++++++++++++- |
| 143 | lib/meminfo_procps.c | 4 +- |
| 144 | lib/pressure.c | 1 + |
| 145 | lib/vminfo_procps.c | 4 +- |
| 146 | lib/xstrton.c | 20 +++--- |
| 147 | packages/specs/nagios-plugins-linux.spec.in | 48 +++++-------- |
| 148 | plugins/Makefile.am | 21 ++---- |
| 149 | plugins/{check_docker.c => check_container.c} | 150 +++++++++++++++++------------------------ |
| 150 | plugins/check_filecount.c | 10 +-- |
| 151 | plugins/check_podman.c | 262 ----------------------------------------------------------------------- |
| 152 | tests/Makefile.am | 23 +++---- |
| 153 | tests/ts_container_podman_GetContainerStats.data | 1 - |
| 154 | tests/ts_container_podman_ListContainers.data | 1 - |
| 155 | tests/ts_procpressurecpu.data | 2 +- |
| 156 | tests/{tslibcontainer_docker_count.c => tslibcontainer_count.c} | 43 ++++++------ |
| 157 | tests/tslibcontainer_docker_memory.c | 116 -------------------------------- |
| 158 | tests/tslibpressure.c | 2 +- |
| 159 | ``` |
| 160 | |
| 161 | ## Version 32 ("Gematria") |
| 162 | ### Jan 25th, 2024 |
| 163 | |
| 164 | #### FIXES |
| 165 | |
| 166 | ##### Build |
| 167 | |
| 168 | * configure: do not silently ignore missing libcurl and libvarlink. |
| 169 | |
| 170 | ##### Libraries |
| 171 | |
| 172 | * lib/netinfo-private: don't enforce nl_pid. |
| 173 | Thanks to [Yuri Konotopov (nE0sIghT)](https://github.com/nE0sIghT) for reporting and solving this problem in containerised environments. |
| 174 | * lib/netinfo-private: fix a Clang 17 warning. |
| 175 | |
| 176 | ##### Plugin check_users |
| 177 | |
| 178 | * check_users: fix an issue related to the Y2038 Unix bug. |
| 179 | * check_cpufreq: wrong factor in check_cpufreq for -G. |
| 180 | Thanks to [Grischa Zengel (ggzengel)](https://github.com/ggzengel) for the bug report. |
| 181 | |
| 182 | #### ENHANCEMENTS / CHANGES |
| 183 | |
| 184 | ##### Package creation |
| 185 | |
| 186 | * Add Fedora 39 and drop support for Fedora 36. |
| 187 | * Add Linux Alpine 3.18 and 3.19 and drop support for Linux Alpine 3.14-3.16. |
| 188 | * Add Rocky Linux distribution. |
| 189 | * Fix build of debian packages. |
| 190 | |
| 191 | ##### Test framework |
| 192 | |
| 193 | * Enable systemd library requirement in the GitHub workflow. |
| 194 | * Update Linux releases for tests execution in the GitHub workflows. |
| 195 | |
| 196 | ### GIT DIFF |
| 197 | ``` |
| 198 | .github/workflows/build-checks.yml | 17 +++++++---------- |
| 199 | AUTHORS | 5 +++++ |
| 200 | README.md | 37 +++++++++++++++++++++---------------- |
| 201 | configure.ac | 22 ++++++++++++++++++++-- |
| 202 | debian/rules | 2 +- |
| 203 | lib/netinfo-private.c | 4 ++-- |
| 204 | packages/Makefile.am | 35 +++++++++++++++++++++++------------ |
| 205 | packages/docker-shell-helpers | 2 +- |
| 206 | packages/multibuild.sh | 20 +++++++++++++++----- |
| 207 | packages/specs/nagios-plugins-linux.spec.in | 8 ++++++-- |
| 208 | plugins/check_cpufreq.c | 2 +- |
| 209 | plugins/check_users.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++++---------------------- |
| 210 | 12 files changed, 150 insertions(+), 74 deletions(-) |
| 211 | ``` |
| 212 | |
| 213 | ## Version 31 ("Counter-intuitive") |
| 214 | ### Aug 28th, 2022 |
| 215 | |
| 216 | #### FIXES |
| 217 | |
| 218 | ##### Libraries |
| 219 | |
| 220 | * lib/container_docker_memory: fix an issue reported by clang-analyzer. |
| 221 | * Make sure sysfs is mounted in the plugins that require it. |
| 222 | |
| 223 | #### ENHANCEMENTS / CHANGES |
| 224 | |
| 225 | ##### Plugin check_filecount |
| 226 | |
| 227 | * New plugin `check_filecount` that returns the number of files found in one or more directories. |
| 228 | |
| 229 | ##### Plugin check_memory |
| 230 | |
| 231 | * check_memory: support new units kiB/MiB/GiB. |
| 232 | Feature asked by [mdicss](https://github.com/mdicss). |
| 233 | See the discussion [#120](https://github.com/madrisan/nagios-plugins-linux/discussions/120). |
| 234 | |
| 235 | ##### contrib/icinga2/CheckCommands.conf |
| 236 | |
| 237 | * Contribution from Lorenz [RincewindsHat](https://github.com/RincewindsHat): add icinga2 command configurations. |
| 238 | |
| 239 | ##### Build |
| 240 | |
| 241 | * configure: ensure libprocps is v4.0.0 or better if the experimental option `--enable-libprocps` is passed to `configure`. |
| 242 | |
| 243 | ##### Test framework |
| 244 | |
| 245 | * Add some unit tests for `lib/xstrton`. |
| 246 | * New unit tests `tslibfiles_{filecount,hiddenfile,size}`. |
| 247 | |
| 248 | ##### Package creation |
| 249 | |
| 250 | * Add Linux Alpine 3.16 and remove version 3.13. |
| 251 | * Do not package experimental plugins in the rpm `nagios-plugins-linux-all`. |
| 252 | * Add Fedora 36 and drop Fedora 33 support. |
| 253 | * CentOS 8 died a premature death at the end of 2021. Add packages for CentOS Stream 8 and 9. |
| 254 | |
| 255 | ##### GitHub workflows |
| 256 | |
| 257 | * Build the Nagios Plugins Linux on the LTS Ubuntu versions only. The version 21 seems dead. |
| 258 | * Add build tests for all the supported oses. |
| 259 | * Update the os versions used in tests. |
| 260 | * CentOS 8 died a premature death at the end of 2021. Remove it from the list of test oses. |
| 261 | * Add CodeQL analysis |
| 262 | |
| 263 | ### GIT DIFF |
| 264 | ``` |
| 265 | $ git diff --stat db94dc16 6edcf3aa |
| 266 | .github/workflows/build-checks.yml | 9 +- |
| 267 | .github/workflows/codeql-analysis.yml | 59 ++++++++++ |
| 268 | .gitignore | 3 + |
| 269 | AUTHORS | 6 ++ |
| 270 | DEVELOPERS.md | 14 ++- |
| 271 | README.md | 50 ++++----- |
| 272 | SECURITY.md | 24 +++++ |
| 273 | configure.ac | 15 ++- |
| 274 | contrib/README.md | 6 ++ |
| 275 | contrib/icinga2/CheckCommands.conf | 923 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 276 | include/Makefile.am | 1 + |
| 277 | include/common.h | 2 + |
| 278 | include/cpudesc.h | 2 +- |
| 279 | include/files.h | 56 ++++++++++ |
| 280 | include/procparser.h | 2 +- |
| 281 | include/sysfsparser.h | 3 + |
| 282 | include/xstrton.h | 16 +-- |
| 283 | lib/Makefile.am | 1 + |
| 284 | lib/container_docker_memory.c | 8 +- |
| 285 | lib/container_podman_count.c | 2 +- |
| 286 | lib/cpudesc.c | 8 +- |
| 287 | lib/cpufreq.c | 2 +- |
| 288 | lib/cputopology.c | 5 +- |
| 289 | lib/files.c | 252 +++++++++++++++++++++++++++++++++++++++++++ |
| 290 | lib/interrupts.c | 2 +- |
| 291 | lib/meminfo.c | 2 +- |
| 292 | lib/messages.c | 2 +- |
| 293 | lib/processes.c | 2 +- |
| 294 | lib/sysfsparser.c | 30 ++++-- |
| 295 | lib/thresholds.c | 4 +- |
| 296 | lib/xmalloc.c | 2 +- |
| 297 | lib/xstrton.c | 148 ++++++++++++++++++++++++-- |
| 298 | nagios-plugins-linux-logo-128.png | Bin 0 -> 10505 bytes |
| 299 | packages/Makefile.am | 22 ++-- |
| 300 | packages/docker-shell-helpers | 2 +- |
| 301 | packages/multibuild.sh | 7 +- |
| 302 | packages/specs/APKBUILD.in | 2 +- |
| 303 | packages/specs/Makefile.am | 2 + |
| 304 | packages/specs/nagios-plugins-linux.spec.in | 10 +- |
| 305 | plugins/Makefile.am | 3 + |
| 306 | plugins/check_cpu.c | 9 +- |
| 307 | plugins/check_cpufreq.c | 7 +- |
| 308 | plugins/check_fc.c | 9 +- |
| 309 | plugins/check_filecount.c | 292 ++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 310 | plugins/check_load.c | 8 +- |
| 311 | plugins/check_memory.c | 51 ++++++--- |
| 312 | plugins/check_network.c | 2 +- |
| 313 | plugins/check_swap.c | 2 +- |
| 314 | plugins/check_temperature.c | 6 +- |
| 315 | tests/Makefile.am | 34 ++++-- |
| 316 | tests/testutils.c | 2 +- |
| 317 | tests/tslibfiles_age.c | 85 +++++++++++++++ |
| 318 | tests/tslibfiles_filecount.c | 227 +++++++++++++++++++++++++++++++++++++++ |
| 319 | tests/tslibfiles_hiddenfile.c | 72 +++++++++++++ |
| 320 | tests/tslibfiles_size.c | 79 ++++++++++++++ |
| 321 | tests/tslibkernelver.c | 2 +- |
| 322 | tests/{tslib_uname.c => tslibuname.c} | 0 |
| 323 | tests/tslibxstrton_agetoint64.c | 92 ++++++++++++++++ |
| 324 | tests/tslibxstrton_sizetoint64.c | 91 ++++++++++++++++ |
| 325 | 59 files changed, 2638 insertions(+), 141 deletions(-) |
| 326 | ``` |
| 327 | |
| 328 | ## Version 30 ("Low Pressure") |
| 329 | ### Jan 25th, 2022 |
| 330 | |
| 331 | #### FIXES |
| 332 | |
| 333 | ##### Plugin check_pressure |
| 334 | |
| 335 | * Display values per second regardless of the delay, and ensure the delta of "some" is calculated correctly. |
| 336 | * Thanks to [Christian Bryn (epleterte)](https://github.com/epleterte) for reporting and fixing a typo in the git clone command. |
| 337 | |
| 338 | ##### Package creation |
| 339 | |
| 340 | * Fix Debian packages creation. |
| 341 | |
| 342 | #### ENHANCEMENTS / CHANGES |
| 343 | |
| 344 | ##### Libraries |
| 345 | |
| 346 | * lib/netinfo: fix a LGTM static analyzer alert. |
| 347 | |
| 348 | ##### Packages |
| 349 | |
| 350 | Release updates: |
| 351 | |
| 352 | * Add Debian 11 and drop Debian 8, |
| 353 | * Add Fedora 35 and drop Fedora 32, |
| 354 | * Add Linux Alpine 3.15 and drop version 3.12. |
| 355 | |
| 356 | ### GIT DIFF |
| 357 | ``` |
| 358 | $ git diff --stat 69770573 ce7d9f69 |
| 359 | .github/workflows/build-checks.yml | 2 +- |
| 360 | AUTHORS | 17 +++++++++++++---- |
| 361 | README.md | 38 +++++++++++++++++++------------------- |
| 362 | debian/Makefile.am | 27 ++++++++++++++++++++++++++- |
| 363 | debian/changelog | 8 +++++++- |
| 364 | debian/copyright | 2 +- |
| 365 | debian/nagios-plugins-linux-network.links | 4 ++++ |
| 366 | lib/pressure.c | 29 +++++++++++++++-------------- |
| 367 | packages/Makefile.am | 18 +++++++++--------- |
| 368 | packages/multibuild.sh | 8 ++++---- |
| 369 | 10 files changed, 99 insertions(+), 54 deletions(-) |
| 370 | ``` |
| 371 | |
| 372 | ## Version 29 ("High Temperatures") |
| 373 | ### Jul 20th, 2021 |
| 374 | |
| 375 | #### FIXES |
| 376 | |
| 377 | ##### Plugin check_temperature |
| 378 | |
| 379 | * Do not display thermal ranges if `-t|--thermal_zone` in not set at command-line. |
| 380 | |
| 381 | #### ENHANCEMENTS |
| 382 | |
| 383 | ##### Plugin check_temperature |
| 384 | |
| 385 | * Improve the output message by adding the thermal device when available; |
| 386 | * List also the devices that display a temperature of 0°C to be more consistent with the tool 'sensors'; |
| 387 | * Improve the help message; |
| 388 | * New command-line option `-l|--list` for displyaing the all the thermal sensors reported by the kernel. |
| 389 | |
| 390 | ##### Package creation |
| 391 | |
| 392 | * Update the list of supported platforms by adding Alpine 3.13 and 3.14 and Fedora 34; |
| 393 | * Several improvements to the Debian packaging (thanks to [Vincent Olivert-Riera](https://github.com/vincent-olivert-riera) for the PR); |
| 394 | * Build Debian multi-packages instead of a single package providing all binary plugins. |
| 395 | This will permit these plugins to cohexist with the Nagios native ones. |
| 396 | |
| 397 | ##### Test framework |
| 398 | |
| 399 | * Switch to the latest stable OSes in GitHub workflow. |
| 400 | |
| 401 | ##### Documentation |
| 402 | |
| 403 | * Update the documentation for linking against procps-ng newlib; |
| 404 | * Thanks to [Christian Bryn (epleterte)](https://github.com/epleterte) for reporting and fixing a typo in the git clone command. |
| 405 | |
| 406 | ### GIT DIFF |
| 407 | ``` |
| 408 | $ git diff --stat c57373a9 4e0d46e8 |
| 409 | .github/workflows/build-checks.yml | 6 ++-- |
| 410 | DEVELOPERS.md | 4 +-- |
| 411 | NEWS.md | 75 +++++++++++++++++++++++++++++++++++++++++++ |
| 412 | README.md | 23 +++++++------- |
| 413 | VERSION | 1 + |
| 414 | configure.ac | 22 ++++++++++++- |
| 415 | debian/changelog | 9 +++++- |
| 416 | debian/compat | 2 +- |
| 417 | debian/control | 262 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- |
| 418 | debian/nagios-plugins-linux-clock.install | 1 + |
| 419 | debian/nagios-plugins-linux-cpu.install | 1 + |
| 420 | debian/nagios-plugins-linux-cpufreq.install | 1 + |
| 421 | debian/nagios-plugins-linux-cswch.install | 1 + |
| 422 | debian/nagios-plugins-linux-docker.install | 1 + |
| 423 | debian/nagios-plugins-linux-fc.install | 1 + |
| 424 | debian/nagios-plugins-linux-ifmountfs.install | 1 + |
| 425 | debian/nagios-plugins-linux-intr.install | 1 + |
| 426 | debian/nagios-plugins-linux-iowait.install | 1 + |
| 427 | debian/nagios-plugins-linux-load.install | 1 + |
| 428 | debian/nagios-plugins-linux-memory.install | 1 + |
| 429 | debian/nagios-plugins-linux-multipath.install | 1 + |
| 430 | debian/nagios-plugins-linux-nbprocs.install | 1 + |
| 431 | debian/nagios-plugins-linux-network.install | 1 + |
| 432 | debian/nagios-plugins-linux-paging.install | 1 + |
| 433 | debian/nagios-plugins-linux-pressure.install | 1 + |
| 434 | debian/nagios-plugins-linux-readonlyfs.install | 1 + |
| 435 | debian/nagios-plugins-linux-swap.install | 1 + |
| 436 | debian/nagios-plugins-linux-tcpcount.install | 1 + |
| 437 | debian/nagios-plugins-linux-temperature.install | 1 + |
| 438 | debian/nagios-plugins-linux-uptime.install | 1 + |
| 439 | debian/nagios-plugins-linux-users.install | 1 + |
| 440 | debian/nagios-plugins-linux.dirs | 1 + |
| 441 | debian/rules | 2 +- |
| 442 | include/string-macros.h | 2 ++ |
| 443 | include/sysfsparser.h | 3 ++ |
| 444 | lib/meminfo_procps.c | 2 +- |
| 445 | lib/sysfsparser.c | 86 ++++++++++++++++++++++++++++++++++++++++++------- |
| 446 | lib/vminfo_procps.c | 2 +- |
| 447 | packages/Makefile.am | 10 +++--- |
| 448 | packages/multibuild.sh | 2 +- |
| 449 | packages/specs/nagios-plugins-linux.spec.in | 17 ++++++++-- |
| 450 | plugins/Makefile.am | 11 ++++--- |
| 451 | plugins/check_temperature.c | 32 ++++++++++++++----- |
| 452 | 43 files changed, 536 insertions(+), 60 deletions(-) |
| 453 | ``` |
| 454 | |
| 455 | ## Version 28 ("Alpine Hike") |
| 456 | ### Dec 12th, 2020 |
| 457 | |
| 458 | #### FIXES |
| 459 | |
| 460 | A few Clang and GCC warnings have been fixed. |
| 461 | |
| 462 | #### ENHANCEMENTS |
| 463 | |
| 464 | ##### Plugin check_pressure |
| 465 | |
| 466 | New plugin `check_pressure` that reports the Linux Pressure Stall Information (PSI) exported by Linux kernels 4.20+ (in the `/proc/pressure/` folder). |
| 467 | |
| 468 | check_pressure --cpu return the cpu pressure metrics |
| 469 | check_pressure --io return the io (block layer/filesystems) pressure metrics |
| 470 | check_pressure --memory return the memory pressure metrics |
| 471 | |
| 472 | ##### Build system |
| 473 | |
| 474 | Here are some notable news: |
| 475 | |
| 476 | * Integrate *Nagios Plugins for Linux* with *GitHub Workflow* tests; |
| 477 | * Add [Linux Alpine](https://alpinelinux.org/) and [Ubuntu](https://ubuntu.com/) |
| 478 | to the list of supported and automatically tested Linux distributions; |
| 479 | * Update the list of supported platforms by adding Alpine 3.12 and Fedora 33; |
| 480 | * Make the `packages/docker-shell-helpers` folder a git submodule. |
| 481 | |
| 482 | ##### Package creation |
| 483 | |
| 484 | Create also the native package for Alpine 3.12. |
| 485 | |
| 486 | ### GIT DIFF |
| 487 | ``` |
| 488 | $ git diff --stat bef83bc ee0fbd5 |
| 489 | .github/ISSUE_TEMPLATE/bug_report.md | 17 +++++----- |
| 490 | .github/ISSUE_TEMPLATE/feature_request.md | 22 +++++++++++++ |
| 491 | .github/workflows/build-checks.yml | 59 ++++++++++++++++++++++++++++++++++ |
| 492 | .gitmodules | 3 ++ |
| 493 | NEWS.md | 230 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------ |
| 494 | README.md | 69 ++++++++++++++++++++++++---------------- |
| 495 | configure.ac | 14 ++++++++ |
| 496 | include/Makefile.am | 1 + |
| 497 | include/pressure.h | 85 +++++++++++++++++++++++++++++++++++++++++++++++++ |
| 498 | include/system.h | 3 -- |
| 499 | include/testutils.h | 2 ++ |
| 500 | lib/Makefile.am | 1 + |
| 501 | lib/netinfo-private.c | 4 +-- |
| 502 | lib/pressure.c | 198 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 503 | lib/processes.c | 4 +++ |
| 504 | packages/Makefile.am | 28 ++++++++++------ |
| 505 | packages/docker-shell-helpers | 1 + |
| 506 | packages/docker-shell-helpers/LICENSE | 201 ------------------------------------------------------------------------------------------------------------------ |
| 507 | packages/docker-shell-helpers/README.md | 74 ------------------------------------------ |
| 508 | packages/docker-shell-helpers/__generate-doc.sh | 26 --------------- |
| 509 | packages/docker-shell-helpers/docker-shell-helpers.sh | 183 -------------------------------------------------------------------------------------------------------- |
| 510 | packages/docker-shell-helpers/images/docker.png | Bin 28288 -> 0 bytes |
| 511 | packages/multibuild.sh | 51 +++++++++++++++++++++++++---- |
| 512 | packages/specs/APKBUILD.in | 44 +++++++++++++++++++++++++ |
| 513 | packages/specs/Makefile.am | 2 +- |
| 514 | plugins/Makefile.am | 2 ++ |
| 515 | plugins/check_multipath.c | 1 + |
| 516 | plugins/check_network.c | 2 +- |
| 517 | plugins/check_pressure.c | 230 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 518 | tests/Makefile.am | 6 ++++ |
| 519 | tests/ts_procpressurecpu.data | 1 + |
| 520 | tests/ts_procpressureio.data | 2 ++ |
| 521 | tests/tslib_uname.c | 14 ++++++++ |
| 522 | tests/tslibpressure.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 523 | 34 files changed, 1046 insertions(+), 659 deletions(-) |
| 524 | ``` |
| 525 | |
| 526 | ## Version 27 ("Polish Landscapes") |
| 527 | ### Aug 8th, 2020 |
| 528 | |
| 529 | #### FIXES |
| 530 | |
| 531 | ##### Plugin check_multipath |
| 532 | |
| 533 | Free memory allocated to the pattern buffer by the function `regcomp`. |
| 534 | |
| 535 | ##### lib/meminfo_procps, lib/vminfo_procps |
| 536 | |
| 537 | Fix the |
| 538 | [libprocps-ng:newlib](https://gitlab.com/procps-ng/procps/-/tree/newlib) |
| 539 | detection at build time. |
| 540 | Most distro packaged version of `procps-ng` correctly report the |
| 541 | version of the library *libprocps*. |
| 542 | According to the project mailing-list and my own tests, Debian |
| 543 | and Ubuntu report `UNKNOWN` as library version. |
| 544 | But, under openSUSE Tumbleweed, Archlinux, Slackware, and Fedora |
| 545 | it is shown properly. |
| 546 | So switch from `UNKNOWN` to `libprocps >= 3.3.12` in configure. |
| 547 | |
| 548 | Also add a |
| 549 | [documentation page](DEVELOPERS.md) |
| 550 | for developers because the `procps-ng:newlib` |
| 551 | library is still in active development and there's no stable version |
| 552 | available. |
| 553 | |
| 554 | #### ENHANCEMENTS |
| 555 | |
| 556 | ##### Plugin check_network |
| 557 | |
| 558 | Add a bunch of command-line options: |
| 559 | * `-i,--ifname`: only display interfaces matching a POSIX Extended [Regular Expression](https://man7.org/linux/man-pages/man7/regex.7.html); |
| 560 | * `--ifname-debug`: display the list of metric keys and exit (for debugging); |
| 561 | * `-k,--check-link`: report an error if one or more links are down; |
| 562 | * `-l,--no-loopback`: skip the loopback interface; |
| 563 | * `-W,--no-wireless `: skip the wireless interfaces; |
| 564 | * `-%,--perc`: return percentage metrics when possible. |
| 565 | |
| 566 | Note that the percentage **can only be calculated** for links with an available |
| 567 | physical speed. This feature has been asked by [iam333](https://github.com/iam333). |
| 568 | See the issue [#55](https://github.com/madrisan/nagios-plugins-linux/issues/55). |
| 569 | |
| 570 | By default *all* the counters are reported in the perdata, but it's now possible |
| 571 | to select a subset of them if it's preferable: |
| 572 | * `-b --no-bytes`: omit the rx/tx bytes counter from perfdata; |
| 573 | * `-C,--no-collisions`: omit the collisions counter from perfdata; |
| 574 | * `-d --no-drops`: omit the rx/tx drop counters from perfdata; |
| 575 | * `-e --no-errors`: omit the rx/tx errors counters from perfdata; |
| 576 | * `-m,--no-multicast`: omit the multicast counter from perfdata; |
| 577 | * `-p,--no-packets`: omit the rx/tx packets counter from perfdata. |
| 578 | |
| 579 | Make it possible to set the thresholds for all the reported metrics, by using |
| 580 | the following new plugins (they are actually just symlinks to `check_network`): |
| 581 | * `check_network_collisions` |
| 582 | * `check_network_dropped` |
| 583 | * `check_network_errors` |
| 584 | * `check_network_multicast` |
| 585 | |
| 586 | Previously it was only possible for the network traffic in bytes. |
| 587 | |
| 588 | Add two extra command-line switches `-r/--rx-only` and `-t/--tx-only` |
| 589 | for discarding the transmission and received metrics respectively. |
| 590 | This should allow even more custom plugin configurations and should be |
| 591 | especially usefull for setting thresholds in the network traffic in bytes. |
| 592 | |
| 593 | ##### lib/netinfo* (check_network): switch from getifaddrs glib call to linux rtnetlink |
| 594 | |
| 595 | Switch to linux |
| 596 | [rtnetlink](https://www.man7.org/linux/man-pages/man7/netlink.7.html) |
| 597 | to be able to get the required |
| 598 | network statistics for all the available network interfaces, |
| 599 | not only for the `AF_PACKET`-capable ones. |
| 600 | |
| 601 | This new implementation in particular let now `check_network` return |
| 602 | the statistics also for the [WireGuard](https://www.wireguard.com/) interfaces |
| 603 | [[#58](https://github.com/madrisan/nagios-plugins-linux/issues/58)]. |
| 604 | |
| 605 | ##### lib/netinfo-private: switch to ETHTOOL_GLINKSETTINGS when possible |
| 606 | |
| 607 | Change `SIOCETHTOOL` ioctl to use `ETHTOOL_GLINKSETTINGS`instead of the |
| 608 | obsolete `ETHTOOL_GSET`, when determining the network interface speed. |
| 609 | This requires Linux kernel 4.9+. |
| 610 | In case of failure revert to the obsolete `ETHTOOL_GSET`. |
| 611 | |
| 612 | See the |
| 613 | [kernel commit](https://github.com/torvalds/linux/commit/3f1ac7a700d039c61d8d8b99f28d605d489a60cf) |
| 614 | (net: ethtool: add new ETHTOOL_xLINKSETTINGS API) if you need deeper technical informations. |
| 615 | |
| 616 | #### LICENSE |
| 617 | |
| 618 | Add to all files containing C code the |
| 619 | [SPDX License Identifier](https://spdx.org/licenses/) |
| 620 | for the GPL 3.0+ license. |
| 621 | ``` |
| 622 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 623 | ``` |
| 624 | |
| 625 | ### GIT DIFF |
| 626 | ``` |
| 627 | -- git diff --stat 2de9564 532861c |
| 628 | .codeclimate.yml | 2 +- |
| 629 | .gitattributes | 1 + |
| 630 | AUTHORS | 25 +++--- |
| 631 | DEVELOPERS.md | 68 ++++++++++++++ |
| 632 | NEWS | 661 +-------------------------------------------------------------------------------------------------------------------------------------- |
| 633 | NEWS-OLD | 660 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 634 | NEWS.md | 324 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 635 | README.md | 20 ++--- |
| 636 | check_skel.c.sample | 5 +- |
| 637 | configure.ac | 23 ++++- |
| 638 | include/Makefile.am | 1 + |
| 639 | include/collection.h | 1 + |
| 640 | include/common.h | 4 +- |
| 641 | include/container_docker.h | 1 + |
| 642 | include/container_podman.h | 1 + |
| 643 | include/cpudesc.h | 1 + |
| 644 | include/cpufreq.h | 1 + |
| 645 | include/cpustats.h | 1 + |
| 646 | include/cputopology.h | 1 + |
| 647 | include/getenv.h | 1 + |
| 648 | include/interrupts.h | 1 + |
| 649 | include/jsmn.h | 1 + |
| 650 | include/json_helpers.h | 1 + |
| 651 | include/kernelver.h | 1 + |
| 652 | include/logging.h | 1 + |
| 653 | include/meminfo.h | 1 + |
| 654 | include/messages.h | 1 + |
| 655 | include/mountlist.h | 1 + |
| 656 | include/netinfo-private.h | 59 ++++++++++++ |
| 657 | include/netinfo.h | 79 +++++++++++++---- |
| 658 | include/perfdata.h | 1 + |
| 659 | include/processes.h | 1 + |
| 660 | include/procparser.h | 1 + |
| 661 | include/progname.h | 1 + |
| 662 | include/progversion.h | 1 + |
| 663 | include/string-macros.h | 10 +++ |
| 664 | include/sysfsparser.h | 1 + |
| 665 | include/system.h | 6 +- |
| 666 | include/tcpinfo.h | 1 + |
| 667 | include/testutils.h | 1 + |
| 668 | include/thresholds.h | 1 + |
| 669 | include/units.h | 1 + |
| 670 | include/url_encode.h | 1 + |
| 671 | include/vminfo.h | 1 + |
| 672 | include/xalloc.h | 1 + |
| 673 | include/xasprintf.h | 1 + |
| 674 | include/xstrton.h | 1 + |
| 675 | lib/Makefile.am | 4 +- |
| 676 | lib/collection.c | 1 + |
| 677 | lib/container_docker_count.c | 1 + |
| 678 | lib/container_docker_memory.c | 1 + |
| 679 | lib/container_podman.c | 1 + |
| 680 | lib/container_podman_count.c | 1 + |
| 681 | lib/container_podman_stats.c | 1 + |
| 682 | lib/cpudesc.c | 1 + |
| 683 | lib/cpufreq.c | 1 + |
| 684 | lib/cpustats.c | 1 + |
| 685 | lib/cputopology.c | 1 + |
| 686 | lib/interrupts.c | 1 + |
| 687 | lib/json_helpers.c | 1 + |
| 688 | lib/kernelver.c | 1 + |
| 689 | lib/meminfo.c | 1 + |
| 690 | lib/meminfo_procps.c | 3 +- |
| 691 | lib/messages.c | 1 + |
| 692 | lib/mountlist.c | 1 + |
| 693 | lib/netinfo-private.c | 454 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 694 | lib/netinfo.c | 303 +++++++++++++++++++++++++++++++++++++++++++++----------------- |
| 695 | lib/perfdata.c | 1 + |
| 696 | lib/processes.c | 1 + |
| 697 | lib/procparser.c | 1 + |
| 698 | lib/progname.c | 1 + |
| 699 | lib/sysfsparser.c | 1 + |
| 700 | lib/tcpinfo.c | 1 + |
| 701 | lib/thresholds.c | 1 + |
| 702 | lib/url_encode.c | 1 + |
| 703 | lib/vminfo.c | 1 + |
| 704 | lib/vminfo_procps.c | 30 ++----- |
| 705 | lib/xasprintf.c | 1 + |
| 706 | lib/xmalloc.c | 1 + |
| 707 | lib/xstrton.c | 1 + |
| 708 | packages/specs/nagios-plugins-linux.spec.in | 2 +- |
| 709 | plugins/Makefile.am | 17 +++- |
| 710 | plugins/check_clock.c | 1 + |
| 711 | plugins/check_cpu.c | 8 +- |
| 712 | plugins/check_cpufreq.c | 1 + |
| 713 | plugins/check_cswch.c | 1 + |
| 714 | plugins/check_docker.c | 1 + |
| 715 | plugins/check_fc.c | 1 + |
| 716 | plugins/check_ifmountfs.c | 1 + |
| 717 | plugins/check_intr.c | 1 + |
| 718 | plugins/check_load.c | 1 + |
| 719 | plugins/check_memory.c | 1 + |
| 720 | plugins/check_multipath.c | 3 + |
| 721 | plugins/check_nbprocs.c | 1 + |
| 722 | plugins/check_network.c | 423 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ |
| 723 | plugins/check_paging.c | 1 + |
| 724 | plugins/check_podman.c | 1 + |
| 725 | plugins/check_readonlyfs.c | 1 + |
| 726 | plugins/check_swap.c | 1 + |
| 727 | plugins/check_tcpcount.c | 1 + |
| 728 | plugins/check_temperature.c | 1 + |
| 729 | plugins/check_uptime.c | 1 + |
| 730 | plugins/check_users.c | 1 + |
| 731 | tests/Makefile.am | 2 +- |
| 732 | tests/testutils.c | 1 + |
| 733 | tests/tsclock_thresholds.c | 1 + |
| 734 | tests/tscswch.c | 1 + |
| 735 | tests/tsintr.c | 1 + |
| 736 | tests/tslib_uname.c | 1 + |
| 737 | tests/tslibcontainer_docker_count.c | 1 + |
| 738 | tests/tslibcontainer_docker_memory.c | 1 + |
| 739 | tests/tslibkernelver.c | 1 + |
| 740 | tests/tslibmeminfo_conversions.c | 1 + |
| 741 | tests/tslibmeminfo_interface.c | 5 +- |
| 742 | tests/tslibmeminfo_procparser.c | 1 + |
| 743 | tests/tslibmessages.c | 1 + |
| 744 | tests/tslibperfdata.c | 1 + |
| 745 | tests/tsliburlencode.c | 1 + |
| 746 | tests/tslibvminfo.c | 1 + |
| 747 | tests/tsload_normalize.c | 1 + |
| 748 | tests/tsload_thresholds.c | 1 + |
| 749 | tests/tspaging.c | 1 + |
| 750 | tests/tstemperature.c | 1 + |
| 751 | tests/{tststestutils.c => tstestutils.c} | 1 + |
| 752 | tests/tsuptime.c | 1 + |
| 753 | 125 files changed, 2447 insertions(+), 852 deletions(-) |
| 754 | ``` |
| 755 | |
| 756 | ## Version 26 ("Lockdown") |
| 757 | ### May 5th, 2020 |
| 758 | |
| 759 | #### FIXES |
| 760 | |
| 761 | ##### Fix build with musl by including limits.h when PATH_MAX is used. |
| 762 | |
| 763 | Bug reported and patched by Louis Sautier. |
| 764 | See also: [Gentoo bug #717038](https://bugs.gentoo.org/717038) |
| 765 | |
| 766 | ##### Fix build when `-fno-common` is added to CFLAGS. |
| 767 | |
| 768 | The build with `-fno-common` failed with the error message: |
| 769 | ``` |
| 770 | (.bss+0x8): multiple definition of `program_name' |
| 771 | (.bss+0x0): multiple definition of `program_name_short' |
| 772 | ``` |
| 773 | This flag will be apparently enabled by default in gcc 10. |
| 774 | Bug reported by [sbraz](https://github.com/sbraz). |
| 775 | |
| 776 | ##### Fixed travis CI build |
| 777 | |
| 778 | Fix by [sbraz](https://github.com/sbraz). |
| 779 | |
| 780 | #### ENHANCEMENTS / CHANGES |
| 781 | |
| 782 | ##### New plugin check_podman |
| 783 | |
| 784 | New plugin **check_podman** for checking some runtime metric of [podman](https://podman.io/) containers. |
| 785 | |
| 786 | ##### Package creation |
| 787 | |
| 788 | Add Fedora 32 and CentOS 8 to the supported distributions. |
| 789 | |
| 790 | #### GIT DIFF |
| 791 | ``` |
| 792 | -- git diff --stat f5c0edc 6c41cc9 |
| 793 | |
| 794 | .travis.yml | 2 +- |
| 795 | AUTHORS | 2 + |
| 796 | README.md | 30 ++++++++--- |
| 797 | configure.ac | 30 ++++++++++- |
| 798 | debian/copyright | 2 +- |
| 799 | include/Makefile.am | 8 +-- |
| 800 | include/collection.h | 2 +- |
| 801 | include/{container.h => container_docker.h} | 8 +-- |
| 802 | include/container_podman.h | 117 ++++++++++++++++++++++++++++++++++++++++ |
| 803 | include/{json.h => jsmn.h} | 0 |
| 804 | include/json_helpers.h | 35 ++++++++++++ |
| 805 | include/progname.h | 4 +- |
| 806 | include/testutils.h | 10 +++- |
| 807 | include/xalloc.h | 2 + |
| 808 | include/{xstrtol.h => xstrton.h} | 9 ++-- |
| 809 | lib/Makefile.am | 15 ++++-- |
| 810 | lib/collection.c | 25 ++++++--- |
| 811 | lib/{container_count.c => container_docker_count.c} | 34 +++--------- |
| 812 | lib/{container_memory.c => container_docker_memory.c} | 2 +- |
| 813 | lib/container_podman.c | 373 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 814 | lib/container_podman_count.c | 114 +++++++++++++++++++++++++++++++++++++++ |
| 815 | lib/container_podman_stats.c | 179 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 816 | lib/json_helpers.c | 66 +++++++++++++++++++++++ |
| 817 | lib/processes.c | 1 + |
| 818 | lib/xmalloc.c | 17 ++++-- |
| 819 | lib/{xstrtol.c => xstrton.c} | 20 ++++++- |
| 820 | packages/Makefile.am | 8 +-- |
| 821 | packages/multibuild.sh | 16 +++++- |
| 822 | packages/specs/nagios-plugins-linux.spec.in | 6 +++ |
| 823 | plugins/Makefile.am | 13 ++++- |
| 824 | plugins/check_clock.c | 2 +- |
| 825 | plugins/check_cpu.c | 2 +- |
| 826 | plugins/check_cswch.c | 2 +- |
| 827 | plugins/check_docker.c | 4 +- |
| 828 | plugins/check_fc.c | 3 +- |
| 829 | plugins/check_intr.c | 2 +- |
| 830 | plugins/check_podman.c | 261 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 831 | tests/Makefile.am | 16 +++--- |
| 832 | tests/{ts_container.data => ts_container_docker.data} | 0 |
| 833 | tests/ts_container_podman_GetContainerStats.data | 1 + |
| 834 | tests/ts_container_podman_ListContainers.data | 1 + |
| 835 | tests/{tslibcontainer_count.c => tslibcontainer_docker_count.c} | 6 +-- |
| 836 | tests/{tslibcontainer_memory.c => tslibcontainer_docker_memory.c} | 8 +-- |
| 837 | 43 files changed, 1362 insertions(+), 96 deletions(-) |
| 838 | ``` |
| 839 | |
| 840 | |
| 841 | ## Version 25 ("Gentoo") |
| 842 | ### May 5th, 2020 |
| 843 | |
| 844 | #### FIXES |
| 845 | |
| 846 | ##### Fix issues reported by lgtm, clang, and Codacy |
| 847 | |
| 848 | Fix two security issues reported by lgtm analyzer, an issue reported by the clang static analyser v8, and some issues reported by Codacy. |
| 849 | |
| 850 | ##### Library sysfsparser |
| 851 | |
| 852 | Fix debug messages in `sysfsparser_thermal_get_temperature()`. |
| 853 | |
| 854 | ##### Plugin check_memory |
| 855 | |
| 856 | Add `min`, `max`, `warning` and `critical` to perfdata for `mem_available` and `mem_used` as asked by [sbraz](https://github.com/sbraz). |
| 857 | |
| 858 | Minor code cleanup, and typo fixes. |
| 859 | |
| 860 | ##### Build system |
| 861 | |
| 862 | Fix compilation when *libcurl* headers are not installed. |
| 863 | |
| 864 | #### ENHANCEMENTS / CHANGES |
| 865 | |
| 866 | Udate the external *jsmn* library. |
| 867 | |
| 868 | Move some functions to the new library *perfdata*. |
| 869 | |
| 870 | ##### Build system |
| 871 | |
| 872 | Fix a warning message about obsolete `AC_PROG_RANLIB`. |
| 873 | |
| 874 | Add a build option to disable libcurl: `--disable-libcurl`. |
| 875 | |
| 876 | ##### Package creation |
| 877 | |
| 878 | Make rpm packages for Fedora 30 and Debian 10 (Buster) packages. |
| 879 | |
| 880 | Drop support for the Linux distribution Fedora 24-27 and Debian 6 (Squeeze). |
| 881 | |
| 882 | ##### Test framework |
| 883 | |
| 884 | New unit test for `lib/perfdata.c`. |
| 885 | |
| 886 | #### GIT DIFF |
| 887 | ``` |
| 888 | -- git diff --stat 440eefa c4a58b5 |
| 889 | |
| 890 | AUTHORS | 6 ++ |
| 891 | README.md | 16 ++-- |
| 892 | configure.ac | 17 +++-- |
| 893 | debian/changelog | 32 ++++++++ |
| 894 | include/Makefile.am | 1 + |
| 895 | include/json.h | 490 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------- |
| 896 | include/perfdata.h | 37 +++++++++ |
| 897 | include/string-macros.h | 1 + |
| 898 | include/thresholds.h | 9 ++- |
| 899 | lib/Makefile.am | 2 +- |
| 900 | lib/container_count.c | 7 +- |
| 901 | lib/container_memory.c | 8 +- |
| 902 | lib/cputopology.c | 3 +- |
| 903 | lib/json.c | 417 ------------------------------------------------------------------------------------------------------ |
| 904 | lib/perfdata.c | 85 +++++++++++++++++++++ |
| 905 | lib/sysfsparser.c | 41 +++++----- |
| 906 | lib/thresholds.c | 26 +++++-- |
| 907 | packages/Makefile.am | 25 ++++--- |
| 908 | packages/docker-shell-helpers/docker-shell-helpers.sh | 6 +- |
| 909 | packages/multibuild.sh | 30 +++----- |
| 910 | packages/specs/nagios-plugins-linux.spec.in | 14 +++- |
| 911 | plugins/check_clock.c | 10 +-- |
| 912 | plugins/check_cpu.c | 3 + |
| 913 | plugins/check_memory.c | 55 ++++++++++++-- |
| 914 | plugins/check_swap.c | 3 + |
| 915 | plugins/check_uptime.c | 8 +- |
| 916 | plugins/check_users.c | 3 +- |
| 917 | tests/Makefile.am | 9 ++- |
| 918 | tests/tslibcontainer_count.c | 2 +- |
| 919 | tests/tslibkernelver.c | 7 +- |
| 920 | tests/tslibperfdata.c | 111 +++++++++++++++++++++++++++ |
| 921 | 31 files changed, 925 insertions(+), 559 deletions(-) |
| 922 | ``` |
| 923 | |
| 924 | |
| 925 | ## Version 24 |
| 926 | ### January 13th, 2019 |
| 927 | |
| 928 | #### FIXES |
| 929 | |
| 930 | ##### Plugin check_cpufreq |
| 931 | |
| 932 | The frequences returned by sysfs are in KHz. |
| 933 | This issue has been reported by [sbraz](https://github.com/sbraz). |
| 934 | Thanks! |
| 935 | |
| 936 | #### ENHANCEMENTS / CHANGES |
| 937 | |
| 938 | ##### Plugin check_uptime |
| 939 | |
| 940 | Add warn, crit, and min values to perfdata. |
| 941 | Based on a merge request opened by [magmax](https://github.com/magmax). |
| 942 | Thanks! |
| 943 | |
| 944 | ##### Plugin check_cpufreq |
| 945 | |
| 946 | Make it possible to output the values in Hz/kHz/mHz/gHz |
| 947 | by adding some new command-line switches: |
| 948 | * `-H,--Hz` |
| 949 | * `-K,--kHz` |
| 950 | * `-M,--mHz` |
| 951 | * `-G,--gHz` |
| 952 | |
| 953 | ##### Build system |
| 954 | |
| 955 | Check for the compiler flag `-Wstringop-truncation` availability. |
| 956 | |
| 957 | Remove the autotools-generated file `libtool`. |
| 958 | |
| 959 | Fix unsupported warning options for clang (7.0.0): |
| 960 | * `-Wformat-signedness` |
| 961 | * `-Wstringop-truncation` |
| 962 | |
| 963 | Support Fedora 29 packaging (rpm packages generation). |
| 964 | |
| 965 | #### GIT DIFF |
| 966 | ``` |
| 967 | -- git diff --stat 0a3b90b 0b7e7ea |
| 968 | |
| 969 | .github/ISSUE_TEMPLATE/bug_report.md | 26 + |
| 970 | .gitignore | 1 + |
| 971 | README.md | 8 +- |
| 972 | configure.ac | 3 +- |
| 973 | libtool | 11645 -------------------------------- |
| 974 | m4/cc_try_cflags.m4 | 4 +- |
| 975 | packages/Makefile.am | 7 +- |
| 976 | plugins/check_cpufreq.c | 35 +- |
| 977 | plugins/check_uptime.c | 9 +- |
| 978 | 9 files changed, 73 insertions(+), 11665 deletions(-) |
| 979 | ``` |