Monitoring MAPI Message Counts

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
CuWatson
Posts: 5
Joined: Mon Nov 10, 2003 3:44 pm

Monitoring MAPI Message Counts

Post by CuWatson »

We have an internal application that processes e-mail coming into an Exchange mailbox, and generally when that application fails the "Unread Messages" count for the Inbox starts to rise. What is the easiest way to monitor down to this level so we can be alerted when the unread message count gets above 50 or so? Is there a canned script and what's the best scripting engine, in your opinion (CScript, VBScript, etc.)?

Thanks.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Probably you don't need any script? As I know Microsoft Exchange supports IMAP protocol. HostMonitor using IMAP test can check how many messages (total or new since last check) contains specified mailbox.
Or this method is not what do you need? E.g. if you cannot move processed message to another folder, etc

Regards
Alex
CuWatson
Posts: 5
Joined: Mon Nov 10, 2003 3:44 pm

Monitoring MAPI Message Counts

Post by CuWatson »

I've tried the IMAP test but it keeps coming back w/ a "Bad" status, even when the mailbox should be fine. I have the respective mailbox listed in the appropriate "Check mailbox" field, but I actually want to get the monitoring down to the Inbox level. So I don't know if it's returning a "Bad" status based on all the messages in the mailbox or the ones coming into the Inbox folder.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What do you see in "Reply" field?
If you see number of messages or total size of the messages or response time (depends on settings), HostMonitor performs the test. Otherwise "Bad" status means "login error" or "invalid mail box".

Regards
Alex
Post Reply