Hello..
I have a suite of peripherals that currently alert via a simple SMTP mail method. So basically, when a condition occurs on these peripherals, an SMPT mail alert is sent to relevant parties. The email will contain the severity and a description of the event. but in pure email text form.
What I am looking to do is to capture these emails within dataminer and present them as individual alrms on the alarm console.
Is there any examples of how to approach this anywhere? Any similar use cases I could refer to?
Many thanks
Hi,
I am assuming that the e-mails are sent to an e-mail server via SMTP or is it the intention to target DataMiner directly through SMTP?
If the mails are sent to a mailserver, a possibility could be to write a connector that reads in the mails from the mailserver and then adds the items to be alarmed in a table. The element can then have an active alarm template on this table, which will show the alarms in the alarm console.
There is an old connector (from 2011) that did something similar: "Paradox Monitor Platform" which retrieves the mails through POP3 every minute, then processes them and adds the relevant content to a table. Of course these mails needed to have a specific raw text format, so that connector will not be usable of the shelf and it might also be that something else like IMAP needs to be used to retrieve those mails as POP3 is outdated.
If DataMiner is directly targeted through SMTP, a possibility could be to write a connector with a smart-serial TCP connection that is listening for the incoming data and can reply back (as some messages are required when a mail is sent). The mail content is then processed and added to a table. I'm not aware of the existence of such connector, that would still need to be developed.
Regards,
There isn't much available for this as there isn't a built in mechanism to listen for emails. There are a few options to do this but would require some development and design. Who would host your mail server? Normally they offer ways to integrate…