aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-08tests: enable snmp testsGravatar Sven Nierlein
Enabled snmp tests against snmpd on localhost. It was installed already in the travis file, we just need to enable the tests by setting the parameters in the answers file. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2016-11-08check_snmp: fix number of tests skipedGravatar Sven Nierlein
2016-11-08check_snmp: add testcase for no datatypeGravatar Sven Nierlein
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2016-11-08Revert "check_snmp: fix push request 1173 for SNMP responses without ↵Gravatar Sven Nierlein
datatype indicator" This reverts commit 3178c8c0ff18822a04fe01c749f3564887473eed.
2016-11-08Revert "update thanks file"Gravatar Sven Nierlein
This reverts commit 4403c402cba0315c2cb9ebe40639a5fe312d643e.
2016-11-08update thanks fileGravatar Sven Nierlein
2016-11-08check_snmp: fix push request 1173 for SNMP responses without datatype indicatorGravatar Thomas Kurschel
2016-11-07fix superfluous argument to printf (#fixes 1308)Gravatar Sven Nierlein
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2016-11-07Merge pull request #1311 from waja/check_ntp_remove_unused_variablesGravatar Sven Nierlein
check_ntp: remove unused variables
2016-11-07Merge pull request #1309 from waja/negate_remove_unused_variablesGravatar Sven Nierlein
negate: remove unused variables
2016-11-07Merge pull request #1312 from waja/check_disk_remove_unused_variablesGravatar Sven Nierlein
check_disk: remove unused variables
2016-11-07Merge pull request #1313 from waja/check_ntp_time_remove_unused_variablesGravatar Sven Nierlein
check_ntp_time: remove unused variables
2016-11-07Merge pull request #1307 from waja/check_dns_dead_codeGravatar Sven Nierlein
check_dns: remove dead code
2016-11-07update news and thanks fileGravatar Sven Nierlein
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2016-11-07tests: adjust check_http to new output formatGravatar Sven Nierlein
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2016-11-07GMT expiry displayGravatar Peter (pir) Radcliffe
Change solution to display GMT time in the local display format with the offset number of hours from GMT to be clear about what timezone this is if the local display format does not include offset.
2016-11-07Revert "Fix check_http test time output"Gravatar Peter (pir) Radcliffe
This reverts commit 2d9e61a4382b8366331cde7617dbc4e381a0219a.
2016-11-07Fix check_http test time outputGravatar Peter (pir) Radcliffe
Tests need to match new output time and timezone.
2016-11-07Use GMT timezone in SSL certsGravatar Peter (pir) Radcliffe
SSL certs are required to use times in GMT per https://www.ietf.org/rfc/rfc5280.txt but the mktime() here assumes the current timezone. Fix the time_t conversion to be done assuming GMT with timegm() and only do it once rather than twice. Display the expiry date and time with ISO format years and give an offset from GMT and a timezone to be very clear about exactly what time is being displayed. Time given is correct and now in the machine’s timezone.
2016-11-07check_snmp.c - Added IPv6 supportGravatar abrist
The "-6" optarg now prepends the server_address with "udp6:" for the snmpget external command as per the net-snmp syntax at: http://www.net-snmp.org/wiki/index.php/FAQ:Applications_28 Thanks to DrydenK (Roberto Greiner) for the heads up.
2016-11-07check_users: add new test casesGravatar Sven Nierlein
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2016-11-07check_users: still allow zero thresholdsGravatar Sven Nierlein
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2016-11-07check_users not correctly detecting thresholdsGravatar John C. Frickson
Fix for issue https://github.com/nagios-plugins/nagios-plugins/issues/81 check_users now uses the standard warning and critical ranges parser and a standard perdata output routine.
2016-11-04check_disk - show all disks if state is ok and option error only is usedGravatar Oliver Skibbe
This fix changes output of check_disk in case of --error-only/-e option is used and state is ok - Old output: DISK OK - New output: DISK OK - free space: / 159731 MB (83% inode=61%); /dev/shm 2926 MB (100% inode=99%); /boot 58 MB (32% inode=99%); Resolves: #1420
2016-09-17check_by_ssh: print command output in verbose modeGravatar Sven Nierlein
right now it is not possible to print the command output of ssh. check_by_ssh only prints the command itself. This patchs adds printing the output too. This makes it possible to use ssh with verbose logging which helps debuging any connection, key or other ssh problems. Note: you must use -E,--skip-stderr=<high number>, otherwise check_by_ssh would always exit with unknown state. Example: ./check_by_ssh -H localhost -o LogLevel=DEBUG3 -C "sleep 1" -E 999 -v Signed-off-by: Sven Nierlein <sven@nierlein.de>
2016-09-16check_dhcp: Make xid a bit more randomGravatar Holger Weiss
Don't just use the current time(2) to seed the PRNG that generates the xid. A DHCP server might be checked multiple times per second.
2016-09-14check_dhcp: Don't peek before reading responseGravatar Holger Weiss
Omit a recvfrom(3) call which has the MSG_PEEK flag set and should have no effect at all. According to a comment in the code, this call was meant to be a workaround to an opaque issue. If anyone runs into that issue, we should fix it properly instead.
2016-03-24Update AUTHORSGravatar Oliver Skibbe
Added Oliver Skibbe to Authors
2016-02-22Merge branch 'pr/1386'Gravatar Holger Weiss
* pr/1386: check_dig: expected answer is now incasesensitive
2016-02-22Let check_http test use HTTP/1.1Gravatar Holger Weiss
2016-02-22Merge branch 'pr/1404'Gravatar Holger Weiss
* pr/1404: DNS is case insensitive!
2016-02-22Add Gnulib module "strcasestr"Gravatar Holger Weiss
2016-02-22DNS is case insensitive!Gravatar Sven Geggus
Thus recent Versions of bind will no longer change .IN-ADDR.ARPA to lowercase as the uppercase version is also valid. To have check_dns.c consider this fact change strstr to strcasestr
2015-11-04Update check_http.cGravatar Gerhard Lausser
If a web page contains a nul character, check_http reads the complete page but --expect does not search beyond this character.
2015-11-03Merge remote-tracking branch 'upstream/pr/1390'Gravatar Jan Wagner
2015-11-02Typo in check_ldap.c usageGravatar Gerhard Lausser
2015-10-21travis-ci: Adding spwaspace to trusty envGravatar Jan Wagner
2015-10-21travis-ci: Stop local running ntpdGravatar Jan Wagner
2015-10-21travis-ci: Detect LDAP configGravatar Jan Wagner
2015-10-21travis-ci: Add ppa:waja/precise-backports for fixed faketimeGravatar Jan Wagner
2015-10-20travis-ci: Clearly documentx why we need install mariadbGravatar Jan Wagner
2015-10-20travis-ci: Work around broken /etc/hosts on trusty envGravatar Jan Wagner
2015-10-19travis-ci: Adding multiverse repository as long it's not default. ↵Gravatar Jan Wagner
snmp-mibs-downloader is located there
2015-10-19travis-ci: Install mariadb-client and mariadb-serverGravatar Jan Wagner
2015-10-19travis-ci: Migrating to Trusty CI envGravatar Jan Wagner
2015-10-16Prepare for the 2.1.2 releaseGravatar Holger Weiss
2015-10-15check_mssql.pl: switched alarm timeoutGravatar Bernd Apfel
- alarm() now uses -t option contributed by Bernd Arnold (wopfel@gmail.com) closes #991
2015-10-15check_dig: expected answer is now incasesensitiveGravatar Daniel Stirnimann
check_dig was casesensitive if an expected answer is given. Switching strstr with strcasestr fixes this issue While testing i noticed a bug where expected is not an exact match New issue for that is opened #1385 This fix closes #1233
2015-10-13Updating NEWSGravatar Jan Wagner
2015-10-13Merge branch 'check_proc_1203'Gravatar Jan Wagner
(Closes #1371) (Closes #1203)