Display multiple queue status on nagios UI

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
sumit
Posts: 5
Joined: Thu Jun 27, 2013 4:07 am

Display multiple queue status on nagios UI

Post by sumit »

Hello everyone,
We are trying to monitor over 250 IBM MQ objects (queues and channels) using nagios .
The issue is we are required to display the status of each of them on nagios UI for support and monitoring purpose.
As of now the only possible way seems to define each MQ object as a service, but taht is an overhead, as there will be more than 300 services defined in service .cfg file.

If any one had any pointers or a better way to do this, please suggest.
sumit
Posts: 5
Joined: Thu Jun 27, 2013 4:07 am

Re: Display multiple queue status on nagios UI

Post by sumit »

In addition to it, we are also wondering how to setup links at the Nagios webUI.
i.e. defining 250 odd queues at service level would mean that all queue names would be displayed at the home screen. Would like to know if it is possible to navigate like this-
At home screen, have a name called Qmgr --> when selecting this, it will lead to a new page which will have 2 options, queues and channels --> selecting either will display all the queue names and channel names (as required) and will show their current status as per the output received from script.

To gave it a try, we created a script 'Qmgr' which was internally calling 2 other scripts 'queues' and 'channels'. it was just an arrow in the dark to see if the script call can anyway be taken as multiple links on Nagios. Though, as expected, it didn't.

We tried to search online about it but not much help. May I know if this is doable/possible? Would be great if you can please point to appropriate documents/links.

FYI, we have Nagios server installed on server A and we are monitoring queue manager on Server B hence using nagios.cfg at server A and nrpe.cfg at server B.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Display multiple queue status on nagios UI

Post by abrist »

sumit wrote:At home screen, have a name called Qmgr --> when selecting this, it will lead to a new page which will have 2 options, queues and channels --> selecting either will display all the queue names and channel names (as required) and will show their current status as per the output received from script
Nagios does not really have have mutiple layered nesting of checks. You could add them to two different servicegroups and use the servicegroup summaries to minimize screen space.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked