I need to make a series of dashboards, where the panels and layouts will all be the same. The one thing that varies from dashboard to dashboard is the hostgroup that the dashboard is built from.
Is there a way outside of the nagiosxi web ui to duplicate or modify dashboards? I would prefer not to have to rebuild each dashboard by clicking through the ui. Not only is that time consuming and cumbersome, it's also error prone.
thanks,
-Luke
reusing dashboard?
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: reusing dashboard?
@lukesullivan, Unfortunately, this is not supported. Dashboards are php-serialized in the database making it hard to make changes on the fly.
echo "SELECT * FROM xi_usermeta WHERE keyname = 'dashboards';" | mysql -uroot -pnagiosxi nagiosxi
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
lukesullivan
- Posts: 34
- Joined: Tue Jan 24, 2017 11:12 am
Re: reusing dashboard?
thanks. I dont need to make the changes on the fly, I would just like a way to build one dashboard, then make N copies of the dashboard referencing different hostgroups.
Is the direct access / modification of the database a supported mechanism? I dont mind doing that, it's straightforward enough.
thanks,
-Luke
Is the direct access / modification of the database a supported mechanism? I dont mind doing that, it's straightforward enough.
thanks,
-Luke
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: reusing dashboard?
@lukesullivan, Making direct changes in the database is not recommended or supported. But if you choose to try this on your own please make a backup of your XI server or take a snapshot of the VM. That way you could always revert back if something unexpected happens.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.