Forming groups in Nagios

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
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Forming groups in Nagios

Post by yunushaikh »

Hello Experts,
I have one question for grouping of services.

I have 50 servers which I want to monitor. On every server there are 20-25 MySQL installed. I have 6 services to monitor for each MySQL instance (Replication. INNODB statistics and etc)
Challenge is If i configure 6 services for each MySQL instance on the same server. The services are getting flooded in a single host. It becomes very difficult for monitoring.

I need to group these services with Port number or with the instance name. If I want to monitor MySQL services for instance 1. I should click on instance 1 and then I should get the report of all the services on instance 1.
Any idea how can i group them. It will be more better if we can make group of groups.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Forming groups in Nagios

Post by Box293 »

Have you tried using service groups?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Forming groups in Nagios

Post by yunushaikh »

Can we make group of groups using service groups.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Forming groups in Nagios

Post by tmcdonald »

Service groups can contain other service groups, yes.
Former Nagios employee
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Forming groups in Nagios

Post by yunushaikh »

Ok I will check and let you know.

Can you help with any example to setup large number of services in groups. Can you suggest some ideas to setup so it can be looked up easily.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Forming groups in Nagios

Post by jolson »

My suggestion would be:
1 service group per MySQL instance - add all related MySQL services to that service group. This will allow you to run reports appropriately.

Are you more interested in reporting on the services going bad, or being clear with regards to looking at the web GUI? If you want the Web GUI to be more clear, it might be a matter of naming the services more appropriately.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Forming groups in Nagios

Post by yunushaikh »

Hello Sir,

I am still working to form groups. I will inform you once i am done with groups or if I need any help regarding that. Thanks a lot for your suggestion.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Forming groups in Nagios

Post by jolson »

yunushaikh,

Sounds good - let us know if you have any questions. Thanks!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Forming groups in Nagios

Post by yunushaikh »

Hello Sir,

Sorry for late reply.
I configured the groups. I have one question,

Suppose I configure 3 groups A, B and C

I want to list Group B and Group C in Group A. Now the problem is that When I click on Group A, it does not categorize the groups as group B and group C but it will show all the services of group B and group C.
I need it in such a way that When I click on group A it should show me group B and group C instead of the services in groupB and group C. Please suggest...
Also let me know if I created any confusion for you with this question. So i can get you the better view what I want.

Thanks a lot.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Forming groups in Nagios

Post by jdalrymple »

Your question is clear, unfortunately I don't know of any answer for you. The behavior you're seeing is simply how it works today and I don't think an overhaul of that behavior is on the roadmap.

You might want to try see if you can use BPI to achieve the type of visibility you seek:

https://assets.nagios.com/downloads/nag ... _Addon.pdf

You can always download the NagiosXI trial which has BPI built in to see if it will work for you before you go munging your production environment.
Locked