Environment variables

Hugo van der Kooij hvdkooij at vanderkooij.org
Mon Aug 11 23:12:53 CEST 2008


-----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.

- --
hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

	A: Yes.
	>Q: Are you sure?
	>>A: Because it reverses the logical flow of conversation.
	>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIoKtTBvzDRVjxmYERAsrEAJ9n7d1ucCU8vYVLao6lf1ysE9G0DACeK04t
3jNEHbW5OpzhiBFbPHI/EUM=
=tjR/
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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