Notes tab in Host Status Details
Notes tab in Host Status Details
Where is the information entered on the "Notes" tab of the Host Status Detail page in Nagios XI stored? We have nearly 1000 hosts and I would like to export that information.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Notes tab in Host Status Details
We do not have a export feature for this however that information is stored in the postgres database. I would not recommend fiddling around with it though.
Re: Notes tab in Host Status Details
Darn - - I wanted to duplicate that data on another instance of Nagios XI without having to touch every host.
If I could request a feature update, it would be to have a simple way of getting information about contacts into the Notes field. We have NOC employees that don't have access to the core.
If I could request a feature update, it would be to have a simple way of getting information about contacts into the Notes field. We have NOC employees that don't have access to the core.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Notes tab in Host Status Details
it certainly won't be in the best format but you may be able to extract it with this
Code: Select all
echo "select * from xi_options where name like 'objectnotes%';"|psql nagiosxi nagiosxiRe: Notes tab in Host Status Details
That script works well. I have to massage it a bit as you indicated, but it is usable.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Notes tab in Host Status Details
Good to hear, did you get the information you were after?
Re: Notes tab in Host Status Details
I did. Now I have to try and turn it around and import it into our other instance of Nagios XI.