Oracle Monitoring Help
Posted: Thu Sep 05, 2019 5:31 am
Hello everyone,
I don't want to start a new topic as my problem regards the one described in the above post. I downloaded the official template (OVF) of Nagios XI server and deployed it on VMware ESXi server. Initial and necessary configuration has already been done (ethernet, yum update, etc.). I followed the instruction: "How To Install & Configure The Oracle Client & Plugin", but I feel that I'm missing something..
When I go to command management and want to edit check_xi_oraclequery - according to the manual - I should edit it in the following way:
/usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/19.3/client64/lib ORACLE_HOME=/usr/lib/oracle/19.3/client && $USER1$/check_oracle_health $ARG1$
a. LD_LIBRARY_PATH and ORACLE_HOME are Nagios server local paths, right? Based on other article I found, $USER1 is a user-defined macro which in this case is the following path: /usr/local/nagios/libexec/
b. As for $ARG1$ - should I follow man for check_oracle_health and customize it or this is also a pre-defined macro?
c. I'm a little bit confused when it comes the packages I should install on the servers I want to monitor - I already created nagios user, generated ssh keys and added public one to authorized_keys file, I followed the instruction I mentioned above, but I still don't know what should be done there on the Oracle server - should I also download and install plugins on the Oracle server?
d. As for the above command (the one which is in bold) - how does it work exactly?
I've found Nagios very interesting and read a lot about it, but I'll need a helping hand to better understand its idea. Thank you for any tips in advance!
I don't want to start a new topic as my problem regards the one described in the above post. I downloaded the official template (OVF) of Nagios XI server and deployed it on VMware ESXi server. Initial and necessary configuration has already been done (ethernet, yum update, etc.). I followed the instruction: "How To Install & Configure The Oracle Client & Plugin", but I feel that I'm missing something..
When I go to command management and want to edit check_xi_oraclequery - according to the manual - I should edit it in the following way:
/usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/19.3/client64/lib ORACLE_HOME=/usr/lib/oracle/19.3/client && $USER1$/check_oracle_health $ARG1$
a. LD_LIBRARY_PATH and ORACLE_HOME are Nagios server local paths, right? Based on other article I found, $USER1 is a user-defined macro which in this case is the following path: /usr/local/nagios/libexec/
b. As for $ARG1$ - should I follow man for check_oracle_health and customize it or this is also a pre-defined macro?
c. I'm a little bit confused when it comes the packages I should install on the servers I want to monitor - I already created nagios user, generated ssh keys and added public one to authorized_keys file, I followed the instruction I mentioned above, but I still don't know what should be done there on the Oracle server - should I also download and install plugins on the Oracle server?
d. As for the above command (the one which is in bold) - how does it work exactly?
I've found Nagios very interesting and read a lot about it, but I'll need a helping hand to better understand its idea. Thank you for any tips in advance!