An event with no matching configuration

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

An event with no matching configuration

wj7342
I am trying to create an alert for when temperature exceeds a certain threshold. Everything seems to be working except I am not receiving the recovery notification. From what I can see, it looks like the other event/notification code snippets that are working correctly for me. I would greatly appreciate any help in figuring out where I have gone wrong.


I created a threshold for exceeding the temperature on Cisco Devices:

From thresholds.xml:

<threshold description="cvmTempStatusDescr" type="high"
            ds-type="ciscoEnvMonTemperatureStatusIndex" value="100.0"
            rearm="80.0" trigger="1" ds-label="Cisco Temperature"
            triggeredUEI="uei.domainxyz.com/xxx/temp/exceeded"
            rearmedUEI=" uei.domainxyz.com/xxx/temp/rearmed"
            filterOperator="or" ds-name="cvmTempStatusValue"/>



I created these events for when threshold is exceeded and rearmed.

 <event>
        <uei>uei.domainxyz.com/xxx/temp/exceeded</uei>
        <event-label>User-defined threshold event uei.domainxyz.com/xxx/temp/exceeded</event-label>
        <descr>%nodelabel% is experiencing high temperature (%parm[value]%).</descr>
        <logmsg dest="logndisplay">%nodelabel% is experiencing high temperature (%parm[value]%).</logmsg>
        <severity>Major</severity>
        <alarm-data reduction-key="%uei%:%dpname%:%nodeid%" alarm-type="1" auto-clean="false"/>
    </event>
    <event>
        <uei>uei.domainxyz.com/xxx/temp/rearmed</uei>
        <event-label>User-defined threshold event uei.domainxyz.com/xxx/temp/rearmed</event-label>
        <descr>%nodelabel% is no longer experiencing high temperature (%parm[value]%).</descr>
        <logmsg dest="logndisplay">%nodelabel% is no longer experiencing high temperature (%parm[value]%).</logmsg>
        <severity>Cleared</severity>
        <alarm-data reduction-key="%uei%:%dpname%:%nodeid%" alarm-type="2" clear-key="uei.domainxyz.com/xxx/temp/exceeded:%dpname%:%nodeid%" auto-clean="false"/>
    </event>



I created these notifications for when the events are triggered

Exceeded notification:

 <notification name="High Temperature" status="on" writeable="yes">
        <uei>uei.domainxyz.com/xxx/temp/exceeded</uei>
        <description>High Temperature for Cisco Device</description>
        <rule>(IPADDR IPLIKE *.*.*.*)</rule>
        <destinationPath>notificationaddress</destinationPath>
        <text-message>Alert Type: High Temperature

Time: %time%
Node: %nodelabel%
Temperature: %parm[value]%

Data: %parm[all]%

Alarm definition: This alert is triggered when the temperature rises above 100 degrees celcius.</text-message>
        <subject>A: (%noticeid%) %nodelabel% - High Temperature %parm[a_parm_name]%</subject>
        <numeric-message>A: (%noticeid%) %nodelabel% - High Temperature %parm[a_parm_name]%</numeric-message>
    </notification>

Rearm notification:

<notification name="High Temperature Recovery" status="on" writeable="yes">
        <uei>uei.domainxyz.com/xxx/temp/rearmed</uei>
        <description>High Temperature  Recovery for Cisco Device </description>
        <rule>(IPADDR IPLIKE *.*.*.*)</rule>
        <destinationPath>notificationaddress</destinationPath>
        <text-message>Alert Type: High Temperature Recovery

Time: %time%
Node: %nodelabel%
Temperature: %parm[value]%

Data: %parm[all]%

Recovery definition: The high temperature alert is triggered when the environment temperature rises above 100 degrees celcius. The alert recovers when the temperature drops$
</text-message>
        <subject>R: (%noticeid%) %nodelabel% - Temperature has returned to normal %parm[a_parm_name]%</subject>
        <numeric-message>R: (%noticeid%) %nodelabel% - Temperature has returned to normal %parm[a_parm_name]%</numeric-message>
    </notification>
</notifications>


I set the threshold low enough to trigger an event and I receive the correct notification. The following event is added to the log.

14823532 Major [+] [-] 3/12/14 15:50:53 [<] [>] nameofhost [+] [-] ipaddressofhost [+] [-] SNMP [+] [-]
uei.domainxyz.com/xxx/temp/exceeded [+] [-] Edit notifications for event
nameofhost is experiencing high temperature (63).


I then set the threshold back up so that the trigger condition no longer exists. I do not receive a notification and the following event is added to the log.

3/12/14 16:00:55 [<] [>] nameofhost [+] [-] ipaddressofhost [+] [-]   SNMP [+] [-]
uei.domainxyz.com/xxx/temp/rearmed  [+] [-] Edit notifications for event
An event with no matching configuration was received from interface ipaddressofhost.
Loading...