[prev in list] [next in list] [prev in thread] [next in thread]
List: opennms-discuss
Subject: Re: [opennms-discuss] Debugging email notifications in version 19.1.0-1
From: "Hernandez, Paul" <Paul_Hernandez () mentor ! com>
Date: 2018-08-04 0:15:36
Message-ID: 8fcc9e3aade3429bb91b13de0a680e7f () svr-orw-mbx-01 ! mgc ! mentorg ! com
[Download RAW message or body]
[Attachment #2 (text/plain)]
Sigh, and you are correct.
Apologies to all as decided to try email on a different, more cleanly installed \
(apparently) instance of 19.1.0-1 and the DEBUG worked fine on that instance. It said \
to set an email address for the admin account (I'd only set up my own account with \
email.) When I added my email to the admin account I began receiving emails. Many \
many emails. Oddly emails where the "Event Notifications" page had no definition of \
the notifications I was receiving on many net-snmp services I've written, but never \
defined notifications for them yet so unclear why they are working.
Anyway this is great news and very red-faced at wasting your and Michael's time. I \
believe I've an idea how the install of 19.1.0-1 got munged so will save the config \
and re-install from scratch next week. I may have more questions on email control as \
mentioned but I've a feeling with some DEBUGing enabled I may be able to find some on \
my own.
Big thanks again and have a good weekend,
Paul
From: Dino Yancey [mailto:dino2gnt+opennms@gmail.com]
Sent: Friday, August 3, 2018 5:05 PM
To: General OpenNMS Discussion <opennms-discuss@lists.sourceforge.net>
Subject: Re: [opennms-discuss] Debugging email notifications in version 19.1.0-1
Any chance you may have disabled Notifd at some point in the past, via \
service-configuration.xml ? 'service opennms -v status' shows it running?
Shot in the dark, because I'm out of ideas. I ran several releases of 19.x and had \
notifications working on all of them. Never had a problem there, unfortunately.
On Fri, Aug 3, 2018 at 5:50 PM Hernandez, Paul \
<Paul_Hernandez@mentor.com<mailto:Paul_Hernandez@mentor.com>> wrote: I understood \
that value of "true" for 'org.opennms.core.utils.debug' to be the default as it was \
commented out in javamail-configuration.properties but I tried uncommenting to \
actually explicitly set it prior to posting.
I had a mail admin confirm that nothing is being sent to the mta at port 25 when I \
enter the wrong password into the gui. And as you see from my telnet, if something \
had been sent, it would make it to my inbox.
-Paul
From: Dino Yancey [mailto:dino2gnt+opennms@gmail.com<mailto:dino2gnt%2Bopennms@gmail.com>]
Sent: Friday, August 3, 2018 3:40 PM
To: General OpenNMS Discussion \
<opennms-discuss@lists.sourceforge.net<mailto:opennms-discuss@lists.sourceforge.net>>
Subject: Re: [opennms-discuss] Debugging email notifications in version 19.1.0-1
Yeah, that's odd.
Try adding 'org.opennms.core.utils.debug=true' in javamail-configuration.properties \
and see if you can get better info out of notifd.log? if you stop your local mta and \
listen on port 25 with netcat or similar do you see any attempt by OpenNMS to connect \
to port 127.0.0.1:25<http://127.0.0.1:25>?
On Fri, Aug 3, 2018 at 5:24 PM Hernandez, Paul \
<Paul_Hernandez@mentor.com<mailto:Paul_Hernandez@mentor.com>> wrote: Hi Dino,
Using the "Search" feature under Status->Events, I used the "Exact Event UEI:"
field and entered: \
uei.opennms.org/internal/authentication/failure<http://uei.opennms.org/internal/authentication/failure>
and get 10 events that do look like my attempts at using the wrong PW. Here is an \
example:
As for the javamail and mail transport agent, Michael and I went through those \
earlier in the thread, but happy to try anything further you can suggest. Sadly the \
DEBUG level of logging in notifd doesn't create anything in the notifd.log file. If \
we could figure out why that doesn't behave, I am fairly certain it would point us \
straight to the actual issue?
Thanks you for your time as well,
Pail
From original post:
This simple test verifies unauthenticated email sending on the VM on which the onms \
server runs:
[root@orw-onms-dvt-vm logs]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 orw-onms-dvt-vm.localdomain ESMTP Postfix
mail from: my_username_here@mentor.com<mailto:my_username_here@mentor.com>
250 2.1.0 Ok
rcpt to: my_username_here@mentor.com<mailto:my_username_here@mentor.com>
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
unauthenticated email test
.
250 2.0.0 Ok: queued as 6895A2A436A
quit
221 2.0.0 Bye
Connection closed by foreign host.
and I received the email in my inbox without issue.
From: Dino Yancey [mailto:dino2gnt+opennms@gmail.com<mailto:dino2gnt%2Bopennms@gmail.com>]
Sent: Friday, August 3, 2018 3:02 PM
To: General OpenNMS Discussion \
<opennms-discuss@lists.sourceforge.net<mailto:opennms-discuss@lists.sourceforge.net>>
Subject: Re: [opennms-discuss] Debugging email notifications in version 19.1.0-1
Hi,
I would start by verifying the event is actually fired (Can you find it in Status -> \
Events?), and that it matches the filter for the notification ( '(IPADDR IPLIKE \
*.*.*.*)' by default). Does the notification show up in Status -> Notifications? If \
those check out, i would suspect your javamail config and/or your local mail \
transport agent.
Dino
On Fri, Aug 3, 2018 at 3:57 PM Hernandez, Paul \
<Paul_Hernandez@mentor.com<mailto:Paul_Hernandez@mentor.com>> wrote: Michael,
The addition is correctly reflected in the gui, but no email sent when I generate the \
event with the wrong PW. What steps are available to debug this further?
Thanks again,
Paul
From: Hernandez, Paul
Sent: Friday, August 3, 2018 9:06 AM
To: General OpenNMS Discussion \
<opennms-discuss@lists.sourceforge.net<mailto:opennms-discuss@lists.sourceforge.net>>
Subject: RE: Debugging email notifications in version 19.1.0-1
Maybe we should focus on the Failed Authentication not working, since that one is a \
not one I created?
-Paul
From: Seibold, Michael [mailto:michael.seibold@gkvi.de]
Sent: Friday, August 3, 2018 8:34 AM
To: General OpenNMS Discussion \
<opennms-discuss@lists.sourceforge.net<mailto:opennms-discuss@lists.sourceforge.net>>
Subject: Re: [opennms-discuss] Debugging email notifications in version 19.1.0-1
Hi Paul,
about enabling debugging for notifications: I really can't remember I was ever using \
this. I set up notifications about 10 years ago and since then always copied the \
working config ;-)
I didn't find any obvious error in your config, but the filter rule might be the \
problem.
If you don't see notifications in the list it probably won't be the email part that \
is failing – I assume your rule doesn't match. I would
- Start without this rule
- If notifications are generated look out it the mails are coming
- Maybe the filter roule would be better using something like
<rule>(catincstaleNFS)</rule>
assuming that staleNFS is a category
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
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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
[Attachment #3 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Helvetica Neue";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.m5591862637939209805m8800262105664428877msoplaintext, \
li.m5591862637939209805m8800262105664428877msoplaintext, \
div.m5591862637939209805m8800262105664428877msoplaintext \
{mso-style-name:m_5591862637939209805m8800262105664428877msoplaintext; \
mso-margin-top-alt:auto; margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.m5591862637939209805m8800262105664428877m-883421549164637691msolistparagraph, \
li.m5591862637939209805m8800262105664428877m-883421549164637691msolistparagraph, \
div.m5591862637939209805m8800262105664428877m-883421549164637691msolistparagraph \
{mso-style-name:m_5591862637939209805m8800262105664428877m-883421549164637691msolistparagraph;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Tahoma",sans-serif;
color:black;
font-weight:bold;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Sigh, \
and you are correct.<o:p></o:p></span></b></p> <p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Apologies \
to all as decided to try email on a different, more cleanly installed (apparently) \
instance of 19.1.0-1 and the DEBUG worked fine on that instance. It said to set an \
email address for the admin account (I'd only set up my own account with email.) When \
I added my email to the admin account I began receiving emails. Many many \
emails. Oddly emails where the "Event Notifications" page had no definition of \
the notifications I was receiving on many net-snmp services I've written, but never \
defined notifications for them yet so unclear why they are \
working.<o:p></o:p></span></b></p> <p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Anyway \
this is great news and very red-faced at wasting your and Michael's time. I believe \
I've an idea how the install of 19.1.0-1 got munged so will save the config and \
re-install from scratch next week. I may have more questions on email control as \
mentioned but I've a feeling with some DEBUGing enabled I may be able to find some on \
my own.<o:p></o:p></span></b></p> <p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Big \
thanks again and have a good weekend,<o:p></o:p></span></b></p> <p \
class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Paul<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span \
style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span \
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Dino Yancey \
[mailto:dino2gnt+opennms@gmail.com] <br>
<b>Sent:</b> Friday, August 3, 2018 5:05 PM<br>
<b>To:</b> General OpenNMS Discussion \
<opennms-discuss@lists.sourceforge.net><br> <b>Subject:</b> Re: \
[opennms-discuss] Debugging email notifications in version \
19.1.0-1<o:p></o:p></span></p> <p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Any chance you may have disabled Notifd at some point in the \
past, via service-configuration.xml ? 'service opennms -v status' shows it \
running?<o:p></o:p></p> </div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Shot in the dark, because I'm out of ideas. I ran several \
releases of 19.x and had notifications working on all of them. Never had a \
problem there, unfortunately. <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Fri, Aug 3, 2018 at 5:50 PM Hernandez, Paul <<a \
href="mailto:Paul_Hernandez@mentor.com">Paul_Hernandez@mentor.com</a>> \
wrote:<o:p></o:p></p> </div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in \
6.0pt;margin-left:4.8pt;margin-right:0in"> <div>
<div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">I \
understood that value of "true" for </span></b>'org.opennms.core.utils.debug<b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">' to \
be the default as it was commented out in \
</span></b>javamail-configuration.properties<o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">but I \
tried uncommenting to actually explicitly set it prior to \
posting.</span></b><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">I had \
a mail admin confirm that nothing is being sent to the mta at port 25 when I enter \
the wrong password into the gui.</span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">And as \
you see from my telnet, if something had been sent, it would make it to my \
inbox.</span></b><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">-Paul</span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span \
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Dino Yancey \
[mailto:<a href="mailto:dino2gnt%2Bopennms@gmail.com" \
target="_blank">dino2gnt+opennms@gmail.com</a>] <br>
<b>Sent:</b> Friday, August 3, 2018 3:40 PM<br>
<b>To:</b> General OpenNMS Discussion <<a \
href="mailto:opennms-discuss@lists.sourceforge.net" \
target="_blank">opennms-discuss@lists.sourceforge.net</a>><br> <b>Subject:</b> Re: \
[opennms-discuss] Debugging email notifications in version \
19.1.0-1</span><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p> \
<div> <div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Yeah, \
that's odd.<o:p></o:p></p> </div>
<div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p> \
</div> <div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Try \
adding 'org.opennms.core.utils.debug=true' in javamail-configuration.properties and \
see if you can get better info out of notifd.log? if you stop your local mta \
and listen on port 25 with netcat or similar do you see any attempt by OpenNMS to \
connect to port <a href="http://127.0.0.1:25" target="_blank">127.0.0.1:25</a>? \
<o:p></o:p></p> </div>
</div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p> \
<div> <div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On \
Fri, Aug 3, 2018 at 5:24 PM Hernandez, Paul <<a \
href="mailto:Paul_Hernandez@mentor.com" \
target="_blank">Paul_Hernandez@mentor.com</a>> wrote:<o:p></o:p></p> </div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in \
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"> <div>
<div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Hi \
Dino,</span></b><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Using \
the "Search" feature under Status->Events, I used the "</span></b><b><span \
style="font-size:9.0pt;font-family:"Helvetica \
Neue";color:#333333;background:#EEEEEE">Exact Event \
UEI:"</span></b><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">field \
and entered: <a \
href="http://uei.opennms.org/internal/authentication/failure" target="_blank"> \
uei.opennms.org/internal/authentication/failure</a></span></b><o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">and \
get 10 events that do look like my attempts at using the wrong PW. Here is an \
example:</span></b><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">As for \
the javamail and mail transport agent, Michael and I went through those earlier in \
the thread, but happy to try anything further you can suggest. Sadly the DEBUG level \
of logging in notifd doesn't create anything in the notifd.log file. If we could \
figure out why that doesn't behave, I am fairly certain it would point us straight to \
the actual issue?</span></b><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Thanks \
you for your time as well,</span></b><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Pail</span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><u><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">From \
original post:</span></u></b><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="m5591862637939209805m8800262105664428877msoplaintext">This simple test \
verifies unauthenticated email sending on the VM on which the onms server \
runs:<o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext"> <o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier \
New"">[root@orw-onms-dvt-vm logs]# <span style="background:lime"> telnet \
127.0.0.1 25</span></span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier New"">Trying \
127.0.0.1...</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier New"">Connected \
to 127.0.0.1.</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier New"">Escape \
character is '^]'.</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier New"">220 \
orw-onms-dvt-vm.localdomain ESMTP Postfix</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier New"">mail \
from: <a href="mailto:my_username_here@mentor.com" target="_blank"> \
my_username_here@mentor.com</a></span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier New"">250 2.1.0 \
Ok</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier New"">rcpt to: \
<a href="mailto:my_username_here@mentor.com" target="_blank"> \
my_username_here@mentor.com</a></span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier New"">250 2.1.5 \
Ok</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier \
New"">data</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier New"">354 End \
data with <CR><LF>.<CR><LF></span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier New""> \
</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier \
New"">unauthenticated email test </span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier \
New"">.</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier New"">250 2.0.0 \
Ok: queued as 6895A2A436A</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier \
New"">quit</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier New"">221 2.0.0 \
Bye</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext" \
style="margin-left:.5in"> <span style="font-family:"Courier \
New"">Connection closed by foreign host.</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext"> <o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877msoplaintext"> <o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">and I \
received the email in my inbox without issue.<o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span \
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Dino Yancey \
[mailto:<a href="mailto:dino2gnt%2Bopennms@gmail.com" \
target="_blank">dino2gnt+opennms@gmail.com</a>] <br>
<b>Sent:</b> Friday, August 3, 2018 3:02 PM<br>
<b>To:</b> General OpenNMS Discussion <<a \
href="mailto:opennms-discuss@lists.sourceforge.net" \
target="_blank">opennms-discuss@lists.sourceforge.net</a>><br> <b>Subject:</b> Re: \
[opennms-discuss] Debugging email notifications in version \
19.1.0-1</span><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p> \
<div> <div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p> </div>
<div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p> \
</div> <div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I \
would start by verifying the event is actually fired (Can you find it in Status -> \
Events?), and that it matches the filter for the notification ( '(IPADDR IPLIKE \
*.*.*.*)' by default). Does the notification show up in Status -> \
Notifications? If those check out, i would suspect your javamail config and/or \
your local mail transport agent.<o:p></o:p></p> </div>
<div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p> \
</div> <div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dino<o:p></o:p></p> </div>
</div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p> \
<div> <div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On \
Fri, Aug 3, 2018 at 3:57 PM Hernandez, Paul <<a \
href="mailto:Paul_Hernandez@mentor.com" \
target="_blank">Paul_Hernandez@mentor.com</a>> wrote:<o:p></o:p></p> </div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in \
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"> <div>
<div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Michael,</span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">The \
addition is correctly reflected in the gui, but no email sent when I generate the \
event with the wrong PW.</span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">What \
steps are available to debug this further?</span></b><o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Thanks \
again,</span></b><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Paul</span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:</b> Hernandez, \
Paul <br>
<b>Sent:</b> Friday, August 3, 2018 9:06 AM<br>
<b>To:</b> General OpenNMS Discussion <<a \
href="mailto:opennms-discuss@lists.sourceforge.net" \
target="_blank">opennms-discuss@lists.sourceforge.net</a>><br> <b>Subject:</b> RE: \
Debugging email notifications in version 19.1.0-1<o:p></o:p></p> </div>
</div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">Maybe \
we should focus on the Failed Authentication not working, since that one is a not one \
I created?</span></b><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black">-Paul</span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span \
style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black"> </span></b><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:</b> Seibold, \
Michael [<a href="mailto:michael.seibold@gkvi.de" \
target="_blank">mailto:michael.seibold@gkvi.de</a>] <br>
<b>Sent:</b> Friday, August 3, 2018 8:34 AM<br>
<b>To:</b> General OpenNMS Discussion <<a \
href="mailto:opennms-discuss@lists.sourceforge.net" \
target="_blank">opennms-discuss@lists.sourceforge.net</a>><br> <b>Subject:</b> Re: \
[opennms-discuss] Debugging email notifications in version 19.1.0-1<o:p></o:p></p> \
</div> </div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
lang="DE" style="font-family:"Arial",sans-serif;color:black">Hi \
Paul,</span><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE" \
style="font-family:"Arial",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" \
style="font-family:"Arial",sans-serif;color:black">about enabling debugging \
for notifications: I really can't remember I was ever using this. I set up \
notifications about 10 years ago and since then always copied the working config \
;-)</span><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" \
style="font-family:"Arial",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" \
style="font-family:"Arial",sans-serif;color:black">I didn't find any \
obvious error in your config, but the filter rule might be the \
problem.</span><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" \
style="font-family:"Arial",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB" \
style="font-family:"Arial",sans-serif;color:black">If you don't see \
notifications in the list it probably won't be the email part that is failing – I \
assume your rule doesn't match. I would </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
lang="EN-GB" style="font-family:"Arial",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="m5591862637939209805m8800262105664428877m-883421549164637691msolistparagraph" \
style="margin-left:.5in"> <span lang="EN-GB" \
style="font-family:"Arial",sans-serif;color:black">-</span><span \
lang="EN-GB" style="font-size:7.0pt;color:black"> \
</span><span lang="EN-GB" \
style="font-family:"Arial",sans-serif;color:black">Start without this \
rule</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877m-883421549164637691msolistparagraph" \
style="margin-left:.5in"> <span lang="EN-GB" \
style="font-family:"Arial",sans-serif;color:black">-</span><span \
lang="EN-GB" style="font-size:7.0pt;color:black"> \
</span><span lang="EN-GB" \
style="font-family:"Arial",sans-serif;color:black">If notifications are \
generated look out it the mails are coming</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877m-883421549164637691msolistparagraph" \
style="margin-left:.5in"> <span lang="EN-GB" \
style="font-family:"Arial",sans-serif;color:black">-</span><span \
lang="EN-GB" style="font-size:7.0pt;color:black"> \
</span><span lang="EN-GB" \
style="font-family:"Arial",sans-serif;color:black">Maybe the filter roule \
would be better using something like</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877m-883421549164637691msolistparagraph" \
style="margin-left:.5in"> <b><span style="font-size:10.0pt;font-family:"Courier \
New";color:black"> \
<rule>(catincstaleNFS)</rule><br> </span></b><span lang="EN-GB" \
style="font-family:"Arial",sans-serif;color:black">assuming that staleNFS \
is a category</span><o:p></o:p></p> <p \
class="m5591862637939209805m8800262105664428877m-883421549164637691msolistparagraph" \
style="margin-left:.5in"> <b><span lang="EN-GB" \
style="font-size:10.0pt;font-family:"Courier \
New";color:black"> </span></b><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-GB" \
style="font-size:10.0pt;font-family:"Courier \
New";color:black">Michael</span></b><o:p></o:p></p> </div>
</div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world's most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" \
target="_blank"> http://sdm.link/slashdot</a>_______________________________________________<br>
Please read the OpenNMS Mailing List FAQ:<br>
<a href="http://www.opennms.org/index.php/Mailing_List_FAQ" \
target="_blank">http://www.opennms.org/index.php/Mailing_List_FAQ</a><br> <br>
opennms-discuss mailing list<br>
<br>
To *unsubscribe* or change your subscription options, see the bottom of this \
page:<br> <a href="https://lists.sourceforge.net/lists/listinfo/opennms-discuss" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/opennms-discuss</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world's most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" \
target="_blank"> http://sdm.link/slashdot</a>_______________________________________________<br>
Please read the OpenNMS Mailing List FAQ:<br>
<a href="http://www.opennms.org/index.php/Mailing_List_FAQ" \
target="_blank">http://www.opennms.org/index.php/Mailing_List_FAQ</a><br> <br>
opennms-discuss mailing list<br>
<br>
To *unsubscribe* or change your subscription options, see the bottom of this \
page:<br> <a href="https://lists.sourceforge.net/lists/listinfo/opennms-discuss" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/opennms-discuss</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
<p class="MsoNormal">------------------------------------------------------------------------------<br>
Check out the vibrant tech community on one of the world's most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" \
target="_blank"> http://sdm.link/slashdot</a>_______________________________________________<br>
Please read the OpenNMS Mailing List FAQ:<br>
<a href="http://www.opennms.org/index.php/Mailing_List_FAQ" \
target="_blank">http://www.opennms.org/index.php/Mailing_List_FAQ</a><br> <br>
opennms-discuss mailing list<br>
<br>
To *unsubscribe* or change your subscription options, see the bottom of this \
page:<br> <a href="https://lists.sourceforge.net/lists/listinfo/opennms-discuss" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/opennms-discuss</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>
[Attachment #4 (--===============3999193186396744842==)]
------------------------------------------------------------------------------
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic