[ixpmanager] Nagios Configuration Troubles After 4x > 6x Upgrade

Nick Hilliard (INEX) nick at inex.ie
Sun Jun 19 10:51:09 IST 2022


Kyle Spencer via ixpmanager wrote on 14/06/2022 23:09:
> Did we miss something obvious? Does anyone have a clue where we might
> pull the relevant template configurations from?

This should be defined separately in a template config file, which 
specifies how you want the services to behave.  I've included a sample 
config file on this email, which includes this and a couple of other 
definitions that may be used in the configuration.

Nick

-------------- next part --------------
define contactgroup {
	contactgroup_name	ixp-operations
	alias			IXP Operations
	members			kyle,someoneelse
}

define host {
	name			ixp-manager-production-switch
	check_command		check-host-alive
	max_check_attempts	3			; number of not 'UP' checks to register as hard
	check_interval		5			; time between checks
	retry_interval		1			; time between checks if host is not 'UP'
	check_period		24x7
	notification_interval	60
	notification_period	24x7
	notification_options	u,d,r
	contact_groups		ixp-operations
	register		0
}

define service {
	name 			ixp-production-switch-service	; The 'name' of this service template, referenced in other service definitions
	active_checks_enabled	1			; Active service checks are enabled
	passive_checks_enabled	1			; Passive service checks are enabled/accepted
	parallelize_check	1			; Active service checks should be parallelized (disabling this can lead to major performance problems)
	obsess_over_service	1			; We should obsess over this service (if necessary)
	check_freshness		0			; Default is to NOT check service 'freshness'
	notifications_enabled	1			; Service notifications are enabled
	event_handler_enabled	0			; Service event handler is enabled
	flap_detection_enabled	1			; Flap detection is enabled
	process_perf_data	1			; Process performance data
	retain_status_information	1		; Retain status information across program restarts
	retain_nonstatus_information	1		; Retain non-status information across program restarts
	contact_groups		ixp-operations
	max_check_attempts	3
	normal_check_interval	5
	retry_check_interval	1
	check_period		24x7
	notification_interval	60
	notification_period	24x7
	notification_options	w,u,c,r
	low_flap_threshold	0
	high_flap_threshold	0
	is_volatile		0
	register		0			; DON'T REGISTER THIS DEFINITION - IT'S NOT A REAL SERVICE, JUST A TEMPLATE!
}

define host {
	name			ixp-manager-member-host
	check_command		check-host-alive
	check_period		24x7
	max_check_attempts	10
	notification_interval   120
	notification_period	 24x7
	notification_options	d,u,r
	contact_groups		ixp-operations
	register		0
}

define service {
	name			ixp-manager-member-service
	check_period		24x7
	max_check_attempts	10
	check_interval		5
	retry_check_interval	1
	contact_groups		ixp-operations
	notification_interval   120
	notification_period	24x7
	notification_options	w,u,c,r
	register		0
}


More information about the ixpmanager mailing list