12-08-2012 03:51 PM
Hello,
Do you have a script to monitor all MSMQ queues on Vault?
I found some on Internet but they don't work as the queue names get truncated to 64 characters.
Thanks!
Solved! Go to Solution.
12-09-2012 11:43 PM
We use the attached Powershell.
The file srvlist.txt (which is called in the PS1 file) is filled with the aliasses of the EV-servers, 1 per line.
This list reports if an EV-queue is over 100 messages.
Rename file to .ps1, test
12-08-2012 05:53 PM
Does it have to be powershell??
12-08-2012 05:55 PM
Wayne Humphrey wrote a nice little VBScript you can find here:
http://www.symantec.com/connect/blogs/monitoring-msmq-vbs
12-09-2012 01:09 AM
Did you look at the PowerShell Community Extensions:
http://pscx.codeplex.com/releases/view/96847
12-09-2012 03:00 AM
No, it does not have to be necessary Powershell, it can be other language.
I will check this vbs and if it works I will mark as the solution.
Thanks again, great forum full of experts!
12-09-2012 03:21 AM
I just tried the script but it returns 0 messages (although when I check in compmgmt.msc there are about 100 messages).
12-09-2012 06:10 AM
I've a script which monitors EV other MSMQ and generates HTML email alerts based on parameters definied within script.
At the core, it uses WMI query to pull MSMQ information for multiple servers.
I can upload it to download section but might take couple days as it goes through approvals.
If you wish, I can email it to you and you can test if it works for you
12-09-2012 06:25 AM
Thanks for reply, yes it could be great if you can send me by email so I can test.
12-09-2012 09:15 AM
here's how you can use the WMI called from powershell. works like a charm. just put this in a file whatever.ps1 and you're off to the races. you can substitute the ft for fl or however you'd like the results to be listed.
$queues = Get-WmiObject Win32_PerfFormattedData_msmq_MSMQQueue
$queues | ft -property Name,MessagesInQueue
12-09-2012 11:43 PM
We use the attached Powershell.
The file srvlist.txt (which is called in the PS1 file) is filled with the aliasses of the EV-servers, 1 per line.
This list reports if an EV-queue is over 100 messages.
Rename file to .ps1, test
12-10-2012 12:39 AM
You might want to have a look at MSMQ Monitor :
http://www.quadrotech-it.com/products/evtools/msmq-monitor/
12-10-2012 01:00 AM
I just tested this tool on my EV server (clustered) :
PS C:\msmq> .\MSMQMonitor.exe
12-10-2012 01:41 AM
I've never tried it on a clustered environment. Did you try any of the command line switches from the instructions on the QUADROtech web site?
(Feel free to email direct to troubleshoot -> rob.wilcox@quadrotech-it.com)
12-10-2012 02:24 AM
I sent you an email with more info, thanks in advance.
12-10-2012 10:30 AM
NP - I think we got to the bottom of (part of) it on email .. MSMQ Monitor currently doesn't support clustered servers.
As mentioned over email, I'll dig out some other code and send it over.
03-19-2021 01:38 PM
Hi AKL, can you please email me on rosh2g@yahoo.com
03-19-2021 02:06 PM
Hi AKL,
Can you please share me in my email rosh2g@yahoo.com
03-22-2021 01:37 AM
Hi. Your using an 9 year old closed thread to ask someone to mail you.
If you really want to contact someone, use the forum (by using the functionality under your account). If you have a question related to EV, you need to create a new entry. People do not look at old closed entries.