Matrix_1970
Enthusiast
Enthusiast

Custom alerts in vCOPS

Hi all,

I have tried to test a custom alert without success. For test purposes, I have modified emailFilter.xml with this rule:

<FilterRule name="Datastore Capacity Available Space - ACTIVE">

    <Conditions>

        <condition type="AlertType">CLASSIC</condition>

        <condition type="AlertSubType">KPI_HT_BREACH</condition>

        <condition type="Status">ACTIVE</condition>

        <condition type="Level">WARNING</condition>

        <condition type="ResourceKind">VMWARE:Datastore</condition>

        <condition type="RootCauseTier">capacity:available_space</condition>

    </Conditions>

    <Addresses>

            <sendTo type="email">test@test.it</sendTo>

    </Addresses>

The mail server in Otuput handler is configured correctly (I have received the test email from vCOPS).

I have configured an HT in this manner:

pastedImage_3.png

In the Alerts overview I see this:

pastedImage_6.png

But I don't receive any mail. Have you suggestions?

Thank you very much.

Matrix

0 Kudos
1 Reply
mark_j
Virtuoso
Virtuoso

Drop your RootCauseTier condition.. your criteria is invalid and that isn't a condition for you to identify specific metrics.

You're already filtering the rule with the KPI_HT_Breach and level.

If you find this or any other answer useful please mark the answer as correct or helpful.
0 Kudos