Using WebReports Alerts

Hi All,
I’m trying to set up an alert that will generate a report any time one of my relay servers reports the relay service as not running. I have a report configured that displays any relays where the relay service does not equal running. I am trying to use an Activity Trigger with Matching Relevance conditions so that it will only generate an email if it finds relays not running. Does anyone have any insight?

I typically keep the relevance part unchecked and just use the feature that only sends the report of the values have changed.

That normally meets this particular requirement.

Thanks! I am currently using that and it does work but I was looking for a way to send the report based on the relevance. For example if any of my relays go down send the report, but don’t send the report when it comes back up. But I suppose I can work with it the way it is.

Trying to understand what this might look like. So the report would basically be a report of all the relays in your deployment and the status of their relay services (either UP or DOWN).

If you set up an Activity Trigger on a report like this, you would have to take into account all relays that are a part of the report. So whatever relevance is written would end up being some big AND or OR logic statement.

You generate would a report when the sum total of their states change. Meaning the relevance logic would need to say something like: “If any of the services go from a state of UP to DOWN, generate the report” or “If all of the services evaluate to TRUE (because one of the services on the relays when from UP to DOWN) generate the report”

Any one know of a relevance statement that might accomplish this within Web Reports?

I’m thinking that a new feature in the product may need to be created called “Triggers”, which would be based on some change in the state of a property on a machine or set of machines, do something.

This might make for a good RFE: IBM Ideas

You might consider leveraging something like the following for the relevance trigger when it evaluates to ‘true’:

exists results whose (value of it as lowercase contains “yes - stopped”) of bes property “BES Relay Service Installed”

(note that this is the same session relevance used by the Deployment Health Checks dashboard for the ‘BES Relay Service Stopped’ check)…which can be referenced within the DeploymentHealth.ojo/js file in BES Support.

2 Likes

you could try the following

not exist running service “besrelay”

Set the button to Generate report when relevance becomes true