Hello again Nagios community,

I found the solution for the NRPE over XINET.D permission problem. As I said, 
the "check_oracle" plugin uses some features from the Oracle Home directory to 
do the Test. But if we don't have permission to access the Oracle directory 
from the Nagios linux user (as specified in xinet.d configuration file), we 
cant reach the right path to do the plugin tests.

The problem can be fixed by this 2 following steps:

1: Put the Nagios unix user in the "oinstall" group (The Oracle instalation 
group)
2: Replace the line in the nrpe/xinet.d file:

        user            = nagios
        group          = nagios

for

        user            = nagios
        groups        = yes

This second step forces to the xinet.d to use all the groups the Nagios user is 
member.

I hope this solution is useful to the community.

Thanks!






------------------------------

Message: 18
Date: Mon, 20 Jul 2009 17:06:04 -0300
From:"Paulo Andrade"<pa...@mobilecard.com.br>
Subject: [Nagios-users] NRPE + check_oracle + XINET.d = Problem
To: nagios-users@lists.sourceforge.net
Message-ID: <20090720200604.16105.qm...@hm1580.locaweb.com.br>
Content-Type: text/plain; charset=ISO-8859-1

Hi Nagios community,

I got a problem with NRPE Addon working under XINET.d when the check_oracle 
plugin is used.

If the NRPE service is started as a "deamon", the check_oracle plugin works 
fine. But if I use check_oracle under XINET.d I got this following error:

Cannot determine ORACLE_HOME for sid DB1

I googled it and most of people says to check the owner and read/write 
parameters of the Oracle path/directories and Nagios paths. But it don't solve 
my problem.

I tried to initialize the XINET.d with the "-d" debug parameter and I didnt see 
and error message.

I think there are a solution for it.


Paulo Andrade
MobileCard



------------------------------

Paulo Andrade
MobileCard

------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to