Testing Notification


To verify that the notification rules are working correctly, you can set the PATROL object into an alarm state and verify that the notification is sent.

To Test Notification Using the setParameterValue Rule

You can set the value of a PATROL object using the setParameterValue rule.

  1. Create the rule shown below:

    "/AS/EVENTSPRING/setParameterValue" = { REPLACE = "/NT_CPU/CPU_0/CPUprcrProcessorTimePercent=ALARM" }
  2. Use the PATROL Configuration Manager to apply this rule to the agents that you want to test.

When you apply this rule to an agent, the rule assigns the parameter a value that is within the specified alarm range. This action causes an alarm condition and generates an alert.

To Test Notification Using a PSL Command

You can also use a PSL command to set a parameter value and generate an alert. When the default parameter thresholds are being used, the following command causes the CPUprcrProcessorTimePercent parameter to generate an alert:

%PSL set("/NT_CPU/CPU_0/CPUprcrProcessorTimePercent/value",99);

If a Problem Occurs

If the notification is not sent when the parameter enters an alarm state, see Troubleshooting PATROL KM for Event Management.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC PATROL for Event Management 2.9.00