We have a device that doesn't have SNMP, syslog, or anything like that, but it can send emails. I need a way to monitor an inbox and notify us if there is an email from that device. Anyone know of a way to do that?
Hello tbell52,APM has monitors for various mail scenarios but all those monitors send their own test message and then check for that particular message. They can't check for message specified by you.
What you can do is use windows/linux script monitor. Many mail servers store incoming messages as single plaintext files. You can write a script that goes to inbox directory and check files for particular message. If your mail server stores messages as plaintext, it's really easy. If your mail server uses some compression or even store messages in some database, then it will be more complicated. You can try to write script that connects to mail server using POP3 or IMAP and checks for message as regular user would do.
Thanks for the reply. Yes, we're using the MAPI monitor to make sure mail can be sent and received. I was affraid the only option would be to write a script. I'm not a script writer and wouldn't know where to start. If anyone knows of a script that I could use please let me know. Our email server is Exchange 2003.
I would suggest modify script \ProgramFiles\SolarWinds\Orion\APM\SampleScriptMonitors\WindowsScripts\BlackBerryDeliveryConfirmation.vbs for your purposes.
This script send email to blackbery device and wait for confirmation on exchange server. Focus of that part that wait for confirmation as this do things that might be useful for you.