Is there a way to monitor multiple oracle databases residing on a single server using NagiosXI? We have about 100 Redhat Linux servers and each server hosts anywhere between 5 -15 databases. All we are looking for is to make sure the database is up and running and if possible monitor the tablespace size. We looked into some of the in-built Oracle database wizards NagiosXi provided but the wizard supports only one SID and it will be really time consuming to run the wizard for all our databases. Also, we would like to avoid installing any npre agents on the Database server to achieve this.
Any recommendation is really appreciated.
Monitorng multiple Oracle instances on a single server
Re: Monitorng multiple Oracle instances on a single server
I don't have an Oracle database here to test with, but you should be able to use --tns and --db to specify the parameters.
If most of your services will be the same between DB hosts, then you could look at using hostgroups / templates to add things easier in your system, and add further control.
I don't believe NRPE is required by this plugin by default - some other ones may though for the information you're after. Take a look here for other options - https://exchange.nagios.org/index.php?o ... ord=oracle
Code: Select all
[root@centos7 libexec]# ./check_oracle --help
check_oracle v2.0.3 (nagios-plugins 2.0.3)
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Usage:
check_oracle --tns <Oracle Sid or Hostname/IP address>
check_oracle --db <ORACLE_SID>
I don't believe NRPE is required by this plugin by default - some other ones may though for the information you're after. Take a look here for other options - https://exchange.nagios.org/index.php?o ... ord=oracle
Former Nagios Employee
Re: Monitorng multiple Oracle instances on a single server
Thank you, will look into the plugin you suggested and see if it works out for us.
Re: Monitorng multiple Oracle instances on a single server
Sounds good - I'll leave this open should you have further questions.
Former Nagios Employee
Re: Monitorng multiple Oracle instances on a single server
Is there a way to bulk upload IP, SID and Port and may be use a template to add all database servers? I was able to setup all the services I would like to monitor for a database server.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Monitorng multiple Oracle instances on a single server
Bulk upload into what? We have a bulk modification tool if that's what you are interested in.
https://assets.nagios.com/presentations ... ios_XI.pdf
https://assets.nagios.com/presentations ... ios_XI.pdf
Previous Nagios employee
Re: Monitorng multiple Oracle instances on a single server
Bulk upload into Nagios to monitor. Unfortunately the default bulk upload tool will not work for Oracle databases as it does not have an option to specify SID and Port number which is required by the Oracle plugins available in Nagios.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Monitorng multiple Oracle instances on a single server
Were you able to get this resolved in the quickstart?SETR wrote:Also, have you set up a 1-hour quickstart session? https://www.nagios.com/services/quickstart/, Yes, I have one setup for this coming Thursday
Re: Monitorng multiple Oracle instances on a single server
To some extent yes, looks like we would have to use either command line or macros.The rep we had the quick start session with said he is going to send us some documents to go through. Hopefully, we will be able to come with a way to bulk upload databases.
Re: Monitorng multiple Oracle instances on a single server
Is there any way to modify the oracle serverspace wizard to accept multiple IP's and SID's just like the bulk import wizard does?