Page 1 of 1
Can you call performance graphs without logging into XI???
Posted: Tue Jul 21, 2015 9:35 am
by JakeHatMacys
We've got some system owners that want to get instant access to there servers metrics. We were wondering if there's a way to call these performance graphs without going through the normal Nagios XI login & drop down etc.
NagiosPerf.jpg
Re: Can you call performance graphs without logging into XI?
Posted: Tue Jul 21, 2015 10:09 am
by ssax
Do the system owners already have a user created?
If they do you could go to Admin > Manage Components > Backend API URL and click on the Settings icon.
- Select their user and click Apply Settings
- Copy the last part of one of the URLs:
&username=USERNAME&ticket=rfpd4snkjli0g6l2qi4ua3lefjf9r25mgr0klm689n7pqrqjcrhjs52blekgfg4s
- Now go to Admin > Manage Users and masquerade as their user and go to the page that you want them to view and click the permalink icon to copy the permalink
- Add the two together:
Code: Select all
http://YOURXISERVER/nagiosxi/views/?&xiwindow=http%3A%2F%2Fssc66xi%2Fnagiosxi%2Fincludes%2Fcomponents%2Fxicore%2Ftac.php&username=rouser&ticket=rfpd4snkjli0g6l2qi4ua3lefjf9r25mgr0klm689n7pqrqjcrhjs52blekgfm4s
That will allow them to access without logging in.
*** Note: The reason that you should masquerade as their user is because the different views and dashboards might have a different ID for each user, even when deploying dashboards.