Hi All,
I’ve been working on a rule but for whatever reason I cant get it to alert.The rule is a templated state down rule for a metric on a Cisco Nexus. I’m testing on Indeni 6.2.0.18.
I stripped the rule down to the very basic and it can be seen in the screenshot with the steps I took to test it.
Is there something I’m missing or doing wrong? any debug tips? anything else that might be causing it not to alert?
Thanks,
Robert
The Rule:
package com.indeni.server.rules.library.templatebased.cisco
import com.indeni.server.rules.RuleContext
import com.indeni.server.rules.library.StateDownTemplateRule
/**
*
*/
case class CiscoNexusTestRp(context: RuleContext) extends StateDownTemplateRule(context,
ruleName = "CiscoNexusTestRp",
ruleFriendlyName = "Cisco Nexus: Test RP",
ruleDescription = "indeni alert.",
metricName = "nexus-test",
alertIfDown = false,
alertItemsHeader = "Test Alert",
alertDescription = "Alert Test.",
baseRemediationText = "Contact Cisco support.")()