objectnotes components

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

objectnotes components

Post by zaji_nms »

Dear Expert,

I have concerned about xi-components called objectnotes backup, we have installed and using it in our production server and keeping all notes info in this component , but we would like to know where this notes information being stored and how do we take the backup for the same ? appreciate your quick reply.

thanks and regards,
Zajil NMS
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: objectnotes components

Post by rajasegar »

I have asked this question before.
It is stored in the Postgresql DB

echo 'select * from xi_options;' | psql nagiosxi nagiosxi | grep objectnotes

Your notes will be truncated if it has line feed. So modify the sql statement to strip off the \r.
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 components

Post by tmcdonald »

Thank you raja, that's a good command to have around.

zaji, did this work out for you? As far as backups, those wouldn't be included in a snapshot the way notes from the CCM would be, but a full backup should include them as part of the Postgres dump.
Former Nagios employee
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: objectnotes components

Post by zaji_nms »

Good info. Thanks Raja and Donald for the help.
Zajil NMS
Locked