monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

m/monit tokens in execute script


From: Justin Rodino
Subject: m/monit tokens in execute script
Date: Wed, 16 Nov 2016 08:55:58 -0800

Can anyone let me know what the tokens are when executing a script in m/monit? I’ve tried

[#{ENV['MONIT_HOST']}] #{ENV['MONIT_SERVICE']} - #{ENV['MONIT_DESCRIPTION']}

and I’ve also tried 


[$MONIT_HOST] $MONIT_SERVICE - $MONIT_DESCRIPTION

Neither of them get translated at execution time, rather the message simply comes back with the tokens as plain text :(

Thanks,

Justin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]