summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-04-21add counting of entries to check_ldapGerhard Lausser1-9/+60
2015-04-21add sperfdata function which can handle threshold rangesGerhard Lausser1-0/+40
2015-04-13Readability fixAndrew Widdersheim1-1/+2
2015-04-13Update RELEASINGElan Ruusamäe1-3/+3
fix some typos.
2015-04-12install snmpd on travis testsSven Nierlein1-1/+1
because its required for ./plugins/tests/check_snmp.t Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2015-04-12enable libtab on travis buildsSven Nierlein1-1/+1
to enable some more tests Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2015-04-12add perl snmp to travis dependenciesSven Nierlein1-1/+1
it is required for the check_snmp tests Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2015-04-12fix snmp test for included thresholdSven Nierlein1-11/+11
since 6623a1 check_snmp prints the thresholds along the performance data. This adjust our test cases accordingly. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2015-04-11update perl module to 0.39Sven Nierlein2-0/+0
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-01-29make use of MSG_CONFIRM optionalSven Nierlein1-0/+5
since MSG_CONFIRM is a linux thing and only available on linux kernels >= 2.3.15, see send(2)
2014-12-27utils: remove unused variablerefs/pull/1315/headSebastian Herbszt1-2/+0
Remove unused variable. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-27check_ntp_time: remove unused variablesrefs/pull/1313/headSebastian Herbszt1-4/+2
Remove unused variables. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-27check_ntp: remove unused variablesrefs/pull/1311/headSebastian Herbszt1-4/+2
Remove unused variables. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-27check_disk: remove unused variablesrefs/pull/1312/headSebastian Herbszt1-7/+2
Remove unused variables. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-15Add tools/update-thanks scriptHolger Weiss1-0/+56
The tools/update-thanks script can be used to update the THANKS.in file.
2014-12-15negate: remove unused variablesrefs/pull/1309/headSebastian Herbszt1-2/+2
Remove unused variables. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-15check_dns: remove dead coderefs/pull/1307/headSebastian Herbszt1-6/+0
Remove code dead since commit 4efa917. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-02check_mailq: Add sudo supportHolger Weiss5-8/+35
This addition is based on a patch contributed by Christopher Schultz. Closes #1099. Closes #1171.
2014-12-02Merge branch 'handle-hanging-nfs'Holger Weiss4-1/+51
* handle-hanging-nfs: NEWS: Mention check_disk enhancement Cosmetic change: s/THRLIBS/THREADLIBS/ configure.ac: Don't let pthread check depend on OS check_disk: Seperate declarations from code check_disk: Remove unused status variable check_disk: Fix pthread start routine type Don't let check_disk hang on hanging file systems
2014-12-02NEWS: Mention check_disk enhancementHolger Weiss1-0/+1
Closes #867. Closes #1186.
2014-12-02Cosmetic change: s/THRLIBS/THREADLIBS/Holger Weiss2-4/+4
Use a more intuitive variable name.
2014-12-02check_icmp: Cast size_t values for printf(3)Holger Weiss1-2/+5
Convert size_t values to unsigned long for printf(3) in order to maximize portability.
2014-12-02Merge branch 'maint'Holger Weiss8-17/+27
* maint: NEWS: Modify list of changes for 2.1.1 release Prepare release THANKS.in: Add new authors NEWS: Updating all the fixes check_tcp: fix help description regarding escape option check_ntp: Nul-terminate jitter data Revert "plugins/check_ntp.c - Verify struct from response" check_real: fix null termination check_ntp: fix null termination check_apt: fix memset Conflicts: NEWS
2014-12-02configure.ac: Don't let pthread check depend on OSHolger Weiss1-12/+6
Don't check the operating system environment to detect the correct linker flags for using the POSIX thread library.
2014-12-01NEWS: Modify list of changes for 2.1.1 releasev2.1.1Holger Weiss1-5/+6
Make the list of changes slightly more descriptive.
2014-12-01Fixing and removing outdated informationJan Wagner1-29/+7
2014-12-01Prepare releaseJan Wagner2-2/+2
2014-12-01THANKS.in: Add new authorsJan Wagner1-0/+1
2014-12-01NEWS: Updating all the fixesJan Wagner1-0/+7
2014-12-01We are now monitoring-pluginsJan Wagner1-1/+1
2014-12-01check_tcp: fix help description regarding escape optionSebastian Herbszt1-1/+1
The help description should print '\\' for backslash not just '\'. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-01check_ntp: Nul-terminate jitter dataHolger Weiss1-1/+11
Make sure the jitter response is nul-terminated before parsing the data using string functions.
2014-11-30Revert "plugins/check_ntp.c - Verify struct from response"Holger Weiss1-11/+2
This reverts commit a04df3e1b67dc5eab3adc202cc89901f801cdeaa. The "fix" was bogus in many ways and broke jitter checking. Conflicts: plugins/check_ntp.c
2014-11-30update .gitignoreSebastian Herbszt1-0/+1
Add build-aux/test-driver to .gitignore. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-11-30check_disk: Seperate declarations from codeHolger Weiss1-0/+1
2014-11-30check_disk: Remove unused status variableHolger Weiss1-2/+1
We didn't actually use the exit status provided by pthread_join(3) for anything.
2014-11-28check_disk: Fix pthread start routine typeHolger Weiss1-3/+6
The function pointer passed as third argument to pthread_create(3) must be of type void *(*)(void *).
2014-11-28Don't let check_disk hang on hanging file systemsGerhard Lausser3-1/+53
2014-11-28NEWS: Mention HP-UX fixes for check_procsHolger Weiss1-0/+1
Closes #1288.
2014-11-28Added particular ps command for HP-UX (check_procs)Yannick Charton1-0/+14
2014-11-28NEWS: Mention the check_real fixHolger Weiss1-0/+4
Closes #1290.
2014-11-28Added missing CR in DESCRIBE request.Andrew Berglund1-4/+4
2014-11-28check_icmp: Fix a few type errorsHolger Weiss1-5/+5
2014-11-28Don't mix variable declarations and codeHolger Weiss1-15/+23
We still support pre-C99 compilers.
2014-11-28Use kernel reception time on ICMP packets to compute rtt.Matthieu Kermagoret1-7/+48
This commit uses the SO_TIMESTAMP feature of setsockopt to fetch kernel reception time of ICMP packets. This avoids invalid computations of rtt on machines with heavy load and/or heavy network traffic.
2014-11-28Merge pull request #1304 from monitoring-plugins/pr-1183-enhancedSven Nierlein1-2/+12
merge pull request #1300 while moving values to constants
2014-11-28make constants from maxfd values (#1300)refs/pull/1304/headSven Nierlein1-4/+6
its good practice to use constants instead of (random) values. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2014-11-28avoid a segfault, if ulimit is set to unlimitednafets1-0/+8
2014-11-28Adding a warning for raising to CRITICAL for protocal/version errors of ↵Jan Wagner1-0/+1
check_ssh
2014-11-28check_ssh: change warning to critical for protocal/version errorsSven Nierlein1-6/+6
It makes more sense to exit critical if a explicit version/protocol is requested. This would also be more consistent with other plugins. Other string matching plugins like check_snmp or check_http exit critical if the result does not match. Signed-off-by: Sven Nierlein <sven@nierlein.de> Closes #1268