sqshq / sampler

Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file.
https://sampler.dev
GNU General Public License v3.0
12.57k stars 550 forks source link

Variables unavailable in trigger conditions #107

Open ghost opened 2 years ago

ghost commented 2 years ago

System: Ubuntu 20.04.3 LTS

It seems impossible to refer to variables in trigger conditions. That would be helpful wrt defining global trigger values once, at the top of the YAML file.

For now, I've resorted to using named pipes as a workaround, but that's quite clumsy.

sqshq commented 2 years ago

I agree it would be useful, might implement that at some point. Feel free to contribute if interested.

ghost commented 2 years ago

I might, once I have mastered go (my active developer days are over, since a decade ;)).