Version = Nagios XI 2014R2.7
OS = Unix
Requirement: To monitor ipcs –q (Messages queue) of the server.
------ Message Queues --------
Key msqid owner perms used-bytes messages
0xbe020061 2195456 nagios 600 0 0
We’ve a particular requirement to check the used-bytes and if it reaches to some count(Say – 500000), it needs to send an alert.
are there any plugins to monitor it? Can you help us with how to setup monitoring for it?
How to monitor messages queue(used-bytes)
Re: How to monitor messages queue(used-bytes)
Hello,
You should have a look at this plugin: https://exchange.nagios.org/directory/P ... ue/details
Regards.
You should have a look at this plugin: https://exchange.nagios.org/directory/P ... ue/details
Regards.
Loïc VAILLANT
Re: How to monitor messages queue(used-bytes)
Thanks for the assist, @lvaillant!
@rtsupport, let us know if you have any questions about setting this plugin up.
@rtsupport, let us know if you have any questions about setting this plugin up.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How to monitor messages queue(used-bytes)
Sorry for the late response and thanks @lvaillant for the plugin suggestion.
But the thing is we've Prod, Test and DR servers where ipcs -q needs to be monitored on NAGIOS XI. With the above given plugin we are able to monitor ipcs -q for Prod server from NAGIOS XI which belongs to a particular collector server, but when it comes to Test and DR(and other servers as well) which are on different collector servers this plugin doesn't give the required output on NAGIOS XI. As checked from CLI with the message queue plugin on Test and DR Servers it shows the desired output, but when monitoring the ipcs -q of these servers from NAGIOS XI the output is not as required. Is there any way to connect the host from one collector server to host from the another collector server(with -H --options ?) that can be used with plugin suggested?
But the thing is we've Prod, Test and DR servers where ipcs -q needs to be monitored on NAGIOS XI. With the above given plugin we are able to monitor ipcs -q for Prod server from NAGIOS XI which belongs to a particular collector server, but when it comes to Test and DR(and other servers as well) which are on different collector servers this plugin doesn't give the required output on NAGIOS XI. As checked from CLI with the message queue plugin on Test and DR Servers it shows the desired output, but when monitoring the ipcs -q of these servers from NAGIOS XI the output is not as required. Is there any way to connect the host from one collector server to host from the another collector server(with -H --options ?) that can be used with plugin suggested?
Re: How to monitor messages queue(used-bytes)
The plugin doesn't support remote KMQ checking so it will only show the local KMQ where the plugin is run from.
There are multiple ways to do this:
1. Install NRPE or NCPA agent on the systems, put the plugin on all machines, and run the plugin through a NRPE/NCPA check.
OR
2. Put the plugin on all the systems and run the SSH Proxy wizard and have it run the plugins on the systems through SSH.
See here for more information:
https://assets.nagios.com/downloads/nag ... ng_SSH.pdf
Let us know if you have any questions.
Thank you
There are multiple ways to do this:
1. Install NRPE or NCPA agent on the systems, put the plugin on all machines, and run the plugin through a NRPE/NCPA check.
OR
2. Put the plugin on all the systems and run the SSH Proxy wizard and have it run the plugins on the systems through SSH.
See here for more information:
https://assets.nagios.com/downloads/nag ... ng_SSH.pdf
Let us know if you have any questions.
Thank you