# Creating Alert Rule using Prometheus on the OCP 4.6 Openshift Container Platform

**URL:** <https://discuss.prometheus.io/t/creating-alert-rule-using-prometheus-on-the-ocp-4-6-openshift-container-platform/296>\
**Category:** Prometheus server\
**Created:** [June 10, 2021, 5:44pm UTC](https://discuss.prometheus.io/t/creating-alert-rule-using-prometheus-on-the-ocp-4-6-openshift-container-platform/296 "2021-06-10T17:44:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiran](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kiran](https://discuss.prometheus.io/u/kiran)\
**Post date:** [June 10, 2021, 5:44pm UTC](https://discuss.prometheus.io/t/creating-alert-rule-using-prometheus-on-the-ocp-4-6-openshift-container-platform/296/1 "2021-06-10T17:44:45Z")

</div>

Creating Alert Rule using Prometheus on the OCP 4.6 Openshift Container Platform

I need to create the Alert Rule using Prometheus on the OCP 4.6 Openshift Container Platform  
Also I want generate the Alert against node\_exporter, haproxy\_exporter, and snmp\_exporter, delhw\_exporter

After generating I need to confirm this alert on the AlertManager using default Prometheus

Also using user-defined Prometheus also.

Can any one share the detail steps with me.
