Dear Friends
im want to change the time of service checks????
the service load the cpu at 100%, I want to create another service and put in different time. how can I do?
Thanks
Almir
How im can change Service Periods ??
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: How im can change Service Periods ??
https://assets.nagios.com/downloads/nag ... tions.html
max_check_attempts #
check_interval #
retry_interval #
max_check_attempts #
check_interval #
retry_interval #
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How im can change Service Periods ??
Ok but im need to change in hosts ? or services?
Because the fields are blank ! and the the 3rd option are marked
see my image (the text´s are in portuguese)

Thanks
Almir
Because the fields are blank ! and the the 3rd option are marked
see my image (the text´s are in portuguese)

Thanks
Almir
Box293 wrote:https://assets.nagios.com/downloads/nag ... tions.html
max_check_attempts #
check_interval #
retry_interval #
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: How im can change Service Periods ??
Both, as they are separate objects.almirf wrote:Ok but im need to change in hosts ? or services?
If the fields are blank, then the settings will be defined in a template that the host or service is using. Hence the combination of the template and host or service object create the "final object" and they will meet the requirements of the Nagios verification process.almirf wrote:Because the fields are blank ! and the the 3rd option are marked
If you change it in the template, all host or service objects will be updated.
Otherwise you need to change it on all the individual host or service objects.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How im can change Service Periods ??
im can check only on services?
Whats is the option on service to set the time checks?
Thanks
Almir
Whats is the option on service to set the time checks?
Thanks
Almir
Box293 wrote:Both, as they are separate objects.almirf wrote:Ok but im need to change in hosts ? or services?
If the fields are blank, then the settings will be defined in a template that the host or service is using. Hence the combination of the template and host or service object create the "final object" and they will meet the requirements of the Nagios verification process.almirf wrote:Because the fields are blank ! and the the 3rd option are marked
If you change it in the template, all host or service objects will be updated.
Otherwise you need to change it on all the individual host or service objects.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: How im can change Service Periods ??
Host objects and service objects are two separate items. If you only need to change service objects then edit the service objects.almirf wrote:im can check only on services?
Can you explain in more detail exactly what your need to change.almirf wrote:Whats is the option on service to set the time checks?
The information I have previously given you explains how to change the check interval (how often it checks in an OK state), retry interval (how often it checks in a NON-OK state) and max check attempts (how many times to check in a NON-OK state).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How im can change Service Periods ??
Can you explain in more detail exactly what your need to change.almirf wrote:Whats is the option on service to set the time checks?
The information I have previously given you explains how to change the check interval (how often it checks in an OK state), retry interval (how often it checks in a NON-OK state) and max check attempts (how many times to check in a NON-OK state).[/quote]
=================================================================================
Sure,
I want to set the frequency in minutes that the service will work.
im need to decrease the consumption of the CPU , then I want to split the service into two different services and assign the new service to half of existing hosts.
understood ? Help me
Thanks
Almir
Re: How im can change Service Periods ??
I'm having a hard time understanding what you're asking, but based on this part -
Take a look at this link - https://assets.nagios.com/downloads/nag ... riods.html
If this isn't what you're looking for, please try to clarify what you can. Screenshots might help as well.
I want to set the frequency in minutes that the service will work.
Take a look at this link - https://assets.nagios.com/downloads/nag ... riods.html
If this isn't what you're looking for, please try to clarify what you can. Screenshots might help as well.
Former Nagios Employee
Re: How im can change Service Periods ??
Dear Friend
Im configure my file, but all of hosts configure to check in same time
See :
define service {
#NAGIOSQL_CONFIG_NAME servidor_esxi_hardware_2593
hostgroup_name servidor-esxi-HP-2593
service_description hwEsxiHardware
display_name Servidor Hospedeiro HP - estado de hardware
use servico-generico
check_command check_esxi_hardware_2593!-p!-t 120!-i "IPMI SEL,Memory"
check_interval 6
register 1
}
What is wrong?
Thanks
Almir
Im configure my file, but all of hosts configure to check in same time
See :
define service {
#NAGIOSQL_CONFIG_NAME servidor_esxi_hardware_2593
hostgroup_name servidor-esxi-HP-2593
service_description hwEsxiHardware
display_name Servidor Hospedeiro HP - estado de hardware
use servico-generico
check_command check_esxi_hardware_2593!-p!-t 120!-i "IPMI SEL,Memory"
check_interval 6
register 1
}
What is wrong?
Thanks
Almir
rkennedy wrote:I'm having a hard time understanding what you're asking, but based on this part -I want to set the frequency in minutes that the service will work.
Take a look at this link - https://assets.nagios.com/downloads/nag ... riods.html
If this isn't what you're looking for, please try to clarify what you can. Screenshots might help as well.
Re: How im can change Service Periods ??
Take a look at this template you posted in your example, (servico-generico) that will have the values for the check interval, etc that are set to that service.
If you want certain host / service to check at different intervals, etc you would add those options to the host / service check and that will over ride the settings from the template.
My question to you is are all of your host / service checks running at the same time and you do not want that to happen?
What version of Nagios are you running and can you post your nagios.cfg file?
If you want certain host / service to check at different intervals, etc you would add those options to the host / service check and that will over ride the settings from the template.
My question to you is are all of your host / service checks running at the same time and you do not want that to happen?
What version of Nagios are you running and can you post your nagios.cfg file?
Be sure to check out our Knowledgebase for helpful articles and solutions!