Hi. Is there a way to identify all of the defined dashboards on a system?
Thanks!
Location of Dashboard Definitions
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Location of Dashboard Definitions
@awilson, Not quite sure if I understand what you mean by dashboard definitions. Are you looking to get the names of all dashboards in the XI?
I found this query to look up dashboards in MYSQL:
I found this query to look up dashboards in MYSQL:
echo "select * from xi_usermeta where keyname = 'dashboards' \G;" | mysql -uroot -pnagiosxi nagiosxi
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Location of Dashboard Definitions
I'm pretty sure that is what I need. We still have PostgreSQL and MySQL. I'll check if the nagiosxi database is in PostgreSQL.
Thanks!
Thanks!
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Location of Dashboard Definitions
@awilson, You're welcome. Here's the psql version of the command:
echo "select * from xi_usermeta where keyname = 'dashboards' \G;" | psql nagiosxi nagiosxi
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Location of Dashboard Definitions
We can close this. Thanks!