Page 1 of 1
Nagios XI custom dashboard
Posted: Thu May 03, 2018 4:32 pm
by Johnsmit
Hello,
we have nagios xi up and monitoring and i am doing POC for my organisation. currently we are in free trail period, the landing page has default dashlets which can be edited. is there any way to edit and remove the "we are here to help" and "start monitoring" dashlet on the default page.
Thanks
Re: Nagios XI custom dashboard
Posted: Thu May 03, 2018 4:59 pm
by npolovenko
Hi,
@Johnsmit. You could override the home page with a custom dashboard:
1. Go to the Dashboards menu and create a new dashboard. Add 2 dashlets to the dashboard -> Service Status Summary and Host Status Summary.
2. Copy the new dashboards url:
Untitled.png
2. Go to the Admin Menu, then Manage Components and find the Home Page Modifications Component
Click on the edit wrench next to the component, select -> Custom URL and paste the link from Step#2.
Let me know if this works for you.
Re: Nagios XI custom dashboard
Posted: Fri May 04, 2018 8:44 am
by Johnsmit
hi,
Thanks for replying.
its working on my admin login but when the user login i got the following error.
am uploading both admin home page modification and client home page error.
Re: Nagios XI custom dashboard
Posted: Fri May 04, 2018 3:05 pm
by npolovenko
@Johnsmit,
1.Go to Admin --> Manage Components --> Backend API URL. Copy the username and ticket id for your user from any of the urls listed in the component for the user.
2. Go to your Dashboard and right click on the link and open it in a new window.
3. Append the url with the ticket and username parameters copied above.
4. Use this url in your other dashboard. It should resemble:
Code: Select all
http://<server>/nagiosxi/dashboards/dashboard.php?id=<your dashboard>&username=<username>&ticket=<ticketid>
5. Use the URL from the step #4 as a Custom URL in the Home Page Modification Component.
Let me know if this works for you.
Re: Nagios XI custom dashboard
Posted: Mon May 07, 2018 8:40 am
by Johnsmit
Hi,
its throwing an error.
I used this as custom URL in manage components page.
http://server/nagiosxi/backend/?cmd=get ... name=mohan &ticket=JuEUSfQntNfcXZRsoRt08ENfr4c32cnL0iVSQ2fjOtP3MGuaN2rVVuqnBFpCR6DR
As i am specifying a single user, the dashboard is for single user but if i need to set it as a default to all the users then what should i have to do.
Thanks,
Re: Nagios XI custom dashboard
Posted: Mon May 07, 2018 4:36 pm
by kyang
Are you using the backend api ticket or the REST api token?
Use the backend api token for that user.
Which dashboard are you wanting for all users? Did you create one already that doesn't use the backend ticket?
You should be able to deploy that dashboard to all users as the home page.
In the XI Home Page --> Dashboards --> under dashboard tools, click Deploy dashboards.
https://assets.nagios.com/downloads/nag ... 1521646370
Re: Nagios XI custom dashboard
Posted: Tue May 08, 2018 1:23 pm
by Johnsmit
Thanks it worked for me.
Re: Nagios XI custom dashboard
Posted: Tue May 08, 2018 1:40 pm
by kyang
Glad it worked!
Are we okay to close this thread?
Re: Nagios XI custom dashboard
Posted: Tue May 08, 2018 2:01 pm
by Johnsmit
yes, please.
Re: Nagios XI custom dashboard
Posted: Tue May 08, 2018 2:24 pm
by kyang
Sounds good!
Thanks for using the Nagios Support Forums!
Feel free to create a new thread if you have any more issues.
Have a great day!