Environment variables

Ciro Iriarte cyruspy at gmail.com
Tue Aug 12 18:40:33 CEST 2008


2008/8/11 Hugo van der Kooij <hvdkooij at vanderkooij.org>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ciro Iriarte wrote:
> | Is there other way to set environment variables than modifying the
> | nagios start script?, I need to set Oracle variables for several
> | scripts/plugins but I would like it to survive a
> | reinstallation/migration.
>
> Create your own wrapper for the plugins.
>
> If you stick to the usage parameters of the plugins that need the
> wrapper script you should be fine.
>
> Hugo.
>

So, there's no option available from nagios to define global
variables?. The idea is that I don't have to change multiple script
every time I change oracle client version or reinstall/migrate the
monitoring host....

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