Age | Commit message (Collapse) | Author |
|
Remove superfluous parenthesis.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|
(Closes #1325)
|
|
by utils.h), already used by help description, see issue #1318
|
|
because its required for ./plugins/tests/check_snmp.t
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
|
|
to enable some more tests
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
|
|
it is required for the check_snmp tests
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
|
|
|
|
Closes #1330
|
|
The call_getopt() function didn't always return the correct number of
processed arguments. However, since check_dhcp doesn't support
non-option arguments, the caller doesn't need this number anyway.
Closes #1345.
|
|
(off-by-one)
Grabed from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198318
|
|
Signed-off-by: Sven Nierlein <sven@nierlein.de>
|
|
|
|
Make the list of changes slightly more descriptive.
|
|
|
|
|
|
|
|
The help description should print '\\' for backslash not just '\'.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|
Make sure the jitter response is nul-terminated before parsing the data
using string functions.
|
|
This reverts commit a04df3e1b67dc5eab3adc202cc89901f801cdeaa. The "fix"
was bogus in many ways and broke jitter checking.
Conflicts:
plugins/check_ntp.c
|
|
Fix null termination introduced by commit b61f51a ("plugins/check_real.c - recv string null terminate").
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|
Fix null termination introduced by commit a04df3e ("plugins/check_ntp.c - Verify struct from response").
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|
Fix memset introduced by commit 9ce7369 ("plugins/check_apt.c - Print uninitialized ereg").
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|
|
|
Update the THANKS.in file with the new Git commit authors.
|
|
|
|
|
|
Even we have none feedback in PR #1283
|
|
Ignore interface if it's specified via "-n" OR "-u", not just when it's
specified via "-n" AND "-u".
|
|
This reverts commit a143739ed286cf9ae003792dbb1ce26ce43f3312.
Our current setup doesn't allow lib/*.c files to call functions defined
in plugins/utils.[ch].
|
|
|
|
|
|
Conflicts:
NEWS
THANKS.in
|
|
|
|
(Closes #1289)
|
|
The plugin expected:
<?xml version='1.0'?>
But Openfire sends:
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
Ignoring by index is not always an option, as the index can change on
chassis switches as blade configurations change.
|
|
|
|
plugins/tests/check_http.t possible to run
|
|
|
|
|
|
while evaluating PROGNAME (Closes Debian Bug #758662)
|
|
just like the guidelines and the help already suggests.
Signed-off-by: Sven Nierlein <sven@nierlein.de>
|
|
solaris snmpd has no perl support by default, so this test will fail.
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
|
|
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
|
|
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>
|
|
this also allows us to make tests against "critical" in the output.
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
|
|
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>
|
|
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>
|
|
|