| 1 |
|
| 2 |
Major changes between "nagios-plugins-linux" versions 25 and 26 |
| 3 |
-= Lockdown release =- |
| 4 |
|
| 5 |
-- Fixes: |
| 6 |
|
| 7 |
* Fix build with musl by including limits.h when PATH_MAX is used. |
| 8 |
Bug reported and patched by Louis Sautier. |
| 9 |
See also: https://bugs.gentoo.org/717038 |
| 10 |
|
| 11 |
* The build fails when '-fno-common' is added to CFLAGS. |
| 12 |
|
| 13 |
(.bss+0x8): multiple definition of `program_name' |
| 14 |
(.bss+0x0): multiple definition of `program_name_short' |
| 15 |
|
| 16 |
This flag will be apparently enabled by default in gcc 10. |
| 17 |
Bug reported by Louis Sautier. |
| 18 |
|
| 19 |
* Fixed travis CI build by Louis Sautier. |
| 20 |
|
| 21 |
-- Enhancements / Changes |
| 22 |
|
| 23 |
* New plugin check_podman for checking some runtime metric of podman |
| 24 |
containers. |
| 25 |
|
| 26 |
* Package creation: |
| 27 |
|
| 28 |
* Add Fedora 32 and CentOS 8 to the supported distributions. |
| 29 |
|
| 30 |
-- git diff --stat f5c0edc 6c41cc9 |
| 31 |
|
| 32 |
.travis.yml | 2 +- |
| 33 |
AUTHORS | 2 + |
| 34 |
README.md | 30 ++++++++--- |
| 35 |
configure.ac | 30 ++++++++++- |
| 36 |
debian/copyright | 2 +- |
| 37 |
include/Makefile.am | 8 +-- |
| 38 |
include/collection.h | 2 +- |
| 39 |
include/{container.h => container_docker.h} | 8 +-- |
| 40 |
include/container_podman.h | 117 ++++++++++++++++++++++++++++++++++++++++ |
| 41 |
include/{json.h => jsmn.h} | 0 |
| 42 |
include/json_helpers.h | 35 ++++++++++++ |
| 43 |
include/progname.h | 4 +- |
| 44 |
include/testutils.h | 10 +++- |
| 45 |
include/xalloc.h | 2 + |
| 46 |
include/{xstrtol.h => xstrton.h} | 9 ++-- |
| 47 |
lib/Makefile.am | 15 ++++-- |
| 48 |
lib/collection.c | 25 ++++++--- |
| 49 |
lib/{container_count.c => container_docker_count.c} | 34 +++--------- |
| 50 |
lib/{container_memory.c => container_docker_memory.c} | 2 +- |
| 51 |
lib/container_podman.c | 373 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 52 |
lib/container_podman_count.c | 114 +++++++++++++++++++++++++++++++++++++++ |
| 53 |
lib/container_podman_stats.c | 179 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 54 |
lib/json_helpers.c | 66 +++++++++++++++++++++++ |
| 55 |
lib/processes.c | 1 + |
| 56 |
lib/xmalloc.c | 17 ++++-- |
| 57 |
lib/{xstrtol.c => xstrton.c} | 20 ++++++- |
| 58 |
packages/Makefile.am | 8 +-- |
| 59 |
packages/multibuild.sh | 16 +++++- |
| 60 |
packages/specs/nagios-plugins-linux.spec.in | 6 +++ |
| 61 |
plugins/Makefile.am | 13 ++++- |
| 62 |
plugins/check_clock.c | 2 +- |
| 63 |
plugins/check_cpu.c | 2 +- |
| 64 |
plugins/check_cswch.c | 2 +- |
| 65 |
plugins/check_docker.c | 4 +- |
| 66 |
plugins/check_fc.c | 3 +- |
| 67 |
plugins/check_intr.c | 2 +- |
| 68 |
plugins/check_podman.c | 261 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 69 |
tests/Makefile.am | 16 +++--- |
| 70 |
tests/{ts_container.data => ts_container_docker.data} | 0 |
| 71 |
tests/ts_container_podman_GetContainerStats.data | 1 + |
| 72 |
tests/ts_container_podman_ListContainers.data | 1 + |
| 73 |
tests/{tslibcontainer_count.c => tslibcontainer_docker_count.c} | 6 +-- |
| 74 |
tests/{tslibcontainer_memory.c => tslibcontainer_docker_memory.c} | 8 +-- |
| 75 |
43 files changed, 1362 insertions(+), 96 deletions(-) |
| 76 |
|
| 77 |
====================================================================== |
| 78 |
|
| 79 |
Major changes between "nagios-plugins-linux" versions 24 and 25 |
| 80 |
-= Gentoo release =- |
| 81 |
|
| 82 |
-- Fixes: |
| 83 |
|
| 84 |
* Fix two security issues reported by lgtm analyzer, an issue |
| 85 |
reported by the clang static analyser v8, and some issues reported |
| 86 |
by Codacy. |
| 87 |
|
| 88 |
* sysfsparser lib: fix debug messages in |
| 89 |
"sysfsparser_thermal_get_temperature()". |
| 90 |
|
| 91 |
* check_memory: |
| 92 |
|
| 93 |
* Minor code cleanup. |
| 94 |
* Fix typo. |
| 95 |
* Add perfdata to mem_available and mem_used: |
| 96 |
Add min, max, warning and critical in perfdata for |
| 97 |
"mem_available" and "mem_used" as asked by sbraz. |
| 98 |
|
| 99 |
* Build system: |
| 100 |
|
| 101 |
* Fix compilation when libcurl headers are not installed. |
| 102 |
|
| 103 |
-- Enhancements / Changes |
| 104 |
|
| 105 |
* Udate the external jsmn library. |
| 106 |
|
| 107 |
* Move some functions to the new library 'perfdata'. |
| 108 |
|
| 109 |
* Build system: |
| 110 |
|
| 111 |
* Fix warning message about obsolete AC_PROG_RANLIB |
| 112 |
* Add a build option to disable libcurl: --disable-libcurl |
| 113 |
|
| 114 |
* Package creation: |
| 115 |
|
| 116 |
* Make rpm packages for Fedora 30 and Debian 10 (Buster) packages. |
| 117 |
* Drop support for Fedora 24-27 and Debian 6 (Squeeze). |
| 118 |
|
| 119 |
* Test framework: |
| 120 |
|
| 121 |
* new unit test for lib/perfdata.c |
| 122 |
|
| 123 |
-- git diff --stat 440eefa c4a58b5 |
| 124 |
|
| 125 |
AUTHORS | 6 ++ |
| 126 |
README.md | 16 ++-- |
| 127 |
configure.ac | 17 +++-- |
| 128 |
debian/changelog | 32 ++++++++ |
| 129 |
include/Makefile.am | 1 + |
| 130 |
include/json.h | 490 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------- |
| 131 |
include/perfdata.h | 37 +++++++++ |
| 132 |
include/string-macros.h | 1 + |
| 133 |
include/thresholds.h | 9 ++- |
| 134 |
lib/Makefile.am | 2 +- |
| 135 |
lib/container_count.c | 7 +- |
| 136 |
lib/container_memory.c | 8 +- |
| 137 |
lib/cputopology.c | 3 +- |
| 138 |
lib/json.c | 417 ------------------------------------------------------------------------------------------------------ |
| 139 |
lib/perfdata.c | 85 +++++++++++++++++++++ |
| 140 |
lib/sysfsparser.c | 41 +++++----- |
| 141 |
lib/thresholds.c | 26 +++++-- |
| 142 |
packages/Makefile.am | 25 ++++--- |
| 143 |
packages/docker-shell-helpers/docker-shell-helpers.sh | 6 +- |
| 144 |
packages/multibuild.sh | 30 +++----- |
| 145 |
packages/specs/nagios-plugins-linux.spec.in | 14 +++- |
| 146 |
plugins/check_clock.c | 10 +-- |
| 147 |
plugins/check_cpu.c | 3 + |
| 148 |
plugins/check_memory.c | 55 ++++++++++++-- |
| 149 |
plugins/check_swap.c | 3 + |
| 150 |
plugins/check_uptime.c | 8 +- |
| 151 |
plugins/check_users.c | 3 +- |
| 152 |
tests/Makefile.am | 9 ++- |
| 153 |
tests/tslibcontainer_count.c | 2 +- |
| 154 |
tests/tslibkernelver.c | 7 +- |
| 155 |
tests/tslibperfdata.c | 111 +++++++++++++++++++++++++++ |
| 156 |
31 files changed, 925 insertions(+), 559 deletions(-) |
| 157 |
|
| 158 |
====================================================================== |
| 159 |
|
| 160 |
Major changes between "nagios-plugins-linux" versions 23 and 24 |
| 161 |
-= New Year 2019 release =- |
| 162 |
|
| 163 |
-- Fixes: |
| 164 |
|
| 165 |
* check_cpufreq: the frequences returned by sysfs are in KHz. |
| 166 |
This issue has been reported by "sbraz". Thanks! |
| 167 |
|
| 168 |
-- Enhancements |
| 169 |
|
| 170 |
* check_uptime: add warn, crit, and min values to perfdata |
| 171 |
Based on a merge request opened by "magmax" (https://github.com/magmax). |
| 172 |
Thanks! |
| 173 |
|
| 174 |
* check_cpufreq: make it possible to output the values in Hz/kHz/mHz/gHz |
| 175 |
by adding some new command-line switches: |
| 176 |
|
| 177 |
-H | --Hz |
| 178 |
-K | --kHz |
| 179 |
-M | --mHz |
| 180 |
-G | --gHz |
| 181 |
|
| 182 |
* Build system: |
| 183 |
|
| 184 |
* Check for the compiler flag `-Wstringop-truncation' availability. |
| 185 |
|
| 186 |
* Remove the autotools-generated file `libtool'. |
| 187 |
|
| 188 |
* Fix unsupported warning options for clang (7.0.0): |
| 189 |
|
| 190 |
`-Wformat-signedness' |
| 191 |
`-Wstringop-truncation' |
| 192 |
|
| 193 |
* Support Fedora 29 packaging (rpm packages generation). |
| 194 |
|
| 195 |
|
| 196 |
-- git diff --stat 0a3b90b 0b7e7ea |
| 197 |
|
| 198 |
.github/ISSUE_TEMPLATE/bug_report.md | 26 + |
| 199 |
.gitignore | 1 + |
| 200 |
README.md | 8 +- |
| 201 |
configure.ac | 3 +- |
| 202 |
libtool | 11645 -------------------------------- |
| 203 |
m4/cc_try_cflags.m4 | 4 +- |
| 204 |
packages/Makefile.am | 7 +- |
| 205 |
plugins/check_cpufreq.c | 35 +- |
| 206 |
plugins/check_uptime.c | 9 +- |
| 207 |
9 files changed, 73 insertions(+), 11665 deletions(-) |
| 208 |
|
| 209 |
====================================================================== |
| 210 |
|
| 211 |
Major changes between "nagios-plugins-linux" versions 22 and 23 |
| 212 |
-= Korbielow.pl 2018 release =- |
| 213 |
|
| 214 |
-- Enhancements |
| 215 |
|
| 216 |
* New plugin 'check_docker': |
| 217 |
|
| 218 |
This new plugin can be used for: |
| 219 |
* checking the total number of running docker containers or the containers |
| 220 |
of a given type |
| 221 |
* checking the memory usage (alpha!) |
| 222 |
|
| 223 |
* Build system: |
| 224 |
|
| 225 |
* Build the sources with the available compiler's hardening flags. |
| 226 |
The following compiler flags are tested/added when available: |
| 227 |
* -D_FORTIFY_SOURCE=2 (Buffer overflow checks) |
| 228 |
* -fstack-protector-strong or -fstack-protector-all |
| 229 |
* -fpie -fPIE (Position Independent Executable support) |
| 230 |
* -Wstack-protector |
| 231 |
* -Wl,-z,relro (RELRO (read-only relocation)) |
| 232 |
* -Wl,-z,now |
| 233 |
|
| 234 |
The option `--disable-hardening' disable the attempt to harden |
| 235 |
the resulting executables. |
| 236 |
|
| 237 |
* End the ./configure output with a summary of the build options. |
| 238 |
|
| 239 |
* Add the option --enable-werror to ./configure, to make all warnings |
| 240 |
as errors. This option is disabled by default. |
| 241 |
|
| 242 |
* Package creation: |
| 243 |
|
| 244 |
* Add Fedora 27 and Fedora 28 to the supported distributions. |
| 245 |
|
| 246 |
* Test framework: |
| 247 |
|
| 248 |
* Some new unit tests have been added. |
| 249 |
* lib/container |
| 250 |
* lib/url_encode |
| 251 |
* tests/testutils |
| 252 |
|
| 253 |
-- Fixes: |
| 254 |
|
| 255 |
* Fix some issues reported by Codacy, Coverity, and LGTM. |
| 256 |
|
| 257 |
-- Experimental |
| 258 |
|
| 259 |
* Add the command line option `--enable-libprocps' that will |
| 260 |
link the binaries with the library libprocps newlib instead |
| 261 |
of using the internal libraries. |
| 262 |
|
| 263 |
====================================================================== |
| 264 |
|
| 265 |
Major changes between "nagios-plugins-linux" versions 21 and 22 |
| 266 |
-- "Commit 600" release |
| 267 |
|
| 268 |
-- Fixes |
| 269 |
|
| 270 |
* vminfo lib: add the following items to the /proc/vmstat parser: |
| 271 |
- vm_pgalloc_dma32 |
| 272 |
- vm_pgrefill_dma32 |
| 273 |
- vm_pgscan_direct_dma32 |
| 274 |
- vm_pgscan_kswapd_dma32 |
| 275 |
- vm_pgsteal_dma32 |
| 276 |
- vm_pgsteal_direct_dma |
| 277 |
- vm_pgsteal_direct_dma32 |
| 278 |
|
| 279 |
The DMA32 memory zone is only available on 64-bit linux |
| 280 |
(low ~4GBytes of memory). This patch can slightly modify the value |
| 281 |
of the memory counters reported by check_memory. |
| 282 |
|
| 283 |
-- Enhancements |
| 284 |
|
| 285 |
* Fix several warnings reported by Codacy and Codeclimate. |
| 286 |
|
| 287 |
====================================================================== |
| 288 |
|
| 289 |
Major changes between "nagios-plugins-linux" versions 20 and 21 |
| 290 |
|
| 291 |
-- Enhancements |
| 292 |
|
| 293 |
* check_paging: the command-line option `--swapping-only' has been |
| 294 |
added for displaying only the swap reads and writes. The help |
| 295 |
message has been updated and improved by added some lines that |
| 296 |
explain which kernel variable(s) are selected when a user specify |
| 297 |
the warning and/or critical thresholds. |
| 298 |
|
| 299 |
* The Docker-based framework for packaging the Nagios Plugins for |
| 300 |
Linux (test-build) supports two new extra distributions: |
| 301 |
|
| 302 |
Debian 9 (Stretch) |
| 303 |
Fedora 26 |
| 304 |
|
| 305 |
* The test framework (make check) has been reworked and enriched in |
| 306 |
new modules: |
| 307 |
|
| 308 |
tests/tsclock_thresholds |
| 309 |
tests/tscswch |
| 310 |
tests/tsintr |
| 311 |
tests/tslibmeminfo_conversions |
| 312 |
tests/tslibmeminfo_interface |
| 313 |
tests/tslibmeminfo_procparser |
| 314 |
tests/tslibmessages |
| 315 |
tests/tslibvminfo |
| 316 |
tests/tsload_normalize |
| 317 |
tests/tsload_thresholds |
| 318 |
tests/tspaging |
| 319 |
tests/tstemperature |
| 320 |
tests/tsuptime |
| 321 |
|
| 322 |
The result of each text execution is now diplayed with colors. |
| 323 |
|
| 324 |
* The code of several plugins has been polished and modularized to |
| 325 |
allow testing. |
| 326 |
|
| 327 |
* The glibc function `secure_getenv()' (or `__secure_getenv()' on |
| 328 |
Ubuntu, and maybe other distributions) is now used, instead of |
| 329 |
`getenv()', in the test code to improve security. |
| 330 |
|
| 331 |
====================================================================== |
| 332 |
|
| 333 |
Major changes between "nagios-plugins-linux" versions 19 and 20 |
| 334 |
|
| 335 |
-- Security fixes |
| 336 |
|
| 337 |
* Some insecure data handling issues discovered by Coverity in the |
| 338 |
new test framework have been fixed. |
| 339 |
|
| 340 |
-- Enhancements |
| 341 |
|
| 342 |
* The Clang Static Analyser can now be executed by running the command |
| 343 |
make -C tests check-clang-checker |
| 344 |
in the project root directory. |
| 345 |
All the warnings spotted by this code analyser have been fixed. |
| 346 |
|
| 347 |
* A new Docker-based framework for packaging the Nagios Plugins for |
| 348 |
Linux (rpm and deb packages) is now available. |
| 349 |
The supported Linux distributions follow: |
| 350 |
|
| 351 |
CentOS 5/6/7 |
| 352 |
Debian 6 (Squeeze), 7 (Wheezy), 8 (Jessie) |
| 353 |
Fedora 24/25/rawhide |
| 354 |
RHEL 5/6/7 |
| 355 |
|
| 356 |
* Nagios Plugins for Linux has been Debianized. |
| 357 |
|
| 358 |
* The messages displayed in case of a too large "count" or "delay" |
| 359 |
error have been improved. |
| 360 |
|
| 361 |
====================================================================== |
| 362 |
|
| 363 |
Major changes between "nagios-plugins-linux" versions 18 and 19 |
| 364 |
|
| 365 |
-- Fixes |
| 366 |
|
| 367 |
* check_multipath: recent versions of multipath no longer open a |
| 368 |
multipathd socket file in the file system, but instead use an |
| 369 |
abstract namespace socket: @/org/kernel/linux/storage/multipathd. |
| 370 |
Thanks to Chris Procter "chr15p" for reporting the issue and |
| 371 |
creating a pull request. |
| 372 |
|
| 373 |
* check_load: fixed the performance data output |
| 374 |
|
| 375 |
-- Security fixes |
| 376 |
|
| 377 |
check_cpu: fixed coverity 152987 "Untrusted loop bound" |
| 378 |
check_cswch: fixed coverity 152985 "Untrusted loop bound" |
| 379 |
check_fc: fixed coverity 152984 "Untrusted value as argument" |
| 380 |
check_intr: fixed coverity 152986 "Untrusted loop bound" |
| 381 |
|
| 382 |
-- Enhancements |
| 383 |
|
| 384 |
* check_multipath: fixed the long-standing gcc compiler warning: |
| 385 |
"dereferencing type-punned pointer might break strict-aliasing |
| 386 |
rules [-Wstrict-aliasing]". |
| 387 |
This was a false problem, but the code has been modified to quiet |
| 388 |
the warning. |
| 389 |
|
| 390 |
* check_multipath: use a larger buffer for queries to make this |
| 391 |
plugin working with systems that have lots of mapped disks. |
| 392 |
|
| 393 |
* test-suite: a framework for testing the code (make check) has been |
| 394 |
added and some tests are now available. |
| 395 |
|
| 396 |
-- Compatibility issues |
| 397 |
|
| 398 |
* check_multipath: by default the abstract namespace socket |
| 399 |
"@/org/kernel/linux/storage/multipathd" is now selected at build |
| 400 |
time. If you need to monitor old distributions (RHEL5 and RHEL6 |
| 401 |
for instance) you need to configure this package as followed: |
| 402 |
|
| 403 |
./configure --with-socketfile=/var/run/multipathd.sock |
| 404 |
|
| 405 |
====================================================================== |
| 406 |
|
| 407 |
Major changes between "nagios-plugins-linux" versions 17 and 18 |
| 408 |
|
| 409 |
-- Fixes |
| 410 |
|
| 411 |
* check_clock, |
| 412 |
check_cpufreq, |
| 413 |
check_cswch, |
| 414 |
check_intr, |
| 415 |
check_multipath, |
| 416 |
check_nbprocs, |
| 417 |
check_network, |
| 418 |
check_tcpcount, |
| 419 |
check_users: fix the return code of the warning and critical |
| 420 |
case. Thanks Paul Dunkler for pointing out this issue. |
| 421 |
|
| 422 |
* check_cpu: fix the detection of the CPU 64-bit op-mode. |
| 423 |
|
| 424 |
* check_cpu: fix a memory resource leak reported by the Coverity Scan |
| 425 |
tool. |
| 426 |
|
| 427 |
* meminfo lib (check_memory): use SReclaimable in cached. |
| 428 |
The cached memory is something you can get back and reclaim if |
| 429 |
under memory pressure. Make cached only use the reclaimable |
| 430 |
component and ignore the unreclaimable values which doesn't make |
| 431 |
sense in this context. |
| 432 |
|
| 433 |
====================================================================== |
| 434 |
|
| 435 |
Major changes between "nagios-plugins-linux" versions 16 and 17 |
| 436 |
-- "400th (git) commit" release |
| 437 |
|
| 438 |
-- Enhancements |
| 439 |
|
| 440 |
* check_fc: new plugin for checking the status of the fiber channel |
| 441 |
ports. |
| 442 |
|
| 443 |
-- Fixes |
| 444 |
|
| 445 |
* Fix a resource leak in the library 'thresholds'. |
| 446 |
|
| 447 |
* Minor fix in the library 'interrupt'. |
| 448 |
|
| 449 |
====================================================================== |
| 450 |
|
| 451 |
Major changes between "nagios-plugins-linux" versions 15 and 16 |
| 452 |
-- "25 aprile" release |
| 453 |
|
| 454 |
-- Enhancements |
| 455 |
|
| 456 |
* check_cpufreq: new plugin. |
| 457 |
|
| 458 |
* meminfo lib: reduce the memory footprint by not allocating the |
| 459 |
variable exported by /proc/memory and not used by any plugin. |
| 460 |
|
| 461 |
* check_cpu: new option '--per-cpu' for checking the CPU utilization |
| 462 |
for each CPU. A warning message is returned if at least one CPU |
| 463 |
exceeds the warning threshold and no CPU exceed the critical state. |
| 464 |
A critical message is returned if at least one CPU exceeds the |
| 465 |
critical threshold. |
| 466 |
The option '--cpufreq' has been removed because this information is |
| 467 |
now provided by the new plugin 'check_cpufreq'. |
| 468 |
|
| 469 |
-- Fixes |
| 470 |
|
| 471 |
* check_multipath: fix the regular expression that catches the failed |
| 472 |
paths and that prevented the plugin from working correctly. |
| 473 |
|
| 474 |
* Improved code quality based on the Coverity scan analysis. |
| 475 |
|
| 476 |
* Build system: minor fixes to make the Travis-CI Continuous |
| 477 |
Integration work - gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) environment. |
| 478 |
Update some obsolete macros used by configure.ac. |
| 479 |
Portability has been improved. |
| 480 |
|
| 481 |
====================================================================== |
| 482 |
|
| 483 |
Major changes between "nagios-plugins-linux" versions 14 and 15 |
| 484 |
|
| 485 |
-- Enhancements |
| 486 |
|
| 487 |
* check_memory / meminfo lib: the command line option '-C|--caches' |
| 488 |
now does nothing but is still accepted for compatibility. |
| 489 |
The memory usage calculation has been reviewed and is now more |
| 490 |
accurate. The changes are based on the (long) discussions and |
| 491 |
patches that have been recently posted in the procps mailing list. |
| 492 |
|
| 493 |
* check_memory / meminfo lib: a fall-back has been implemented in |
| 494 |
order to provide the memory available counter for the linux kernels |
| 495 |
2.6.27 and above, |
| 496 |
|
| 497 |
* check_cpu: add one decimal digit to the counters 'cpu_user', |
| 498 |
'cpu_system', 'cpu_idle', 'cpu_iowait', and 'cpu_steal'. |
| 499 |
|
| 500 |
* check_cpu: new command line option '-m|--no-cpu-model' for removing |
| 501 |
the cpu model description from the output message. |
| 502 |
|
| 503 |
====================================================================== |
| 504 |
|
| 505 |
Major changes between "nagios-plugins-linux" versions 13 and 14 |
| 506 |
-= Korbielow 2014 release =- |
| 507 |
|
| 508 |
-- Enhancements |
| 509 |
|
| 510 |
* check_users: new '--verbose' mode, for debugging. |
| 511 |
|
| 512 |
* check_uptime: new option '-m|--clock-monotonic' for retrieving the |
| 513 |
time of the linux monotonic clock instead of using the system |
| 514 |
statistics returned by 'sysinfo()'. |
| 515 |
|
| 516 |
* New library 'xstrtol' containing the function 'strtol_or_err' that |
| 517 |
was previosly duplicated in several plugins. |
| 518 |
|
| 519 |
-- Fixes |
| 520 |
|
| 521 |
* check_clock: option '--refclock': validate the input instead of |
| 522 |
returning crap when the date format is unsupported. |
| 523 |
|
| 524 |
* check_readonlys: do not dereference a null pointer string in the |
| 525 |
output message when no readonly filesystems are detected. |
| 526 |
|
| 527 |
* Minor fixes. |
| 528 |
|
| 529 |
====================================================================== |
| 530 |
|
| 531 |
Major changes between "nagios-plugins-linux" versions 12 and 13 |
| 532 |
|
| 533 |
-- Enhancements |
| 534 |
|
| 535 |
* The build system, the plugins and libraries are been reworked in |
| 536 |
order to support some older Linux kernels and (gcc) compilers. |
| 537 |
The "nagios-plugins-linux" can now be compiled and run on older |
| 538 |
linux systems, like RHEL 5 (gcc 4.1.2, kernel 2.6.18). |
| 539 |
|
| 540 |
* check_memory: new option '-a|--available' for selecting the kernel |
| 541 |
counter 'MemAvailable' instead of the default one (memory used). |
| 542 |
This feature requires a Linux kernel 3.14 or better. |
| 543 |
For older kernels the plugin falls back to the free memory counter. |
| 544 |
|
| 545 |
-- Fixes |
| 546 |
|
| 547 |
* check_tcpcount: do not exit with 'error opening /proc/net/tcp6' |
| 548 |
when the command line option '--tcp6' has not been specified. |
| 549 |
|
| 550 |
* cpustats library: do not exit with an error message if 'softirq' |
| 551 |
cannot be found in /proc/stat'. This entry is not provided by old |
| 552 |
kernels. |
| 553 |
|
| 554 |
===================================================================== |
| 555 |
|
| 556 |
Major changes between "nagios-plugins-linux" versions 11 and 12 |
| 557 |
|
| 558 |
* New plugin 'check_intr'. |
| 559 |
* meminfo library: get 'MemAvailable' value from /proc/meminfo |
| 560 |
(kernel 3.14+) for a future usage. |
| 561 |
* check_cswch: fix the unit displayed in the output message when |
| 562 |
'count' is 1. |
| 563 |
|
| 564 |
====================================================================== |
| 565 |
|
| 566 |
Major changes between "nagios-plugins-linux" versions 10 and 11 |
| 567 |
|
| 568 |
* New plugin 'check_cswch'. |
| 569 |
* check_cpu: better output of '--cpuinfo' when a hot pluggable cpu |
| 570 |
is offline. |
| 571 |
|
| 572 |
====================================================================== |
| 573 |
|
| 574 |
Major changes between "nagios-plugins-linux" versions 9 and 10 |
| 575 |
|
| 576 |
* check_temperature: modify the syntax of the switch command |
| 577 |
* check_temperature: add the sensor type to the output message. |
| 578 |
* check_temperature. the code has been reworked and most of the code |
| 579 |
moved to the sysfsparser library. |
| 580 |
|
| 581 |
====================================================================== |
| 582 |
|
| 583 |
Major changes between "nagios-plugins-linux" versions 8 and 9 |
| 584 |
|
| 585 |
* New plugin 'check_temperature'. |
| 586 |
* check_cpu: add the CPU frequencies to the plugin perfdata. |
| 587 |
* check_cpu: new summary mode (command line switch: '--cpuinfo'). |
| 588 |
|
| 589 |
====================================================================== |
| 590 |
|
| 591 |
Major changes between "nagios-plugins-linux" versions 7 and 8 |
| 592 |
|
| 593 |
* New plugin 'check_network'. |
| 594 |
|
| 595 |
====================================================================== |
| 596 |
|
| 597 |
Major changes between "nagios-plugins-linux" versions 6 and 7 |
| 598 |
|
| 599 |
* New plugin 'check_clock'. |
| 600 |
* Conditionally enable ('--degub') the debug messages at build time. |
| 601 |
* Minor fixes. |
| 602 |
|
| 603 |
====================================================================== |
| 604 |
|
| 605 |
Major changes between "nagios-plugins-linux" versions 5 and 6 |
| 606 |
|
| 607 |
* New plugin 'check_nbprocs'. |
| 608 |
* The verbose mode is not avaiblable in the plugin 'check_tcpcount'. |
| 609 |
* Minor fixes. |
| 610 |
|
| 611 |
====================================================================== |
| 612 |
|
| 613 |
Major changes between "nagios-plugins-linux" versions 4 and 5 |
| 614 |
|
| 615 |
* New plugins 'check_paging' and 'check_tcpcount'. |
| 616 |
* The plugun 'check_load' now always display the three loads (1, 5, |
| 617 |
and 15 minuts load) in the perfdata. |
| 618 |
* Plugins 'check_memory', 'check_swap': new argument '--vmstats'. |
| 619 |
* Plugin 'check_memory': properly handle memory used by tmpfs. |
| 620 |
* Reports the paging activity per second instead of the value since |
| 621 |
last boot in 'check_memory', and 'check_swap'. |
| 622 |
* The internal libraries have been completely reworked. |
| 623 |
* Build system: rework the build system and enable the silent mode. |
| 624 |
* Several fixes. |
| 625 |
|
| 626 |
====================================================================== |
| 627 |
|
| 628 |
Major changes between "nagios-plugins-linux" versions 3 and 4 |
| 629 |
|
| 630 |
* New plugins 'check_users' and 'check_multipath'. |
| 631 |
* Code cleanups. |
| 632 |
|
| 633 |
====================================================================== |
| 634 |
|
| 635 |
Major changes between "nagios-plugins-linux" versions 2 and 3 |
| 636 |
|
| 637 |
* New plugin 'check_cpu'. |
| 638 |
* The plugin 'check_io_latency' has been renamed to 'check_iowait'. |
| 639 |
|
| 640 |
====================================================================== |
| 641 |
|
| 642 |
Major changes between "nagios-plugins-linux" versions 1 and 2 |
| 643 |
|
| 644 |
* New plugins 'check_load' and 'check_io_latency'. |
| 645 |
* A C99 compliant compiler is now required for building the source |
| 646 |
code. |
| 647 |
* The internal library has been reworked and some new functions have |
| 648 |
been added. |
| 649 |
* Minor fixes and code cleanups. |
| 650 |
|
| 651 |
====================================================================== |
| 652 |
|
| 653 |
Nagios Plugins Linux version 1 |
| 654 |
|
| 655 |
* Available plugins: |
| 656 |
- check_ifmountfs, check_readonlyfs; |
| 657 |
- chck_memory, check_swap; |
| 658 |
- check_uptime. |
| 659 |
* An internal static library containing the common code has been |
| 660 |
created. |