NagiosXI 5 upgrade issue (partial failed)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
absarcompass
Posts: 182
Joined: Thu May 14, 2015 9:57 pm

Re: NagiosXI 5 upgrade issue (partial failed)

Post by absarcompass »

Yup! that's what I am doing.
absarcompass
Posts: 182
Joined: Thu May 14, 2015 9:57 pm

Re: NagiosXI 5 upgrade issue (partial failed)

Post 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 :o
You do not have the required permissions to view the files attached to this post.
absarcompass
Posts: 182
Joined: Thu May 14, 2015 9:57 pm

Re: NagiosXI 5 upgrade issue (partial failed)

Post 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!"
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: NagiosXI 5 upgrade issue (partial failed)

Post by Box293 »

I want to confirm your XI version, what is the output of:

Code: Select all

cat /usr/local/nagiosxi/var/xiversion
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
absarcompass
Posts: 182
Joined: Thu May 14, 2015 9:57 pm

Re: NagiosXI 5 upgrade issue (partial failed)

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: NagiosXI 5 upgrade issue (partial failed)

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
absarcompass
Posts: 182
Joined: Thu May 14, 2015 9:57 pm

Re: NagiosXI 5 upgrade issue (partial failed)

Post 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?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: NagiosXI 5 upgrade issue (partial failed)

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
absarcompass
Posts: 182
Joined: Thu May 14, 2015 9:57 pm

Re: NagiosXI 5 upgrade issue (partial failed)

Post 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?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: NagiosXI 5 upgrade issue (partial failed)

Post 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."
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked