oracle plugin error

Forums NSClient++ support oracle plugin error

This topic contains 0 replies, has 1 voice, and was last updated by  Legacy Forum User 3 years, 6 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2051

    Hi
    everyone

    I just met a problem when try the a nagios plugin for oracle
    Install and config all done well

    You see such :

    [root@rh libexec]# ./check_oracle_health –connect=tb –username=nagios –password=aaaaaa –mode=connection-time
    OK – 0.69 seconds to connect as NAGIOS | connection_time=0.6852;1;5

    So ,you can see check_oracle_health cmd work vary well under root user

    But
    In nagios browser ,but met a problem
    in oracle service status, it return error:
    CRITICAL – cannot connect to tb. install_driver(Oracle) failed: Can’t load ‘/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so’ for module DBD::Oracle: libclntsh.so.10.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.

    And here is the service definition in localhost.cfg:

    define service{
    use local-service ; Name of service template to use
    host_name localhost
    service_description oracle
    check_command check_oracle_health!tb!nagios!aaaaaa!connection-time
    notifications_enabled 0
    }

    So can anyone tell me what is the reason?

    Thanks a lot

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.