SCOM VSAE AlertMessage sometimes misses inline values

Jesper Rune Larsen 1 Reputation point
2022-04-25T12:12:20.317+00:00

Hi good people,

I have a really strange problem. I am writing a SCOM management pack (using VSAE). The purpose of the MP is to collect current health state of all devices in my customers SolarWinds NPM installation. To solve the problem i use the SolarWinds SDK REST API. I built a query that provides me with a full list of all devices and their current status. To make sure I get cookdown I get all devices status in one go. It's a fairly big query, around 1000 devices and the query takes around 100 seconds to run, but it works fine. Sort of.

My problem is that sometimes the injected values in the AlertMessage are not populated. For example, in one query I get 10 new warning alerts. 3 of these are not showing the values. So, the source data that I get from the SolarWinds REST API is the same dataset. I manually ran the query and verified that all data is there.
One alertmessage provides the correct information for {0} etc. but the next only shows the {0} string and does not insert the correct value.

The monitor is the one called "SolarWinds Node Health". The string in question is RP.SolarWinds.Node.NodeHealth.Monitor.AlertMessage.

Any help would be greatly appreciated.

Thank you.

br
Jesper

196164-rpsolarwindsnodenodehealthmonitordatasourceps1.txt

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,413 questions
{count} votes

3 answers

Sort by: Most helpful
  1. CyrAz 5,176 Reputation points
    2022-04-25T12:52:50.863+00:00

    I haven't had a look at your MP yet, but are you entirely certain that you always get a value from the API? Could it be that it's missing sometimes?

    0 comments No comments

  2. Jesper Rune Larsen 1 Reputation point
    2022-04-25T18:17:15.427+00:00

    Thank you for your reply. As I wrote in my post, I checked and verified that I get all the data.

    0 comments No comments

  3. CyrAz 5,176 Reputation points
    2022-04-26T08:25:54.267+00:00

    Do you see any "Failed to replace parameter while creating the alert for monitor state change" errors in the Operation Manager event log where the script is running, or the corresponding "Critical Alert Parameter Replacement Failure" alert in scom alerts?