Re: Debugging email notifications in version 19.1.0-1
"Seibold, Michael" <[email protected]> Fri, 3 Aug 2018 06:21:56 +0000
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Paul, Your javamail-configuration.properties config seems to be correct. What is your destinationPaths.xml looking like? We add dummy users to define the mail destinations. To debug - when you go to the Notification List and klick on the notification that should have been sent - at the bottom there should be some lines like Users Notified Sent To Sent At Media Contact Info [email protected] 01.08.2018 09:44:28 javaEmail Your config should be something like notifications.xml: <notification name="Authentication Failed" status="on" writeable="yes"> <uei>uei.opennms.org/internal/authentication/failure</uei> <destinationPath>NotifyMe</destinationPath> <text-message>Paul forgot his password</text-message> <subject>Authentication failed</subject> <numeric-message>9999</numeric-message> </notification> destinationPaths.xml: <path name="NotifyMe" initial-delay="0s"> <target interval="0m"> <name>Paul</name> <autoNotify>on</autoNotify> <command>javaEmail</command> </target> </path> users.xml: <user> <user-id>Paul</user-id> <full-name>Paul, that's me</full-name> <user-comments>OpenNMS Admin</user-comments> <password salt="false">xxxxxxxxxxxxxxx</password> <contact type="email" info="[email protected]"/> <contact type="pagerEmail" info=""/> <contact type="xmppAddress" info=""/> <contact type="numericPage" info="" serviceProvider=""/> <contact type="textPage" info="" serviceProvider=""/> </user> -Michael ------------------------------------------------------------------------------ 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