Hello,
i'm evaluating NagiosXI 5.2.9 and after many attempt and manuals reading still don't understand best practices to achieve our goals;
We plan to monitor around 1000 hosts.
If i use the wizard i notice that the service are added to the CCM using the name of the server as configuration name so i can directly modify single check parameter for every service in every host. I think we have to achive this result because i don't find any other way to make future modifications to single service parameters applied for every host.
Now i want to customize my nagios and my services using CCM so i created 5 base aix services that have the config name equal to the description and the display name.
i created an host group, i created some hosts assigned to the host group and i assigned the 5 services to the host group.
I can see the new services applied to every host in the host group under the nagiosXi GUI, but i don't find them under the CCM, as appened using the wizard, so tried to assign the services to a "service template" and assigned the service template to the host group. I achieved again the visualization under NAGIOS GUI, but dont' find any created service for single host under CCM
if i instead use the bulk modification tool and i assign a service to a host or a hostgroup and apply configuration, i can see the five service created under CCM for every host present in the host group.
the questions:
1) how to make appear services definition under CCM for every single host?is that a mandatory step for achieving single hosts' service modification?;
2) can i uses services template for grouping services to assign to hosts or hostgroups or is better to assign them directly to hostgroups? is the best practice?
3) can i host templates for grouping services to assign to hosts or hostgroups?
thank you in advance
Nagios services implementation
Re: Nagios services implementation
If you are assigning a single service to a hostgroup, you will not have multiple services appear for each host in that group. It will remain as a single service.davide.pjb wrote:1) how to make appear services definition under CCM for every single host?is that a mandatory step for achieving single hosts' service modification?;
In my opinion it is better to assign them directly to hostgroups. When you define a hostgroup in a service template, you are not saying "Apply these settings to all services in this hostgroup", you are saying "If any service uses this template, then assign it to this hostgroup".davide.pjb wrote:2) can i uses services template for grouping services to assign to hosts or hostgroups or is better to assign them directly to hostgroups? is the best practice?
I am not sure what you mean by this. If you are asking whether you can use a host template to assign a service to a host/hostgroup, then the answer is no. Host templates only modify hosts.davide.pjb wrote:3) can i host templates for grouping services to assign to hosts or hostgroups?
Former Nagios employee
-
davide.pjb
- Posts: 2
- Joined: Thu Feb 12, 2015 5:24 am
Re: Nagios services implementation
Thank you for your reply, but i stil don't understand how to make automatically appear services in CCM for "services group" usage and for single hosts'service modification;
i use this way of implementing in CCM:
1) I create a host and i put it in a host group:
2)i assign host templates to the host
3) i create a service;
4) i assign service templates to this service;
5) i assign the service to the hostgroup where the host i want to receive this service resides;
6) apply modifications.
everything is fast and smart and i see the results under the nagiosxi GUI as i want
but no way to see this service created under CCM with the config name of hosts present in the host group. The strange thing is that under the BPI tool if i try to create a new BPI group i can see these service that i can include in BPI group.
I remeber i hadn't this problem two year ago when i tryed to use a previos version where the bulk modification tools was not present so i think automatic service creations for hosts was done after applying modifications.
where im doing it wrong?
could be a permission problem or a bug that prevent the service writing/creation under CCM?
are you telling me that we need a further services adding step with the bulk modification tool after the use of the CCM?
thank you in advance!
i use this way of implementing in CCM:
1) I create a host and i put it in a host group:
2)i assign host templates to the host
3) i create a service;
4) i assign service templates to this service;
5) i assign the service to the hostgroup where the host i want to receive this service resides;
6) apply modifications.
everything is fast and smart and i see the results under the nagiosxi GUI as i want
but no way to see this service created under CCM with the config name of hosts present in the host group. The strange thing is that under the BPI tool if i try to create a new BPI group i can see these service that i can include in BPI group.
I remeber i hadn't this problem two year ago when i tryed to use a previos version where the bulk modification tools was not present so i think automatic service creations for hosts was done after applying modifications.
where im doing it wrong?
could be a permission problem or a bug that prevent the service writing/creation under CCM?
are you telling me that we need a further services adding step with the bulk modification tool after the use of the CCM?
thank you in advance!
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Nagios services implementation
Since you are just evaluating at this point, I would definitely suggest evaluating 5.3.0 rather than 5.2.9. As you can see from https://assets.nagios.com/downloads/nag ... NGES-5.TXT, there are many improvements.davide.pjb wrote:Hello,
i'm evaluating NagiosXI 5.2.9