Environment settings for check_oracle

Mark Ferlatte ferlatte at cryptio.net
Fri Apr 11 00:48:39 CEST 2003


Jeff Rendl said on Thu, Apr 10, 2003 at 11:06:52AM -0500:
> The question is:  How do I configure a "system-wide" environment variable in
> Linux so that my Nagios process (which starts as a service) has access to
> them?  I am running Redhat V8.
>  
> I'll admit it, I'm a Linux newbie, I figured most this stuff out (with
> help), but I'm stumped now.  In order for the check_oracle plugin to work,
> it has to be able to access the ORACLE_HOME (amongst others) environment
> variables.  I figured out how to make these available to my shell
> consistantly, but they aren't available to the NAGIOS process.

You can't easily define them system wide.

You can define them in the /etc/init.d/nagios script, if you want.

M
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030410/d3d4c2ea/attachment.sig>


More information about the Users mailing list