Page 1 of 1

ObjectNotes Bug

Posted: Tue May 27, 2014 9:45 pm
by rajasegar
Nagios XI 2012R2.9
RHEL 6.5 x64
Manual Install

I updated some hosts with objectnotes notes and it was fine.
When I renamed one of the hosts, the notes disappeared.

The problem seems to be the hostname is hardcoded as text in the name column in table xi_options.
I suppose this will be the same problem for services name changes also.
The old entries is left orphaned in the table.

Example: Hostname
objectnotes_SST_SGR_ATM_FSDM_WN__

Shouldn't this be normalised and referred to via host /service reference codes?
All the other changes in CCM seems to be fine even if the name is changed.

The fix is to manually update the PostgreSQL DB
update xi_options set name = 'objectnotes_newname__' where name ='objectnotes_oldname__';

Please advice on this. Thanks

Re: ObjectNotes Bug

Posted: Wed May 28, 2014 10:48 am
by lmiltchev
You are correct. This is a bug. I was able to recreate it and I filed an internal bug report on the issue (TASK ID 2940). This should be fixed in one of the next releases of XI.

Re: ObjectNotes Bug

Posted: Wed May 28, 2014 6:07 pm
by rajasegar
lmiltchev wrote:You are correct. This is a bug. I was able to recreate it and I filed an internal bug report on the issue (TASK ID 2940). This should be fixed in one of the next releases of XI.
Thanks for the assistance.

Re: ObjectNotes Bug

Posted: Thu May 29, 2014 9:21 am
by tmcdonald
Since there is a bug report for this, I'd like to close the thread unless there is more to add. Is that alright?

Re: ObjectNotes Bug

Posted: Thu May 29, 2014 6:00 pm
by rajasegar
tmcdonald wrote:Since there is a bug report for this, I'd like to close the thread unless there is more to add. Is that alright?
Please close the thread. Tx.

Re: ObjectNotes Bug

Posted: Tue Apr 07, 2015 4:24 pm
by scottwilkerson
Update: this was resolved in 2014R1.2