[Nagiosplug-help] (no subject)

Ralph.Grothe at itdz-berlin.de Ralph.Grothe at itdz-berlin.de
Wed May 17 02:40:10 CEST 2006

I don't know if this is the officially approved way
but at least this worked for me.
On an HP-UX Oracle DB server and nrpe client I simply prepended
Oracle environment to the check command, just like one would do
giving a shell command a certain environment in situ.

$ grep check_ora_login /usr/local/nagios/etc/nrpe.cfg
/usr/local/nagios/libexec/check_oracle --login SOME_SID

> -----Original Message-----
> From: nagiosplug-help-admin at lists.sourceforge.net
> [mailto:nagiosplug-help-admin at lists.sourceforge.net]On Behalf
Of Bob
> Jaques
> Sent: Monday, May 15, 2006 10:39 PM
> To: nagiosplug-help at lists.sourceforge.net
> Subject: [Nagiosplug-help] (no subject)
> I am having a problem with check_oracle with nrpe.  I added 
> oracle_home
> to Nagios .bash_profile and even added it to /etc/profile. 
> Check oracle
> runs fine a root and also runs fine as Nagios. However
> fails in nrpe and I get back a warning message oracle_home 
> not defined.
> Where do I define oracle_home so nrpe picks the variable?
> Thanks
> Robert R. Jaques
> Director Technical Operations 
> HedgeFleX Inc 
> bobjaques 

More information about the Help mailing list