How to create threshold for warning events in opennms

I am getting warnings for cpu usage that i have created using custom uei but it’s not notifying. Please help me out.

Need more information. Provide a screenshot of the threshold configuration (or post the xml from thresholds.xml) and the notification configuration (or, again, the raw xml).