Component: E2E
Examples:
Example 1:
You can apply code in your e2e script to generate an alarm, here's an example:
qostime = nimQoSGetTimer()
if qostime >= 8000 then
nimAlarm(3,"The value exceeds the threshold...","a_suppression_key","1.1.14")
else
nimAlarm(0,"The value is below the threshold...","a_suppression_key","1.1.14")
endif
Example 2:
Looking at the sample e2e scripts in e2e_scripting\Scripts directory has some script examples, e.g., example-correlation, and Nimbus functions including nimalarm(), nimalarmsimple() are defined in NimBUS-functions file in the same directory.
-- This example will show how to use triggers as part of a correlation rule
-- note that the trigger state may be retrieved by 2 methods.
-- An alarm will be fired if both triggers are active and a failed ping.
if trigger.state ("example.system") and state("example.network") then
if not action.ping("www.nimsoft.com") then
nimbus.alarm (2,"We have a situation here...")
end
end
If you need more advanced help, and you just have some more advanced questions you can try and get them answered from the field by posting a question/message in the Broadcom UIM Community.
Other:
On error return should be selected profiles.
On error return
Alarm message
If the option-> "On unexpected return value" is checked, the alarm selected from the pull-down menu will be sent.