Configure Nagios for Oracle

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Configure Nagios for Oracle
# 1  
Old 11-15-2011
Configure Nagios for Oracle

Hi,

I have recently configured nagios for monitoring some of my production servers and it works fine but now I need to monitor my Oracle RAC servers.

I have downloaded the following plugin (check_oracle-cluster) and have installed it on one of my RAC servers.

My problem is configuring it to work correctly. I was unable to obtain any information on this?

Code:
[root@mvdbs1 libexec]# ./check_oracle_cluster -n ddnode1           
check_oracle_cluster Version 0.81
usage: check_oracle_cluster -n [options]
Global Options:
 -n -- node
Options:
 -a -- ASM
 -l -- LISTENER
 -g -- GSD
 -o -- ONS
 -v -- VIP
Ex.
check_oracle_cluster -n dbnode1 -a
[root@mvdbs1 libexec]# 
[root@mvdbs1 libexec]# ./check_oracle_cluster -n dbnode1 -l
ORACLE_CLUSTER_lsnr WARNING: UNKNOW problem(s)

If someone has experienced this before and can advise?

R,
D.
# 2  
Old 11-18-2011
try

Code:
./check_oracle_cluster -n dbnode1 -a

can you provide the output of
Code:
cat /etc/ocfs2/cluster.conf

i am trying to learn RAC cluster
# 3  
Old 11-21-2011
Hi,

Code:
[root@mvdbs1 libexec]# ./check_oracle_cluster -n mvdbs1 -a
ORACLE_CLUSTER_asm WARNING: UNKNOW problem(s)
[root@mvdbs1 libexec]# cat /etc/ocfs2/cluster.conf 
node:
        ip_port = 7777
        ip_address = <IP_ADDR of host>
        number = 0
        name = MVDBS1
        cluster = ocfs2
node:
        ip_port = 7777
        ip_address = <IP_ADDR of host>
        number = 1
        name = MVDBS2
        cluster = ocfs2
cluster:
        node_count = 2
        name = ocfs2


Last edited by pludi; 11-21-2011 at 04:28 PM..
# 4  
Old 11-21-2011
check the access of asm disks from two nodes

try
Code:
./check_oracle_cluster -n mvdbs2 -a

try different options passing node 1 & 2 alternatively

cluster commands are not same for all clusters
# 5  
Old 11-21-2011
Just a stab in the dark here, but have you tried ./check_oracle_cluster -n MVDBS1 -a instead? From what I read in that plugin it does a case-sensitive check of the output of some Oracle command, and I know Oracle can be pretty anal about case.
# 6  
Old 11-21-2011
Hi,

Robo - tried all possible options with same result.

Pludi - tried both lower/up case options with same result.

R,
D.
# 7  
Old 11-21-2011
Alright, lets see:
  • Did you put utils.sh in the same path as the check_oracle_cluster script?
  • Have you checked if the CRSSTAT_PATH variable in the script, line 12, points to the correct executable, both for sudo and for crsstat?
  • Have you tried removing the sudo call when running as root?
  • Have you checked that crsstat is running correctly?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Trying to configure DNS using BIND package in Oracle Linux 6.6

Version: Oracle Linux 6.6 I am trying to set up DNS for forward and reverse lookups. I am new to BIND package. I have installed the following packages. bind (includes DNS server, named) bind-utils (utilities for querying DNS servers about host information) bind-libs (libraries... (0 Replies)
Discussion started by: kraljic
0 Replies

2. UNIX for Dummies Questions & Answers

Unable to configure Oracle sqlplus V12 properly. Need Help. Resources could'nt be found elsewhere .

I installed Oracle sqlplus on My Ubuntu 14.04 64bit version as per the instructions on: help.ubuntu page (Unable to post the URL as i'm new user here). I'm totally new to SQL and now i'm learning queries in my college. I installed 64bit version of sqplus and run it executing the command:... (14 Replies)
Discussion started by: arjunmayilvagan
14 Replies

3. UNIX and Linux Applications

Nagios and DB Oracle (check_Oracle_instant)

hi all! I installed Nagios on my CentOs virtual Machine. I downloaded the plugin named 'check_oracle_instant' to control oracle services and for monitor the state of DB. I copied the script in the path /usr/local/nagios/libexex and i put 'nagios' like owner for the script. In the path... (2 Replies)
Discussion started by: JanePisk
2 Replies

4. Infrastructure Monitoring

Nagios check dependent on second nagios server

We have a dual Nagios server setup. One is setup for internal server monitoring on our LAN, while the second Nagios server is hosted externally and is used for external checks only such as URL and ping checks form the WAN side. I was wondering if there is any way to setup cross dependencies... (1 Reply)
Discussion started by: eugenes18t
1 Replies

5. Solaris

Can we configure link based IPMP in private connectivity in Oracle RAC

Hi I would like to know whether we can configure link based IPMP in private connectivity in Oracle RAC Regarsd ---------- Post updated at 04:35 PM ---------- Previous update was at 04:27 PM ---------- Here I am taking about in case of private connectivity through cross cable (6 Replies)
Discussion started by: sb200
6 Replies

6. Red Hat

Who can give me a document for configure nagios on RHEL 5

Who can give me a document for configure nagios on RHEL 5,thanks . (1 Reply)
Discussion started by: zhengsenlin
1 Replies

7. Infrastructure Monitoring

configure nrpe and nagios error

   (1)check the service of nrpe   # libexec/check_nrpe -H 59.26.240.63   NRPE v2.8.1    (2)check the resource of nrpe's host   # libexec/check_nrpe -H 59.26.240.63 -c check_df   DISK OK - free space: / 8241 MB (77% inode=98%); /var 5239 MB (95% inode=99%); /usr 11971 MB (86%... (0 Replies)
Discussion started by: zhengsenlin
0 Replies

8. Solaris

Steps to configure Oracle 10g on VCS

Anyone has any doc or ideas on how to bring a oracle mount point into VCS control and how to setup the startup scripts etc? The mount points are using VxVM. I know very basic commands on VCS failover, freezing of resource group etc, but not good in depth knowledge of such. Its urgent. Please help.... (6 Replies)
Discussion started by: incredible
6 Replies

9. Solaris

How to configure my SAN with Sun V880 servers to run Oracle 9i

Hi: I am in the process of configuring the SAN for Solaris to host 6 oracle 9i databases. We have 30 -146 GB disks stiped with RAID 10 for SAN. Of which 11 are dedicated for databsaes related things. Then we have 2 v880 Sun Servers with 16 -73 GB disks and 24 GB memory. The questions... (1 Reply)
Discussion started by: oracle_dba
1 Replies
Login or Register to Ask a Question