Duration resets for all Services with Apply Config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Re: Duration resets for all Services with Apply Config

Post by SavaSC »

Here you go.

Code: Select all

###############################################################################

define service {
       name                          		Sava Service Settings
       service_description           		Standard Settings for all services
       display_name                  		Standard template
       max_check_attempts            		5
       check_interval                		5
       retry_interval                		1
       active_checks_enabled         		1
       passive_checks_enabled        		0
       check_period                  		24x7
       obsess_over_service           		0
       check_freshness               		0
       flap_detection_enabled        		0
       process_perf_data             		0
       retain_status_information     		0
       retain_nonstatus_information  		0
       notification_interval         		60
       first_notification_delay      		0
       notification_period           		24x7
       notification_options          		c,u,r,
       notifications_enabled         		1
       contact_groups                		+Oncall
       register                    		0

}	

###############################################################################
#
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Duration resets for all Services with Apply Config

Post by ssax »

Looks like retaining status information is set to 0:

Code: Select all

      retain_status_information           0
      retain_nonstatus_information        0
Enable them in the Sava Service Settings configuration under the check settings tab.
SavaSC
Posts: 238
Joined: Wed Feb 23, 2011 4:49 pm

Re: Duration resets for all Services with Apply Config

Post by SavaSC »

ssax wrote:Looks like retaining status information is set to 0:

Code: Select all

      retain_status_information           0
      retain_nonstatus_information        0
Enable them in the Sava Service Settings configuration under the check settings tab.
Son of a....

Well, I totally misunderstood how those worked. I have applied this change to my service template and to my host templates. Everything is now retaining the data.

Thank you very much for staying with me to help me out.
Locked