ObjectNotes Bug

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

ObjectNotes Bug

Post 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
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ObjectNotes Bug

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: ObjectNotes Bug

Post 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.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: ObjectNotes Bug

Post 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?
Former Nagios employee
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: ObjectNotes Bug

Post 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.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ObjectNotes Bug

Post by scottwilkerson »

Update: this was resolved in 2014R1.2
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked