XI Object Notes Part 2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

XI Object Notes Part 2

Post by blariv »

sorry I should not have closed this.

I should have clarified I have already imported everything from my original installation using the core method, however the object notes that are stored in the db obviously didn't come over since i did not restore it.

how can I get that information over, the doc says that I cannot restore from an old nagiosxi version to the new one.


Re: XI Object Notes
Postby avandemore » Wed Mar 22, 2017 3:40 pm

It will come across with a standard backup/restore migration or even a migrate from core approach:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios_XI.pdf

Re: XI Object Notes
Postby avandemore » Wed Mar 22, 2017 4:04 pm

I recommend using the core migration method in that case. One of the main reasons for this is that postgresql is no longer used in current installs. If you tried to do a backup/restore it would pull in postgresql because of the legacy stuff. A core migration is a few more steps on the front-end, but overall it is a cleaner approach coming from that old of Nagios XI version.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: XI Object Notes Part 2

Post by avandemore »

I misunderstood your request I think. If you're talking about this:
https://exchange.nagios.org/directory/A ... nt/details

Then you should restore to an XI system with the addon component installed previously. The new XI system must be the same version as the backup was made on.
Previous Nagios employee
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: XI Object Notes Part 2

Post by blariv »

that is what I am referring to. so you are saying that I cannot get the notes out of my old version xi system for import to the new version?
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: XI Object Notes Part 2

Post by avandemore »

so you are saying that I cannot get the notes out of my old version xi system for import to the new version?
No, my last post was the process you should use to have access to the Object Notes in the new install.

backup old -> restore to new(with object notes already installed).

Versions must match in the above.
Previous Nagios employee
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: XI Object Notes Part 2

Post by blariv »

ok the object notes versions need to be the same not nagios.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: XI Object Notes Part 2

Post by avandemore »

The target needs to be the same as the source across the board, from the backup/restore document:
NOTE 1:
The version of the fresh install of Nagios XI that you are restoring to needs to match the version of Nagios XI that the backup
was taken from. For example:
Backup was created on Nagios XI 5.2.2
The server you are restoring to must have Nagios XI 5.2.2 installed on it
Previous Nagios employee
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: XI Object Notes Part 2

Post by blariv »

ok, so I cannot get the notes then since im going from 2012R2.7 to Nagios XI Version : 5.4.2

this is pretty important we get this info out, any other ideas?
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: XI Object Notes Part 2

Post by avandemore »

ok, so I cannot get the notes then since im going from 2012R2.7 to Nagios XI Version : 5.4.2
I'm not sure why you would say that. Install 2012R2.7 , install Object Notes, restore to that instance, then upgrade to 5.4.2.

After you are done you may wish to review this document:
https://support.nagios.com/kb/article.p ... ategory=31

Or you take the premise in the document to just restore the Object Notes data into your new instance.
Previous Nagios employee
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: XI Object Notes Part 2

Post by blariv »

i am sorry but I'm not following.

i have 5.4.2 installed and configured, my last step was the notes from my current instance of 2012.

the core migration doc does not speak about the database or object notes.

Converting PostgreSQL to MySQL for Nagios XI doc its not clear if I lose everything in my current mysql db when its dumped to the new instance.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: XI Object Notes Part 2

Post by avandemore »

Part of this is the confusing naming of the component https://exchange.nagios.org/directory/A ... nt/details.

It's called Object Notes, yet Nagios Core entities like hosts/services are also known as objects:
https://assets.nagios.com/downloads/nag ... tance.html
Those objects already have a note field associated with them:
https://assets.nagios.com/downloads/nag ... tions.html

So we end up with completely different things called the essentially the same thing.

This is why I stated this earlier:
I misunderstood your request I think. If you're talking about this:
https://exchange.nagios.org/directory/A ... nt/details

Then you should restore to an XI system with the addon component installed previously. The new XI system must be the same version as the backup was made on.
My followups to that are meant in the context that you follow the Backup/Restore Migration method, not the Migrate from Core method.

I hope this clears it up for you.
Previous Nagios employee
Locked