Hello people and nice to meet you.

I've been workin with the rule in the reference guide "Database Mirroring State Changed" that captures when the state of the principal (Resume, suspend, etc.).

The thing that I need is to create a Variable that captures the "state" and then use the variable in the message of the email and I'm out of ideas, also I'm a newbie in using Foglight.

Thanks you very much,