Page 1 of 4

How monitor MSMQ

Posted: Tue May 10, 2016 2:36 am
by azam101
Hi,

Can Nagios monitor MSMQ?

if so then how?

Re: How monitor MSMQ

Posted: Tue May 10, 2016 9:53 am
by rkennedy
A quick search of the exchange returned a few results -
https://exchange.nagios.org/index.php?o ... hword=msmq

Take a look and see if any of those plugins will work for you.

Re: How monitor MSMQ

Posted: Wed May 11, 2016 4:56 am
by azam101
Hi

I am new nagios xi and centos OS, so im not sure how to make changes.

Do you have any step by step guide, or is their anything in your video library.

Re: How monitor MSMQ

Posted: Wed May 11, 2016 10:02 am
by rkennedy
Take a look at this document for information on how to install plugins - https://assets.nagios.com/downloads/nag ... ios-XI.pdf

We have a knowledge base that has a lot of articles linked from it here as well - https://support.nagios.com/kb/

Re: How monitor MSMQ

Posted: Thu May 12, 2016 5:08 am
by azam101
Hi,

I am following the below link:
https://exchange.nagios.org/directory/P ... bs/details

I have edited the NSC.ini on the client server C:\Program Files\NSClient++\NSC.ini see attached and also moved the VBScript to the C:\program files\NSClient++\scripts.

But not sure about ###command definition### and ###service definition###

Where do I add theses?

Re: How monitor MSMQ

Posted: Thu May 12, 2016 5:11 am
by azam101
sorry please ignore above comments

Re: How monitor MSMQ

Posted: Thu May 12, 2016 6:04 am
by azam101
See attached screenshot would this be correct, i have edited with our server name and Queue names but they command does not seem work, dont get any OUTPUT. The queue that we are monitoring for testing has thousands, so left at 200 for Critical so it should have a OUTPUT of Critical but getting nothing.

Re: How monitor MSMQ

Posted: Thu May 12, 2016 1:03 pm
by tmcdonald
Try saving the check and letting it run normally - the Test Check Command button is not always accurate, and has some issues with escaping certain characters.

Re: How monitor MSMQ

Posted: Fri May 13, 2016 3:04 am
by azam101
Im getting a return code of 255 is out of bounds message see attached, not sure what this means.

Tried changing the Critical and Warning thresholds so that it should only so a warning but still get the same message.

I have edited the vi /etc/xinetd.d/nrpe and added the nagios server ip address and the server ip address that im monitoring and restarted the service xinetd restart.
And also disabled the nagios firewall, add the nagios server ip address to the allowed host list /usr/local/nagios/etc/nrpe.cfg
There no firewalls between the nagios server and the server that im trying to monitor. Also when I run the command on the nagios cli with the ip address the remote server I get a connection refused message:

Connect to address (ip address of server that im trying to monitor) port 5666: connection refused

Re: How monitor MSMQ

Posted: Fri May 13, 2016 12:48 pm
by rkennedy
Can you post your NSClient++ log file for us to look at?