Using regular expression in Notification parameters

Vidyanandan S <[email protected]> Fri, 17 Aug 2018 08:13:43 +0000
Newsgroups gmane.network.opennms.general
Message-ID <CY1PR17MB05242DA1C998F60E90D98637943D0@CY1PR17MB0524.namprd17.prod.outlook.com>
Hi All,

I have an event that is having following eventparams

                2018-08-17 01:09:56,631 DEBUG [EventHandlerPool-fiber3] DefaultEventHandlerImpl:     (.1.3.6.1.4.1.36197.4.5.0, dev_blr_151)
2018-08-17 01:09:56,631 DEBUG [EventHandlerPool-fiber3] DefaultEventHandlerImpl:     (.1.3.6.1.4.1.36197.4.10.0, Service etlcycle DOWN: Check that Service is available using fal_stat, If service is not available then stop and start etlcycle to try to bring back into service. If problem exists contact system admin.)
2018-08-17 01:09:56,631 DEBUG [EventHandlerPool-fiber3] DefaultEventHandlerImpl:     (.1.3.6.1.4.1.36197.4.7.0, MAJOR)
2018-08-17 01:09:56,631 DEBUG [EventHandlerPool-fiber3] DefaultEventHandlerImpl:     (.1.3.6.1.4.1.36197.4.8.0, ACTIVE)

and am configuring notification to send only on when it matches one of the eventparams value in notifications.xml i.e  bellow
                        <varbind>
            <vbname>.1.3.6.1.4.1.36197.4.10.0</vbname>
            <vbvalue>~^* Service etlcycle DOWN* </vbvalue>
        </varbind>


This is not working can you let me know what am missing

Thanks
Vidyanandan S

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss