Nagios Oracle question
I have a main Nagios server that i monitor 12 other servers that run Oracle. To monitor the table spaces i use NRPE to run the check_oracle plugin and report back to the nagios server. I do this because when i set $ORACLE_SID on the nagios server im under the impression only one can be set, but i use different ORACLE_SIDS for each server.
Can more than one ORACLE_SID be defined on the nagios monitoring server so i can stop using NRPE to monitor the tables spaces on all of them? BTW i only have instant client installed on the Nagios server. Full oracle is on the db servers them selves. Thanks! |
What we do here is we have Oracle client installed on the Nagios master. We setup tnsnames.ora as we would on any Oracle host on this Nagios master.
In services.cfg we enter things like: To check our DB SID named "PROD": Code:
define service{ Code:
define service{ Code:
# 'check_oracle' command definition We do similar for NRPE access to the boxes where the databases live to check whether the listener and the pmon process are running. These are also use input from nrpe.cfg for variables on systems where we have multiple databases running. |
All times are GMT -5. The time now is 05:58 PM. |