Basic working MSMQ PlugIn

Mar 24, 2014 at 10:41 PM

I was able to get MSMQ checks to run fine when running wolfpack on the same machine as the MSMQ.

However, if i tried to connect to a private queue on a remote machine, it always failed. This was due to the code in the MSMQ Check always first checking for "exists" on the queue. For private remote queues, this will always throw an exception.

I mashed together a quick plugin, based on the original MSMQ Health Check packaged in CORE.

A couple things.....
  1. Abstract out the exact message queue path format, so a user only needs to supply MACHINE NAME, QUEUE NAME, and a bool for "IsPrivateQueue".
  2. Only checks for existence on Public Queues.
  3. Does not check age of messages. I commented all that out, just to get a working check running. Can easily be reintegrated with the previous functionality.
The code and sample config can be found here:
Mar 25, 2014 at 3:23 AM
Hey Mike,

Great stuff - I've just uploaded the latest v3 source and will try to merge this into the MSMQ check.