Page 2 of 2

Re: Notes are not saved for a few services

Posted: Tue Jan 23, 2018 2:46 pm
by vmesquita
Now I see version 1.1 and the notes are not being saved in the other object anymore, but still they are not saved, disappering after I click on the Save Changes buttom

Re: Notes are not saved for a few services

Posted: Tue Jan 23, 2018 3:31 pm
by lmiltchev
Can you show us the service config of one of the "failing" services, along with the config of the host it's attached to? We will try to recreate the issue in house.

Re: Notes are not saved for a few services

Posted: Wed Jan 24, 2018 9:20 am
by vmesquita
Sure. Should I post screenshots or some specific config file?

Re: Notes are not saved for a few services

Posted: Wed Jan 24, 2018 11:11 am
by lmiltchev
Go to the CCM > Services, find the "problem" service, click on "View config" (the diskette icon) on the right, copy, and paste the config to the forum. Do the same with the host, that this service is added to (CCM > Hosts > View config).

Also, show us screenshots of the Host/Service Status Detail page (Notes tab) with your note typed in, prior to clicking on "Save Changes", and after it.

Run the following command and show the output in code wraps:

Code: Select all

tail -100 /var/log/httpd/error_log

Re: Notes are not saved for a few services

Posted: Wed Jan 24, 2018 12:33 pm
by vmesquita
Service config:

Code: Select all

###############################################################################
#
# Service configuration file
#
# Created by: Nagios Core Config Manager 2.6.10
# Date:	      2018-01-24 15:22:10
# Version:    Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND --- 
# Nagios CCM will overwrite all manual settings during the next update if you 
# would like to edit files manually, place them in the 'static' directory or 
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_AdmSelicGravaLogAuditoriaDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_AdmSelicGravaLogAuditoriaDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_CadastroConsultaDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_CadastroConsultaDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_ConsoleGravaLogAuditoriaDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_ConsoleGravaLogAuditoriaDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_DmsiiSelicDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_DmsiiSelicDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_DmsiiSuporDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_DmsiiSuporDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_EdtGravaLogAuditoriaDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_EdtGravaLogAuditoriaDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_LeinfConsultaLogAuditoriaDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_LeinfConsultaLogAuditoriaDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_LeinfDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_LeinfDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_LeinfGravaLogAuditoriaDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_LeinfGravaLogAuditoriaDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_LogonAuthDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_LogonAuthDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_MensagemOperadorConsoleDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_MensagemOperadorConsoleDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_OfpubDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_OfpubDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_OfpubGravaLogAuditoriaDS
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		datasource_OfpubGravaLogAuditoriaDS_MaxInUse
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		heap
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		metaspace
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		status
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

define service {
	host_name			HC-I02-HML_I-leinf-hml
	service_description		thread
	use				xiwizard_passive_service
	check_command			check_dummy!0!"nao verificado"!!!!!!
	max_check_attempts		1
	check_interval			1
	retry_interval			1
	check_period			xi_timeperiod_24x7
	check_freshness			0
	freshness_threshold		3600
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	stalking_options		n
	_xiwizard			passiveobject
	register			1
	}	

###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
Host

Code: Select all

###############################################################################
#
# Host configuration file
#
# Created by: Nagios Core Config Manager 2.6.10
# Date:	      2018-01-24 15:24:59
# Version:    Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND --- 
# Nagios CCM will overwrite all manual settings during the next update if you 
# would like to edit files manually, place them in the 'static' directory or 
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################

define host {
	host_name			HC-I02-HML_I-leinf-hml
	use				xiwizard_passive_host
	address				HC-I02-HML_I-leinf-hml
	parents				sa511.{edited},sa512.{edited},sa513.{edited},sa514.{edited},sa515.{edited},sb511.{edited},sb512.{edited},sb513.{edited},sb514.{edited},sb515.{edited}
	hostgroups			SA-HML
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	contact_groups			Equipe-SA,SUCON
	notification_interval		720
	notification_period		xi_timeperiod_24x7
	stalking_options		n
	icon_image			passiveobject.png
	statusmap_image			passiveobject.png
	_xiwizard			passiveobject
	register			1
	}	

###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
Before:
tela1.png
After:
tela2.png
The tail command result is attached,

Re: Notes are not saved for a few services

Posted: Wed Jan 24, 2018 2:35 pm
by dwhitfield
Can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh

That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.

If you get an error that PROFILE BUILD FAILED, please see https://support.nagios.com/kb/article.p ... ategory=44

UPDATE: Profile received and shared with techs

Re: Notes are not saved for a few services

Posted: Wed Jan 24, 2018 3:47 pm
by vmesquita
I PMed you the profile.

Re: Notes are not saved for a few services

Posted: Thu Jan 25, 2018 12:33 pm
by dwhitfield
Now may be a good time to open a ticket at https://support.nagios.com/tickets/ to try to expedite things. Please make sure you reference this forum thread.