Age | Commit message (Collapse) | Author | Files | Lines |
|
optimize output if certificate expires in less then 24h
thx to axel.schmalowsky@sixt.com for this patch
|
|
Closes #1330
|
|
- response should not start with the delimiter
- OID response value taken into account
Closes issue #1029
Closes push request #1173
|
|
check_fping: autodetect ipv6 addresses
|
|
Signed-off-by: Sven Nierlein <sven@nierlein.de>
|
|
Ported the fix from Frank4dd to the latest git version. See also http://nagios.frank4dd.com/howto/monitor-ssl-web
sites-through-proxy.htm
|
|
Signed-off-by: Sven Nierlein <sven@nierlein.de>
|
|
|
|
Stole the logic in check_ping that allows it to autodetect whether an
address is ipv6 or not. Now the user does not have to specify -6 when
using check_fping with ipv6 addresses.
|
|
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
|
|
fix typo in threshold check. instead of setting the state always
to warning, use the result from the thresholds entry check.
Signed-off-by: Sven Nierlein <sven@nierlein.de>
|
|
install openldap on travis and grep base dn from slapcat.
Signed-off-by: Sven Nierlein <sven@nierlein.de>
|
|
|
|
|
|
|
|
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>
|
|
Remove unused variable.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|
Remove unused variables.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|
Remove unused variables.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|
Remove unused variables.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|
Remove unused variables.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|
Remove code dead since commit 4efa917.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
|
|
* 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
|
|
Use a more intuitive variable name.
|
|
* 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
|
|
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
|
|
|
|
We didn't actually use the exit status provided by pthread_join(3) for
anything.
|
|
The function pointer passed as third argument to pthread_create(3) must
be of type void *(*)(void *).
|
|
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
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>
|
|
|
|
|
|
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
|
|
Conflicts:
NEWS
THANKS.in
|
|
The plugin expected:
<?xml version='1.0'?>
But Openfire sends:
<?xml version='1.0' encoding='UTF-8'?>
|
|
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>
|