diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-21 16:07:38 +0100 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-21 16:07:38 +0100 |
commit | 7ee3525423f17cb8269a11e679355733867131e9 (patch) | |
tree | 6b68b8bddc3603925a5eb2b996859c94e0c06b46 /plugins-scripts/check_oracle.sh | |
parent | 11cf54ca78185d820085a476cdbf7d8f9149c292 (diff) | |
parent | a3871201821d9abe8a12e637e7dd00d9d1dde2a5 (diff) | |
download | monitoring-plugins-7ee3525423f17cb8269a11e679355733867131e9.tar.gz |
Merge branch 'maint'
* maint:
check_ssh: Get rid of sshd: Read from socket failed: Connection reset by peer
fixed tests when there is no direct internet connection
NEWS: Mention fix for check_http's -S option
Fix for SSL Versioning when multiple options are used.
Fix #1217 spec file fails to build due to duplicate files and unused files
check_http: Don't let "-N" expect an argument
README: Change GitHub URL
README: Clarify license notice
Update URLs and mailing list addresses
Just using the posix conform extended regular expression grep
check_oracle: --db +ASM bad string matching check_oracle doesn't correctly check for pmon +ASM instance from at least Oracle 11 as the pmon proces was renamed from ora_pmon_.* to asm_pmon_.*. -- Just turning attached patch of github issue #1207 into a push request. (Closes #1207)
Update web site URLs
Conflicts:
FAQ
NEWS
README
SUPPORT
configure.in
monitoring-plugins.spec.in
pkg/solaris/pkginfo.in
plugins-root/check_dhcp.c
plugins-root/check_icmp.c
plugins-scripts/check_ifoperstatus.pl
plugins-scripts/check_mssql.pl
plugins/check_apt.c
plugins/check_by_ssh.c
plugins/check_cluster.c
plugins/check_dbi.c
plugins/check_dig.c
plugins/check_disk.c
plugins/check_dns.c
plugins/check_dummy.c
plugins/check_fping.c
plugins/check_game.c
plugins/check_hpjd.c
plugins/check_http.c
plugins/check_ide_smart.c
plugins/check_ldap.c
plugins/check_load.c
plugins/check_mrtg.c
plugins/check_mrtgtraf.c
plugins/check_mysql.c
plugins/check_mysql_query.c
plugins/check_nagios.c
plugins/check_nt.c
plugins/check_ntp.c
plugins/check_ntp_peer.c
plugins/check_ntp_time.c
plugins/check_nwstat.c
plugins/check_overcr.c
plugins/check_pgsql.c
plugins/check_ping.c
plugins/check_procs.c
plugins/check_radius.c
plugins/check_real.c
plugins/check_smtp.c
plugins/check_snmp.c
plugins/check_ssh.c
plugins/check_swap.c
plugins/check_tcp.c
plugins/check_time.c
plugins/check_ups.c
plugins/check_users.c
plugins/negate.c
plugins/urlize.c
plugins/utils.h
po/Makevars
po/de.po
po/fr.po
po/monitoring-plugins.pot
Diffstat (limited to 'plugins-scripts/check_oracle.sh')
-rwxr-xr-x | plugins-scripts/check_oracle.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh index 73a19cff..b653372e 100755 --- a/plugins-scripts/check_oracle.sh +++ b/plugins-scripts/check_oracle.sh | |||
@@ -163,7 +163,7 @@ case "$cmd" in | |||
163 | }' | 163 | }' |
164 | ;; | 164 | ;; |
165 | --db) | 165 | --db) |
166 | pmonchk=`ps -ef | grep -v grep | grep -c "ora_pmon_${2}$"` | 166 | pmonchk=`ps -ef | grep -v grep | grep -E -c "(asm|ora)_pmon_${2}$"` |
167 | if [ ${pmonchk} -ge 1 ] ; then | 167 | if [ ${pmonchk} -ge 1 ] ; then |
168 | echo "${2} OK - ${pmonchk} PMON process(es) running" | 168 | echo "${2} OK - ${pmonchk} PMON process(es) running" |
169 | exit $STATE_OK | 169 | exit $STATE_OK |