Home > other >  Reading environment variables in Monit Configuration
Reading environment variables in Monit Configuration

Time:06-25

How can I read environment variable inside monit configuration? For example, I have the following.

...
alert [email protected] only on { timeout }

But, I want different email address in different environments and want to load it from the environment variable (e.g. $HOME) of the machine.

CodePudding user response:

Nice idea, but such a function is not available yet. You can not do this!

  • Related