summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-11-28make constants from maxfd values (#1300)Sven 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
2014-11-28NEWS: Mention new "check_nt -l" parametersHolger Weiss1-0/+1
Closes #1253.
2014-11-28Added perfdata to check_nt. New -l options - seconds|minutes|hours|days.Andy Brist1-14/+37
2014-11-28NEWS: Mention new check_snmp optionHolger Weiss1-0/+1
Closes #1221.
2014-11-28Introduce support for SNMPv3 context in check_snmpJohannes Engel1-11/+31
snmpget already supports using SNMPv3 contexts using the option "-n". Thus all we need to do is introduce a new argument to check_snmp and pass the argument on to snmpget using snmpget's option "-n". Since "-n" is already in use for check_snmp for a different purpose, we use "-N" instead.
2014-11-28NEWS: Mention check_snmp's perfdata thresholdsHolger Weiss1-0/+3
2014-11-28check_snmp: Add thresholds to performance dataAndreas Seemueller1-0/+12
2014-11-27check_real: fix null terminationSebastian Herbszt1-1/+1
Fix null termination introduced by commit b61f51a ("plugins/check_real.c - recv string null terminate"). Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-11-27check_ntp: fix null terminationSebastian Herbszt1-1/+1
Fix null termination introduced by commit a04df3e ("plugins/check_ntp.c - Verify struct from response"). Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-11-26check_apt: fix memsetSebastian Herbszt1-1/+1
Fix memset introduced by commit 9ce7369 ("plugins/check_apt.c - Print uninitialized ereg"). Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-11-03NEWS: Add warning regarding check_mrtgtraf changeHolger Weiss1-0/+6
Closes #1296.
2014-11-03Fix perfdata to comply with perfdata UOM definitionAdrian Murphy1-7/+7
2014-11-02Remove LEGAL fileHolger Weiss2-11/+1
2014-10-19Improving output when swap space has zero sizeJan Wagner1-0/+1
2014-10-19check_swap - fix commentDavide Madrisan1-1/+1
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-10-15Prepare for the 2.1 releasev2.1Holger Weiss3-3/+3
2014-10-15THANKS.in: Add new authorsHolger Weiss1-0/+2
Update the THANKS.in file with the new Git commit authors.
2014-10-15FAQ: Remove outdated (RPM/DEB-related) questionsHolger Weiss1-36/+0
2014-10-15NEWS: Mention that we dropped the spec fileHolger Weiss1-0/+4
2014-10-15Removing the spec file, as it's brokenJan Wagner3-204/+2
Even we have none feedback in PR #1283
2014-10-08check_ifstatus: Fix "-n" and "-u" optionsHolger Weiss1-1/+1
Ignore interface if it's specified via "-n" OR "-u", not just when it's specified via "-n" AND "-u".
2014-10-06Revert "Make use of xasprintf instead of asprintf"Holger Weiss1-3/+3
This reverts commit a143739ed286cf9ae003792dbb1ce26ce43f3312. Our current setup doesn't allow lib/*.c files to call functions defined in plugins/utils.[ch].
2014-10-06check_file_age: Provide performance dataJonas Genannt3-3/+11
2014-10-06Adding missing informations to NEWSJan Wagner1-0/+13
2014-10-06Merge branch 'maint'Jan Wagner7-12/+16
Conflicts: NEWS THANKS.in
2014-09-29Adding Simon to Thanks fileJan Wagner1-0/+1
2014-09-29check_mailq: fixed mailer namesSimon Meggle1-2/+2
(Closes #1289)
2014-09-16Fix check_jabber to work with Openfire serversHolger Weiss2-1/+5
The plugin expected: <?xml version='1.0'?> But Openfire sends: <?xml version='1.0' encoding='UTF-8'?>
2014-09-10NEWS: Mention new check_ifstatus optionHolger Weiss1-0/+1
2014-09-10Add check_ifstatus option to ignore interfaces by nameNick Peelman1-19/+38
Ignoring by index is not always an option, as the index can change on chassis switches as blade configurations change.
2014-08-20travis-ci: create MySQL database 'test'Jan Wagner1-0/+2
2014-08-20travis-ci: Installing libhttp-daemon-ssl-perl to make ↵Jan Wagner1-1/+1
plugins/tests/check_http.t possible to run
2014-08-20travis-ci: Using libfreeradius-client-dev as build-depJan Wagner1-1/+2
2014-08-20Setting PATH at firstJan Wagner3-7/+6
2014-08-20check_log.sh: droping path from basenameJan Wagner1-1/+1
while evaluating PROGNAME (Closes Debian Bug #758662)
2014-08-06check_by_ssh: added --hostname supportSven Nierlein1-1/+2
just like the guidelines and the help already suggests. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2014-07-31tests: skip extented snmp tests if snmpd has no perl supportSven Nierlein1-1/+10
solaris snmpd has no perl support by default, so this test will fail. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-07-31tests: negate test fails when not run from plugins folderSven Nierlein1-1/+1
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-07-31tests: get current directory the perl waySven Nierlein1-1/+2
instead of hoping to have it in the environment. This at least broke tests on solaris. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-07-31check_dns: unified check outputSven Nierlein1-1/+1
this also allows us to make tests against "critical" in the output. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-07-31tests: check_disk_smb may exit with critical for unresponsive hosts tooSven Nierlein1-1/+1
Unknown (ex. debian 7) %> ./check_disk_smb -H 1.1.1.1 -s np_foobar -vvv /usr/bin/smbclient //1.1.1.1/np_foobar -U guest% -c du No Answer from Client Critical (ex. debian 8) %> ./check_disk_smb -H 1.1.1.1 -s np_foobar -vvv /usr/bin/smbclient //1.1.1.1/np_foobar -U guest% -c du Connection to 1.1.1.1 failed CRITICAL Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-07-31check_ntp_peer: do not use uninitialized results for max stateSven Nierlein1-3/+6
s/t/jresult are not initialized if there is no corresponding threshold supplied. So we shouldn't use them for calculating our result. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2014-07-31NEWS: Mention --with-qmail-qstat-command optionHolger Weiss1-0/+2
2014-07-31Fix PATH_TO_QMAIL_QSTAT in configureawiddersheim1-2/+5
When configuring PATH_TO_QMAIL_QSTAT the PATH_TO_MAILQ would get applied instead after tests had passed. Also made --with-qmail-qstat-command a configuration option.
2014-07-30Merge pull request #1164 from waja/github981Jan Wagner2-0/+23
2014-07-30adding to THANKSJan Wagner1-0/+1
2014-07-30check_dns: Use strchr instead of indexJan Wagner1-1/+1