Notes are not saved for a few services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Notes are not saved for a few services

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Notes are not saved for a few services

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Notes are not saved for a few services

Post by vmesquita »

Sure. Should I post screenshots or some specific config file?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Notes are not saved for a few services

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Notes are not saved for a few services

Post 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,
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Notes are not saved for a few services

Post 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
Last edited by dwhitfield on Wed Jan 24, 2018 4:12 pm, edited 1 time in total.
Reason: pm received
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Notes are not saved for a few services

Post by vmesquita »

I PMed you the profile.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Notes are not saved for a few services

Post 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.
Locked