Search found 10 matches

by Nacho
Mon Apr 06, 2020 3:45 am
Forum: Open Source Nagios Projects
Topic: Nconf pre-install check blank
Replies: 1
Views: 2552

Nconf pre-install check blank

Hello and thank you very much in advance,
I have a problem in pre-install check of Nconf. I enclose the error.
by Nacho
Wed Mar 18, 2020 2:36 am
Forum: Open Source Nagios Projects
Topic: perl pluggins
Replies: 3
Views: 1473

Re: perl pluggins

You mean include something like that inside the command? define command{ command_name check_oracle_health command_line /usr/local/nagios/libexec/check_oracle_health –connect=xxxxx –username=xxxxx –password='xxxxxx' –-mode xxxxxx –warning=$ARG2$ –critical=$ARG3$ -enviroment ORACLE_HOME=/usr/lib/oracl...
by Nacho
Tue Mar 17, 2020 5:20 am
Forum: Open Source Nagios Projects
Topic: perl pluggins
Replies: 3
Views: 1473

perl pluggins

Hi, I have problems with oracle plugins like check_oracle_health or check_oracle instant and I think it is because of the perl settings. Through CLI they work for me but in the GUI no, can someone tell me if these variables are correct as much as for perl as Oracle? [root@nagios ~]# printenv XDG_SES...
by Nacho
Tue Mar 17, 2020 5:10 am
Forum: Open Source Nagios Projects
Topic: pluggin check_oracle_instant does not work
Replies: 13
Views: 17753

Re: pluggin check_oracle_instant does not work

Thank you very much.
I'm going to start from scratch.
by Nacho
Tue Feb 25, 2020 10:33 am
Forum: Open Source Nagios Projects
Topic: pluggin check_oracle_instant does not work
Replies: 13
Views: 17753

Re: pluggin check_oracle_instant does not work

Hello, By CLI is ok: [root@localhost libexec]# ./check_oracle_instant -H 10.0.2.16 -p 1521 -s orclcdb -u system -w oracle -n d status and health of database orclcdb is OK But by web: Unable to connect to ORACLE orclcdb, error !!! HOST: define host{ use linux-server host_name ORASERVER alias ORASERVE...
by Nacho
Mon Feb 24, 2020 1:19 am
Forum: Open Source Nagios Projects
Topic: pluggin check_oracle_instant does not work
Replies: 13
Views: 17753

Re: pluggin check_oracle_instant does not work

This is the plugin #!/usr/bin/perl # This perl nagios plugin allows you to check oracle service (ability to connect to database ) # and the health of oracle database (Dictionary Cache Hit Ratio, Library Cache Hit Ratio, # DB Block Buffer Cache Hit Ratio, Latch Hit Ratio, Disk Sort Ratio, Rollback Se...
by Nacho
Fri Feb 21, 2020 3:30 am
Forum: Open Source Nagios Projects
Topic: pluggin check_oracle_instant does not work
Replies: 13
Views: 17753

Re: pluggin check_oracle_instant does not work

Hello, If I set: define command{ command_name check_oracle_instant command_line $USER1$/check_oracle_instant -H $HOSTADDRESS$ -p $ARG1$ -s $ARG2$ -u $ARG3$ -w $ARG4$ } define service{ use generic-service host_name ORASERVER service_description ORACLE: check_login_health check_command check_oracle_in...
by Nacho
Tue Feb 18, 2020 10:16 am
Forum: Open Source Nagios Projects
Topic: pluggin check_oracle_instant does not work
Replies: 13
Views: 17753

Re: pluggin check_oracle_instant does not work

Imposible. TNSping works: [root@localhost libexec]# tnsping PRUEBA TNS Ping Utility for Linux: Version 12.2.0.1.0 - Production on 18-FEB-2020 11:33:50 Copyright (c) 1997, 2016, Oracle. All rights reserved. Used parameter files: /ora01/app/oracle/product/12.2.0/db_1/network/admin/sqlnet.ora Used TNSN...
by Nacho
Thu Jan 30, 2020 10:41 am
Forum: Open Source Nagios Projects
Topic: pluggin check_oracle_instant does not work
Replies: 13
Views: 17753

Re: pluggin check_oracle_instant does not work

Thank you, path to the perl application: #!/usr/bin/perl [nagios@localhost bin]$ pwd /usr/bin [nagios@localhost bin]$ ls -la -rwxrwxrwx. 2 root root 11488 ene 21 2019 perl configuration proxy: [nagios@localhost ~]$ sudo vi /etc/profile.d/proxy.sh export http_proxy=http://PROXY:8080 export https_prox...
by Nacho
Wed Jan 29, 2020 1:44 am
Forum: Open Source Nagios Projects
Topic: pluggin check_oracle_instant does not work
Replies: 13
Views: 17753

pluggin check_oracle_instant does not work

hI, I have this problem and I need your help Nagios notifies: ERROR: SERVICE NOTIFICATION: nagiosadmin;ora1;ORACLE:check_login_health;CRITICAL;notify-service-by-email; (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_oracle_instant, ...) failed. errno is 2: No such file or direct...