Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-09-15 | general refactorin in lib, more local variables, real booleans | Lorenz Kästle | 5 | -31/+25 | |
2025-09-15 | Run clang-format again | Lorenz Kästle | 7 | -184/+297 | |
2025-09-08 | check_snmp: refactoring + fixes | Lorenz Kästle | 1 | -167/+23 | |
This commit moves the state retention logic to check_snmp as it is only used there and I do not want it to be used at all, so it doesn't get a place in the lib. Otherwise this adapts tests and fixes the rate computing in the refactored version of check_snmp. Also fixes some bugs detected with the tests | |||||
2025-03-18 | Migrate disk tests from lib, tool | Lorenz Kästle | 3 | -201/+3 | |
2025-02-18 | Implement new output functionality | Lorenz Kästle | 3 | -3/+324 | |
2024-10-31 | lib: clang-format | RincewindsHat | 8 | -119/+168 | |
2024-10-17 | lib: clang-format | Lorenz Kästle | 10 | -923/+759 | |
2023-10-15 | Replace all old school booleans in lib witch C99 ones | RincewindsHat | 2 | -48/+48 | |
2023-10-15 | Whitespace fixes in lib | RincewindsHat | 8 | -48/+47 | |
2023-04-14 | Fix a lot of typos reported by codespell | Jan Wagner | 5 | -12/+12 | |
2023-02-01 | Fix hashes in tests since we are using sha256 now | Lorenz Kästle | 1 | -3/+3 | |
2023-02-01 | Also link LIB_CRYPTO against tests | Lorenz Kästle | 1 | -1/+1 | |
2014-06-21 | Add UID to state retention file path | Holger Weiss | 1 | -2/+6 | |
Add the UID of the invoking user to the state retention file path. This helps solving permission issues when different users run the same plugin. | |||||
2014-03-09 | build - avoid deprecated INCLUDES | Davide Madrisan | 1 | -3/+2 | |
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com> | |||||
2014-01-31 | Add tests for negative thresholds in test_utils | Thomas Guyot-Sionnest | 1 | -2/+17 | |
2014-01-29 | Add tests for mp_translate_state() | Thomas Guyot-Sionnest | 1 | -5/+50 | |
2014-01-27 | Rename MP_STATE_DIRECTORY to MP_STATE_PATH | Thomas Guyot-Sionnest | 1 | -3/+3 | |
2014-01-25 | Ignore MP_STATE_DIRECTORY in suid plugins | Thomas Guyot-Sionnest | 1 | -1/+3 | |
If a plugin still has suid privileges at the time np_enable_state() is called, the MP_STATE_DIRECTORY environment will be ignored. There is no need for a NEWS entry as no suid plugins use np_enable_state yet. | |||||
2014-01-25 | Rename ENV variable, keep backward compatibility | Thomas Guyot-Sionnest | 1 | -3/+3 | |
Rename NAGIOS_PLUGIN_STATE_DIRECTORY to MP_STATE_DIRECTORY | |||||
2014-01-24 | Update comments | Thomas Guyot-Sionnest | 10 | -10/+10 | |
1. libtab is now bundled, so suggest to enable it rather than install it 2. "parse-ini" feature has been called "extra-opts" | |||||
2014-01-19 | Project rename initial commit. | Monitoring Plugins Development Team | 2 | -25/+25 | |
This is an initial take at renaming the project to Monitoring Plugins. It's not expected to be fully complete, and it is expected to break things (The perl module for instance). More testing will be required before this goes mainline. | |||||
2013-09-12 | Minor cosmetic changes | Holger Weiss | 1 | -3/+3 | |
2013-09-12 | check_tcp: Properly deal will partial recv(3)s | Holger Weiss | 1 | -9/+11 | |
The np_expect_match() function now returns one of three possible states instead of just TRUE or FALSE: - NP_MATCH_SUCCESS - NP_MATCH_FAILURE - NP_MATCH_RETRY The NP_MATCH_RETRY state indicates that matching might succeed if np_expect_match() is called with a longer input string. This allows check_tcp to decide whether it makes sense to wait for additional data from the server. | |||||
2013-09-12 | Improve interface of np_expect_match() function | Holger Weiss | 1 | -8/+8 | |
Replace the three boolean parameters of lib/utils_tcp.c's np_expect_match() function with a single "flags" parameter. | |||||
2013-09-10 | Fix GCC's -Wuninitialized warnings | Holger Weiss | 1 | -1/+1 | |
Fix the issues found by GCC when the -Wuninitialized flag is specified. | |||||
2013-08-17 | Adding tests for range @1:1 | Dominique Broeglin | 1 | -1/+13 | |
2010-06-25 | Add test file directory | tonvoon | 1 | -1/+1 | |
2010-06-24 | Cleanup some warnings displayed from IRIX tinderbox server | Ton Voon | 1 | -10/+8 | |
2010-06-23 | Added state retention APIs. Implemented for check_snmp with --rate option. | Ton Voon | 7 | -1/+204 | |
See http://nagiosplugin.org/c-api-private for more details on the API. Also updated check_snmp -l option to change the perfdata label. | |||||
2009-06-11 | Use a more "natural" way of writing argument lists in extra-opts tests. | Thomas Guyot-Sionnest | 2 | -172/+133 | |
2009-01-26 | Make extract_value more generic: | Thomas Guyot-Sionnest | 1 | -24/+24 | |
Add a separator argument passed using defines. | |||||
2009-01-24 | Remove the commented out blocks | Thomas Guyot-Sionnest | 2 | -66/+0 | |
The die tests are implemented in the test_*3.t files | |||||
2009-01-24 | Fix paths in test_ini tests | Thomas Guyot-Sionnest | 2 | -4/+4 | |
2009-01-23 | Add die tests for parse_ini | Thomas Guyot-Sionnest | 6 | -5/+76 | |
2009-01-22 | Return UNKNOWN if none of the default files can be found. | Thomas Guyot-Sionnest | 1 | -9/+14 | |
It makes no sense to return unknown if an implicit section is not found, but go on if the file is missing | |||||
2009-01-22 | Add die tests for extra-opts | Thomas Guyot-Sionnest | 5 | -10/+72 | |
2009-01-21 | Move check_ntp's extract_value to utils_base.c. | Thomas Guyot-Sionnest | 1 | -1/+80 | |
This function can also be used to parse performance data strings which could be useful in the future. | |||||
2009-01-21 | Accidentally included built executables - also updated .gitignore | Thomas Guyot-Sionnest | 2 | -0/+0 | |
2009-01-20 | Some platform are missing setenv | Thomas Guyot-Sionnest | 8 | -98/+168 | |
Instead of adding the gnulib module for solving tests only I split the test in two, setting environment from Perl for the later. | |||||
2009-01-20 | Fix (or try at least) for IRIX compile to tap tests | Thomas Guyot-Sionnest | 1 | -1/+1 | |
Gnulib says: "$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise" Everywhere else we use LTLIBINTL so I assume the tests should use it as well. | |||||
2009-01-18 | Re-apply "Cleanup; fix the way libraries are linked; Make-It-Simple(tm)" | Thomas Guyot-Sionnest | 1 | -33/+4 | |
This reverts commit 7449b16b1781c645751e2c05b93893e93630fb2a. | |||||
2009-01-15 | Typo | Thomas Guyot-Sionnest | 1 | -1/+2 | |
2009-01-09 | Fix test from last commit | Thomas Guyot-Sionnest | 1 | -1/+1 | |
2009-01-09 | basename check in test_utils.c was accidentaly added again. | Thomas Guyot-Sionnest | 1 | -4/+0 | |
In 538b97c I reverted a serie of libtap patch by Ton Voon; it included the removal of the useless basename check. Relevant portion of the changelog from which it was removed (f31cd40): Removed basename test as we should use base_name from GNUlib which is tested separately | |||||
2009-01-09 | Revert "Cleanup; fix the way libraries are linked; Make-It-Simple(tm)" | Thomas Guyot-Sionnest | 1 | -4/+33 | |
Trying to see if this has any relation to the tinderbox failure. I doubt it and will revert back as soon as it's tested. This reverts commit a97e5fbda21a05574b0e3c5a5118402ebfbbd13c. | |||||
2009-01-08 | Try to make IRIX happy (this fixes a similar warning in Solaris) | Thomas Guyot-Sionnest | 1 | -1/+1 | |
2009-01-07 | Cleanup; fix the way libraries are linked; Make-It-Simple(tm) | Thomas Guyot-Sionnest | 1 | -33/+4 | |
lib/Makefile.am | 2 +- lib/tests/Makefile.am | 37 ++++--------------------------------- 2 files changed, 5 insertions(+), 34 deletions(-) | |||||
2008-11-29 | Add Libtap as a bundled library (does not change any behaviour without ↵ | Thomas Guyot-Sionnest | 1 | -20/+29 | |
--enable-libtap) Detects system library as pre-1.4.13 and does not install the built-in library anymore Tested on: - Linux x86_64, with and without local libtap (System libtap installed) - Linux x86, with and without local libtap (System libtap NOT installed) - Solaris SPARC, with and without local libtap, with and without system libtap installed | |||||
2008-11-28 | Revert inclusion of libtap into nagiosplugins | Thomas Guyot-Sionnest | 10 | -60/+85 | |
(except for the NEWS file) This reverts the following commits (latest first): f3e0909, 9f16b54, be8df51, f31cd40, 5270c7d, a25083f, f1bfe40, c503d85 and 6c476db | |||||
2008-11-23 | Removing CVS/SVN tags and replacing with git-based versioning | Thomas Guyot-Sionnest | 7 | -8/+0 | |
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c |