[Nagiosplug-help] check_oracle problem

Ako Ito allan at lxd1.asiandevbank.org
Thu Jul 10 19:57:09 CEST 2003


hello sirs,
i have installed nagios 1.1 on redhat 7.3 linux server with oracle 9.2.0
client installed and its working upon issuing the command below.. but when i
put it into my services.cfg and checkcommands.cfg an error would occur and
it cannot view the successful dummy login as shown below. below is my sample
checkcommand.cfg and services.cfg configuration files... any suggestions and
comments are welcome.. thanks

[root at mrtg1 libexec]# ./check_oracle --login ocs8
OK - dummy login connected
[root at mrtg1 libexec]#


services.cfg
# Service definition
define service{
        use                             generic-service         ; Name of
service template to use

        host_name                       uxoistp01
        service_description          SDBS Prod/Dev Database
        is_volatile                        0
        check_period                   24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  database-admins
        notification_interval           120
        notification_period             24x7
        notification_options            c,r
        check_command                check_oracle
        }

checkcommands.cfg
# 'check_oracle' command definition
define command{
        command_name    check_oracle
        command_line    $USER1$/check_oracle --login ocs8
       }






More information about the Help mailing list