Page 1 of 1

Dashboard Unique IDs

Posted: Fri Mar 17, 2017 9:39 am
by ksafa
We are attempting to automate the scheduling of dashboard pages via command line. It appears the dashboards each have a unique ID (http://nagios/dashboards/dashboards.php?id=gkiie6) Here its gkiee6 for example. Does anybody know where these id's are stored so they can be queried and then used in the scheduling page script.

Thanks,
Khaled

Re: Dashboard Unique IDs

Posted: Fri Mar 17, 2017 12:44 pm
by avandemore
From the DB side of things, you can see such information like this:

Code: Select all

mysql -uroot -pnagiosxi nagiosxi -e "SELECT * FROM xi_usermeta WHERE keyname = 'dashboards';"

Code: Select all

mysql -uroot -pnagiosxi nagiosxi -e "SHOW CREATE TABLE xi_usermeta;"