v 3.8-382 Event processing policy

Started by bobglock, June 03, 2021, 11:24:36 AM

Previous topic - Next topic

bobglock

Hi,

till this version on a ubuntu server 20.10, I'm not able anymore to send an e-mail when generate an alarm of node down. I've got the same smtp configuration in server configuration. Is something change?

Thanks in advance,

best regards

Bob

Filipp Sudanov

Check Event Log, may be there are SYS_SMTP_FAILURE events. These can give some information on the reason.

bobglock

Hi Filipp, there's the log:

"id": 10197698,
   "rootId": 0,
   "code": 22,
   "name": "SYS_SMTP_FAILURE",
   "timestamp": 1622718652,
   "originTimestamp": 1622718652,
   "origin": 0,
   "source": 58849,
   "zone": 0,
   "dci": 0,
   "severity": 1,
   "message": "Unable to send e-mail to <[email protected]>: SMTP conversation failure",
   "lastAlarmKey": "",
   "lastAlarmMessage": "",
   "tags": null,
   "parameters": [
      {
         "name": "",
         "value": "3"
      },
      {
         "name": "",
         "value": "SMTP conversation failure"
      },
      {
         "name": "",
         "value": "[email protected]"
      },
      {
         "name": "",
         "value": "NetXMS_A6: 47.906N.PIT.A-S01: Node down"
      }
   ]
Any ideas? The SMTP server it's ok, I've already tested it.

Thanks

Bob

Filipp Sudanov

try running
tcpdump host your.smtp.server.address port 25
in the console of your server and making an attempt to send email.
Console output should show communication with mail server.