Page 1 of 1

Forming groups in Nagios

Posted: Fri Jul 10, 2015 4:03 pm
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.

Re: Forming groups in Nagios

Posted: Sun Jul 12, 2015 8:04 pm
by Box293
Have you tried using service groups?

Re: Forming groups in Nagios

Posted: Mon Jul 13, 2015 7:48 am
by yunushaikh
Can we make group of groups using service groups.

Re: Forming groups in Nagios

Posted: Mon Jul 13, 2015 9:03 am
by tmcdonald
Service groups can contain other service groups, yes.

Re: Forming groups in Nagios

Posted: Mon Jul 13, 2015 9:36 am
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.

Re: Forming groups in Nagios

Posted: Mon Jul 13, 2015 11:13 am
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.

Re: Forming groups in Nagios

Posted: Wed Jul 15, 2015 11:17 am
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.

Re: Forming groups in Nagios

Posted: Wed Jul 15, 2015 12:19 pm
by jolson
yunushaikh,

Sounds good - let us know if you have any questions. Thanks!

Re: Forming groups in Nagios

Posted: Mon Aug 24, 2015 5:04 am
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.

Re: Forming groups in Nagios

Posted: Mon Aug 24, 2015 10:16 am
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.