Page 3 of 4
Re: NagiosXI 5 upgrade issue (partial failed)
Posted: Sun Nov 15, 2015 9:38 pm
by absarcompass
Yup! that's what I am doing.
Re: NagiosXI 5 upgrade issue (partial failed)
Posted: Mon Nov 16, 2015 4:31 pm
by absarcompass
Hi Guys!
I assume there is an issue with the
Change Templates tab in bulk modification tool.
instead of changing the templates on all the hosts I tried changing the check command which is used in template on all the same hosts via bulk modification and it worked.
Now I am more curious about the issue

Re: NagiosXI 5 upgrade issue (partial failed)
Posted: Mon Nov 16, 2015 4:50 pm
by absarcompass
I checked the host's cfg files after using 'Change Templates' via bulk modification but cfg file was written with no changes though it says on web that
"Configuration file: xxxxx.cfg successfully written!
Host configuration files successfully written!"
Re: NagiosXI 5 upgrade issue (partial failed)
Posted: Mon Nov 16, 2015 6:39 pm
by Box293
I want to confirm your XI version, what is the output of:
Code: Select all
cat /usr/local/nagiosxi/var/xiversion
Re: NagiosXI 5 upgrade issue (partial failed)
Posted: Mon Nov 16, 2015 7:02 pm
by absarcompass
Here it is
nagiosxi ~]$ cat /usr/local/nagiosxi/var/xiversion
###################################
# DO NOT DELETE THIS FILE!
# Nagios XI version information
###################################
full=5.2.2
major=5
minor=2.2
releasedate=2015-11-12
release=513
Re: NagiosXI 5 upgrade issue (partial failed)
Posted: Mon Nov 16, 2015 7:12 pm
by Box293
Do you have paid support? I think we should take this into a support ticket so we can help you through a remote session.
Re: NagiosXI 5 upgrade issue (partial failed)
Posted: Mon Nov 16, 2015 7:26 pm
by absarcompass
Nops! I tried emailing on support email and it came back unanswered.
That is why I am wandering here.
But if it is working for you then it shouldn't be of any change at my same version?
I can provide any log or audit trail if required.
shall i try doing that on new bunch of hosts? like creating few test hosts just to check bulk modification of change templates?
Re: NagiosXI 5 upgrade issue (partial failed)
Posted: Mon Nov 16, 2015 10:38 pm
by Box293
absarcompass wrote:shall i try doing that on new bunch of hosts? like creating few test hosts just to check bulk modification of change templates?
Yes, please. Thats what I tried and it all worked as expected.
Re: NagiosXI 5 upgrade issue (partial failed)
Posted: Mon Nov 16, 2015 11:37 pm
by absarcompass
So what I get out of my experience is as follows:
I added new hosts without copying it from any of the present host.
didn't select check command of check host alive
didn't add a template
tried bulk modification for template and it didn't work.
deleted those hosts added fresh new hosts again
didn't select check command (leave it to blank)
Added template
tried bulk modification for template and it WORKED.
So its a Change in Template which, in its literal meaning, work only if there is ALREADY a template assigned to host. It wont add a template to the hosts which previously are not assigned with any template?
Re: NagiosXI 5 upgrade issue (partial failed)
Posted: Tue Nov 17, 2015 12:21 am
by Box293
absarcompass wrote:So its a Change in Template which, in its literal meaning, work only if there is ALREADY a template assigned to host. It wont add a template to the hosts which previously are not assigned with any template?
Excellent, you've found the bug. I've generated the bug report: TASK ID 7016.
absarcompass wrote:So its a Change in Template which, in its literal meaning
Very literal, however when you are at step 2 it says:
"Change the templates used for hosts/services. Creates or
updates the "use x,x,x" line in the host/service config definition. Templates are applied in order."