Problems with check_oracle
jmarquart at planalytics.com
jmarquart at planalytics.com
Wed Jun 18 18:06:59 CEST 2003
Check your options.
I am 90% sure that it should be "--tns" instead of "-tns" - i.e. 2 "-" in the
argument.
-j
Ricardo Perez <perez at buenos-aires.oilfield.slb.com> on 06/18/2003 11:35:56 AM
To: nagios-users at lists.sourceforge.net
cc: (bcc: John J. der Schalla Marquart/Planalytics)
Subject: [Nagios-users] Problems with check_oracle
I am a new user of nagios and I have some problems to check my oracle
databases with check_oracle . If I run check_oracle from a command line
(/usr/local/nagios/libexec/check_oracle -tns oraxxx) it is works OK, but
from the Nagios web page I get the following error (Return code of 141 is
out of bounds)
This are the definition I add to the checkcommands.cfg and services.cfg
# 'check_oracle' command definition
define command{
command_name check_oracle
command_line /usr/bin/env -i "ORACLE_HOME=/usr/local/oracle8i"
$USER1$/check_oracle -tns $ARG1$
}
# Service definition
define service{
use generic-service
host_name Xserver
service_description ORAXXX
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
contact_groups nagios-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_oracle!oraxxx
}
Any help will be appreciated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/octet-stream
Size: 3616 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030618/e71494c5/attachment.obj>
More information about the Users
mailing list