Object Paramaters, no change made after apply config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
DonB
Posts: 39
Joined: Mon Mar 11, 2013 3:26 pm

Object Paramaters, no change made after apply config

Post by DonB »

I'm running Nagios XI 2012R2.2

Setting up a service template and ran into a couple of issues. I first created the template by making a copy of the nagios-generic-service, which has parallelize_check = 1 and obess_over_service = 1. I changed the setting in NagiosXI web console and selected Check Settings > Obsess over host = off. After I apply configuration and had no errors. The setting in the config file doesn't change, it still set to 1. If I manually change the setting in the config file, as expected, it overrights my setting back to 1 after the next apply configuration. The web console doesn't show the correct setting for obess_over_service, as well. it leaves all 4 bullits stay clear (on, off, skip, null), even though the "on" bullit should be blue based on the config file.

For the parallelize_check, I am not able to find the setting to make achange using the NagiosXI web console.

My next try was to create a new service template (Add New). A brand new template doesn't have either paramater and since I can't find the parallelize option in the GUI, I can't add it and even though I have the ability to modify obess_over_service. I make a change in the GUI, but the parameter never shows up under the configuration settings. Same issues as above.

For host templates, obess_over_host, it worked as expected. I am able to make changes through the GUI.

I didn't see the parallelize_check parameter for hosts objects, in the Object Definitions document. But then again the "use" paramater isn't listed under host defnitions and the parllelize_check isn't listed under the service definitions, as well. So I wasn't certain if is available for hosts and if so, how to manage that paramater through the web console.
http://nagios.sourceforge.net/docs/3_0/ ... ml#service

Copy of service template created from nagios-agent-service, unable to make changes to obsess and parallelize

Code: Select all

define service {
       name                          		st_check_05_alert_60_min
       service_description           		Check every 05 mins - Alert every 60 mins
       is_volatile                   		0
       initial_state                 		u
       max_check_attempts            	1
       check_interval                		5
       retry_interval                		5
       active_checks_enabled         	1
       passive_checks_enabled        	1
       check_period                  		24x7
       parallelize_check             		1
       obsess_over_service           		1
       check_freshness               		1
       freshness_threshold           		0
       event_handler_enabled         	0
       flap_detection_enabled        	1
       flap_detection_options        	o,w,c,u,
       process_perf_data             		1
       retain_status_information     	1
       retain_nonstatus_information  	1
       notification_interval         		60
       first_notification_delay      		0
       register                    		0
}
New service template, unable to add obsess and parallelize through the web console.

Code: Select all

define service {
       name                          		st_check_60_alert_1440_mins
       service_description           		Check every 60 mins - Alert every 1440 mins
       is_volatile                   		0
       max_check_attempts            	1
       check_interval                		60
       retry_interval                		60
       active_checks_enabled         	1
       passive_checks_enabled        	1
       check_period                  		24x7
       check_freshness               		1
       freshness_threshold           		0
       event_handler_enabled         	0
       flap_detection_enabled        	1
       flap_detection_options        	o,w,c,u,
       process_perf_data             		1
       retain_status_information     	1
       retain_nonstatus_information  	1
       notification_interval         		1440
       first_notification_delay      		0
       register                    		0
}
Thank you,
Don
Last edited by DonB on Thu Oct 10, 2013 4:09 pm, edited 2 times in total.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Object Paramaters, no change made after apply config

Post by abrist »

First of all, parallelize is no longer supported:
The parallelize directive in service definitions is now deprecated and no longer used. All service checks are run in parallel in Nagios 3.
http://nagios.sourceforge.net/docs/3_0/whatsnew.html

Are you checking the template itself, or the objects using the template?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
DonB
Posts: 39
Joined: Mon Mar 11, 2013 3:26 pm

Re: Object Paramaters, no change made after apply config

Post by DonB »

Thank you for the quick response and the update on parallelize_check.

I think I see the issue, the paramater for services is obess over service. The parameter in the GUI, even under Service Templates and Services' Check Settings, is setting Obess over host. I don't see the Obess over service in the GUI, Is it no longer being used by services, as well? If so, is it ok to leave the setting in the template or should I create a new one that doesn't have it?

I am able to make changes to obess over host in ccm > host templates > check settings & ccm > hosts > check settings. It worked perfectly.

Thx,
Don
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Object Paramaters, no change made after apply config

Post by abrist »

There is a bug in the ccm. Once the testers approve my fix, it will get rolled into the next update. If you want to be daring, I attached the fixed ccm.zip. Go to --> Admin --> Manage components --> browse --> select ccm.zip --> upload. Should be working now. Let me know if I broke something . . .
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
DonB
Posts: 39
Joined: Mon Mar 11, 2013 3:26 pm

Re: Object Paramaters, no change made after apply config

Post by DonB »

Before I applied the patch, I went ahead and upgraded to 2012R2.4 on our test server and it appears to have broken the "Save" button for ccm > hosts, services, contacts, groups, time periods, templates etc.... When I click on the button, nothing happens. The Abort button is working... I'm unable to save any configuration.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Object Paramaters, no change made after apply config

Post by lmiltchev »

This is a bug in 2012R2.4, which will be fixed in 2012R2.5 release.
Be sure to check out our Knowledgebase for helpful articles and solutions!
DonB
Posts: 39
Joined: Mon Mar 11, 2013 3:26 pm

Re: Object Paramaters, no change made after apply config

Post by DonB »

Thank you for the quick response! Will the next upgrade be coming out soon or should I restore to the previsious version?

Thank you,
Don
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Object Paramaters, no change made after apply config

Post by lmiltchev »

R2.5 should be out within days (less than a week).
Be sure to check out our Knowledgebase for helpful articles and solutions!
DonB
Posts: 39
Joined: Mon Mar 11, 2013 3:26 pm

Re: Object Paramaters, no change made after apply config

Post by DonB »

Ok and thank you for the update. Will the "Obsess over server" be fixed in this upgrade? I did revert back to my snapshot and I apply the patch ccm.zip and I had the same bug with the Start button.

Thank you for helping,
Don
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Object Paramaters, no change made after apply config

Post by sreinhardt »

Yes this is a planned patch as well, afaik. For the moment, I would suggest using a browser other than IE if possible. It seems that they do not have the same issue. Again though we already are testing and preparing for a new release so it shouldn't be too long :D
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked