Event Acknowledgement in Nagios Core

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Event Acknowledgement in Nagios Core

Postby Akshay18 » Wed Oct 10, 2018 7:09 am

Hi,

I have to configure event acknowledgement in Nagios Core but it doesn't work and i have go through below link:-

viewtopic.php?f=18&t=44056 but still now working?? Can anyone help me to solve this.

Thanks and Regards,
Akshay Kaushik
Akshay18
 
Posts: 3
Joined: Wed Oct 10, 2018 1:14 am

Re: Event Acknowledgement in Nagios Core

Postby scottwilkerson » Wed Oct 10, 2018 7:12 am

Can you show the output of the following
Code: Select all
grep ret /usr/local/nagios/etc/nagios.cfg
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12020
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Event Acknowledgement in Nagios Core

Postby Akshay18 » Wed Oct 10, 2018 7:27 am

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)
Akshay18
 
Posts: 3
Joined: Wed Oct 10, 2018 1:14 am

Re: Event Acknowledgement in Nagios Core

Postby scottwilkerson » Wed Oct 10, 2018 7:53 am

you need to update the file and change this
Code: Select all
retain_state_information=0


to this
Code: Select all
retain_state_information=1


then restart nagios
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12020
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Event Acknowledgement in Nagios Core

Postby Akshay18 » Thu Oct 11, 2018 3:13 am

Hi,

I have do this but not success. Please find the attached scrrenshot.

Thanks and Regards,
Akshay Kaushik
Attachments
NagiosEventAckowledge.PNG
Akshay18
 
Posts: 3
Joined: Wed Oct 10, 2018 1:14 am

Re: Event Acknowledgement in Nagios Core

Postby scottwilkerson » Thu Oct 11, 2018 7:05 am

I don't understand, you will not see the ability to acknowledge a host if it is in an UP state.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12020
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 12 guests