Watch4Net 6.1 (and later): How does the Alerting Module take data from a Scheduled Report?
search cancel

Watch4Net 6.1 (and later): How does the Alerting Module take data from a Scheduled Report?

book

Article ID: 304653

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - Watch4Net/M&R

Resolution

How does the Watch4Net 6.1 (and later) Alerting Module take data from a Scheduled Report?



The Watch4Net 6.1 (and later) Alerting Module parses each line in a report one by one, and will create a separate alert for each line depending on the conditions in the alert definition. For example, the following Watch4Net APG 6.1 report (taken from Global Reports -> Top-N Reports -> Top-5 CPU Usage (Routers and Switches) ) has the following data: 
Device TypeDevice NameCPU Usage (%)
Swtich

switch1

81.12
RouterrouterA32.02
Switchswitch243.79

Note: The Device Type and Device Name columns are "Attribute" columns (Funnel icon). The CPU Usage (%) column is a "Value" column (? icon).

In the Alerting Module, data in the columns can be accessed with the following paramertes and syntax:

In the "Filtered Entry Point"In the "Action" (log/SNMP trap/E-Mail etc)
Attribute Column:column name without spacesPROP.'column name without spaces'
Value Column Name:namePROP.'name'
Value column numeric value:VALUE

Example using line 1 of above CPU Usage report:

 Filtered Entry Point:

        DeviceType & name=='CPUUsage(%)'

This example will check if the "Device Type" column is present and the Value Column (name) is "CPU Usage (%)". The numeric value of the CPU Usage (%) column (81.12) can then be passed to a comparator.

Example Action
The following example Action (Log/SNMP trap/Email/External Process):

        PROP.'DeviceType' PROP.'DeviceName' currently has PROP.'name' at VALUE

Will produce the following in a log:

        Switch switch1 currenlty has CPUUsage(%) at 81.12