We have this platform that monitor the health of our entire network, when an incident (server down, link down, link up, etc.) occurs, it send an alert. This alert should be catch by a software that I'm developing an my software should propagate this event through a SNMP trap to other devices on the network.
Everything until this point seems fine... except that the server that detects the failure can just emit emails. So i have to detect when a new email arrives and send an SNMP message. The problem here is that the time passed between the reception of the event and the transmission of the message has to be less than 5 seconds. I cannot have a process checking my an email every 5 seconds since this would kill performance.
I was thinking of a trigger activated by the pop server. I've considered everything from installing outlook and make it check my pop server every second to develop a module over an open source pop server... i haven't have any success to this point.
What can you recommend? any guidance will be highly appreciated.
Regards,