I am curious to see some examples of use cases for State Variables?
The best use case is to not fire an action if you know another condition exists, similar to your example over in .
You can also add/remove to a user-defined group dynamically, which is a pretty basic concept but similar to a state variable. You could have a list of machines that were "known infected" (we've had people with serious outbreaks use this) that you remove from the list as you clean them up to avoid you getting inundated with notifications. Or the "DHCP but no Agent" rule example, where it creates a list of systems without an agent that maybe you need to monitor differently, or individually address, but don't want to receive continuous alerts about each time it happens.
We had intended/do intend to extend them based on need, to cover cases like timers (a decaying variable that expires and can trigger a rule on its own... sound familiar?) and lists of information. The need hasn't entirely existed, so far we've been able to work around most cases.
Great information. I always wanted to understand this better as well. Thanks for filling it in for me.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.