Event Acknowledgement in Nagios Core
Event Acknowledgement in Nagios Core
Hi,
I have to configure event acknowledgement in Nagios Core but it doesn't work and i have go through below link:-
https://support.nagios.com/forum/viewto ... 18&t=44056 but still now working?? Can anyone help me to solve this.
Thanks and Regards,
Akshay Kaushik
I have to configure event acknowledgement in Nagios Core but it doesn't work and i have go through below link:-
https://support.nagios.com/forum/viewto ... 18&t=44056 but still now working?? Can anyone help me to solve this.
Thanks and Regards,
Akshay Kaushik
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Event Acknowledgement in Nagios Core
Can you show the output of the following
Code: Select all
grep ret /usr/local/nagios/etc/nagios.cfg
Re: Event Acknowledgement in Nagios Core
Sure. Below is the output:-
[root@in2noisrnms4 objects]# grep ret /usr/local/nagios/etc/nagios.cfg
# If you don't want service check retries to be logged, set this value
# to 0. If retries should be logged, set the value to 1.
log_service_retries=1
# If you don't want host check retries to be logged, set this value to
# 0. If retries should be logged, set the value to 1.
log_host_retries=1
# returning control back to Nagios so it can perform other
retain_state_information=0
# This file is used only if the retain_state_information
state_retention_file=/usr/local/nagios/var/retention.dat
# will automatically save retention data during normal operation.
# If you set this value to 0, Nagios will not save retention
# data at regular interval, but it will still save retention
# state retention, this option has no effect.
retention_update_interval=60
# retention file. If you want to use retained program status
use_retained_program_state=1
# This setting determines whether or not Nagios will retain
# based on the values saved in the retention file. If you
# If you want to use retained scheduling info, set this
use_retained_scheduling_info=1
# service attributes that should *not* be retained by Nagios during
# of flap detection and event handlers for hosts to be retained, you
# This mask determines what host attributes are not retained
retained_host_attribute_mask=0
# This mask determines what service attributes are not retained
retained_service_attribute_mask=0
# These two masks determine what process attributes are not retained.
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
# These two masks determine what contact attributes are not retained.
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
# data returned from service and host checks. If this option is
# characters (\t for tab, \r for carriage return, \n for newline)
[root@in2noisrnms4 objects]# grep ret /usr/local/nagios/etc/nagios.cfg
# If you don't want service check retries to be logged, set this value
# to 0. If retries should be logged, set the value to 1.
log_service_retries=1
# If you don't want host check retries to be logged, set this value to
# 0. If retries should be logged, set the value to 1.
log_host_retries=1
# returning control back to Nagios so it can perform other
retain_state_information=0
# This file is used only if the retain_state_information
state_retention_file=/usr/local/nagios/var/retention.dat
# will automatically save retention data during normal operation.
# If you set this value to 0, Nagios will not save retention
# data at regular interval, but it will still save retention
# state retention, this option has no effect.
retention_update_interval=60
# retention file. If you want to use retained program status
use_retained_program_state=1
# This setting determines whether or not Nagios will retain
# based on the values saved in the retention file. If you
# If you want to use retained scheduling info, set this
use_retained_scheduling_info=1
# service attributes that should *not* be retained by Nagios during
# of flap detection and event handlers for hosts to be retained, you
# This mask determines what host attributes are not retained
retained_host_attribute_mask=0
# This mask determines what service attributes are not retained
retained_service_attribute_mask=0
# These two masks determine what process attributes are not retained.
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
# These two masks determine what contact attributes are not retained.
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
# data returned from service and host checks. If this option is
# characters (\t for tab, \r for carriage return, \n for newline)
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Event Acknowledgement in Nagios Core
you need to update the file and change this
to this
then restart nagios
Code: Select all
retain_state_information=0
Code: Select all
retain_state_information=1
Re: Event Acknowledgement in Nagios Core
Hi,
I have do this but not success. Please find the attached scrrenshot.
Thanks and Regards,
Akshay Kaushik
I have do this but not success. Please find the attached scrrenshot.
Thanks and Regards,
Akshay Kaushik
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Event Acknowledgement in Nagios Core
I don't understand, you will not see the ability to acknowledge a host if it is in an UP state.
Re: Event Acknowledgement in Nagios Core
Hi,
Issue is solved now when host is down problem is acknowledged. Can you tell me where event acknowledge notification is stored.
Thanks and Regards,
Akshay Kaushik
Issue is solved now when host is down problem is acknowledged. Can you tell me where event acknowledge notification is stored.
Thanks and Regards,
Akshay Kaushik
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Event Acknowledgement in Nagios Core
The status.dat file entry for the host/service.Akshay18 wrote:Hi,
Issue is solved now when host is down problem is acknowledged. Can you tell me where event acknowledge notification is stored.
Thanks and Regards,
Akshay Kaushik
Re: Event Acknowledgement in Nagios Core
thanks. Got it..
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Event Acknowledgement in Nagios Core
Locking threadAkshay18 wrote:thanks. Got it..