This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Why would macro string show and not result?

Orion 2020.2.5

Using a macro to populate a custom property but it isn't working. To test we added an action to log to NetPerfMon events and when the alert triggers it shows the macro in the result instead of the value. I can take the exact macro and put it into SWQL and it shows the result as expected.

This same alert works fine in one environment (same version) but not another.

Using this post: thwack.solarwinds.com/.../palo-alto-ha-state-change-alert

Any ideas?

  • This occurs when you have null (0) returned, you need to do a CASE statement or a UNION or something to stick something in the result

    Worth mentioning as well it'll return the top left value of a table if you specify a table's worth of data to return. (FOR XML PATH) to fix that