Hi,
Can Nagios monitor MSMQ?
if so then how?
How monitor MSMQ
Re: How monitor MSMQ
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.
https://exchange.nagios.org/index.php?o ... hword=msmq
Take a look and see if any of those plugins will work for you.
Former Nagios Employee
Re: How monitor MSMQ
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.
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
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/
We have a knowledge base that has a lot of articles linked from it here as well - https://support.nagios.com/kb/
Former Nagios Employee
Re: How monitor MSMQ
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?
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?
You do not have the required permissions to view the files attached to this post.
Re: How monitor MSMQ
sorry please ignore above comments
Re: How monitor MSMQ
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.
You do not have the required permissions to view the files attached to this post.
Re: How monitor MSMQ
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.
Former Nagios employee
Re: How monitor MSMQ
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
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
You do not have the required permissions to view the files attached to this post.
Re: How monitor MSMQ
Can you post your NSClient++ log file for us to look at?
Former Nagios Employee