Environment variables

Ciro Iriarte cyruspy at gmail.com
Tue Aug 12 22:09:08 CEST 2008


2008/8/12  <kyle.odonnell at gmail.com>:
> I usually have env variable files which I source depending on the
> instance/db.  When I write my plugins I either specify the env
> variable file as a command line argument, or hardcode the sourcing in
> my script.
>

That's what I did at last, even this should be global variables (no
SID defined there), only ORACLE_HOME, TNS_ADMIN and LD_LIBRARY_PATH,
needed by all the plugins regarding to which DB they connect....

Regards,
Ciro

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list