summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_ini1.c
diff options
context:
space:
mode:
authorBrian De Wolf <git@bldewolf.com>2013-01-16 01:03:03 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-03-25 22:25:08 (GMT)
commitb57dc1b3a0b7e43739c60f3f317416b0f3aa793c (patch)
treeba3b36dd3682610926778199df7932de3e5322e1 /lib/tests/test_ini1.c
parente0eb2ebca37dc5d809979e2372b4cb95e7696b8b (diff)
downloadmonitoring-plugins-b57dc1b3a0b7e43739c60f3f317416b0f3aa793c.tar.gz
Add option to perform real login in check_oracle
The Oracle plugin has no option for testing for a successful login. The closest option to this is --login, which uses a fixed set of credentials and expects to receive the logon failure error code. This patch adds an option called --connect. This option takes a full SID and returns success if it doesn't detect any error codes. With this, we can check that a database is allowing logins from valid credentials (and avoid filling up DB logs with failed authentications).
Diffstat (limited to 'lib/tests/test_ini1.c')
0 files changed, 0 insertions, 0 deletions