Salman Virk
Salman Virk

Reputation: 12317

Reading environment variables in Monit Configuration

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.

Upvotes: 0

Views: 247

Answers (1)

lutzmad
lutzmad

Reputation: 389

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

Upvotes: 1

Related Questions