OK, so the next few videos will be about the Xbox data source now these next few videos will only be
useful for you if you already have a Xbox server.
I'm not going to show you how to install Xbox Server in this course because there are so many steps
involved, but Xbox is a full monitoring system that is similar in many ways to other systems I've shown,
such as Prometheus.
An influx of setting it up is quite a different process for a lot of things to think about, so I'm
not going to demonstrate that, but I do have a course that specializes in Xbox if you're interested.
But anyway, if you do have a Xbox Seven, you want to visualize that data and given up this Xbox data
source plugin, and it's very good.
OK, so the first thing when you go back into Gravano and set up the Xbox data source in Safana, if
you go to data sources and select a data source, Xbox doesn't appear in this list.
What we can do is install a plugin that will allow us to set up a Xbox status source.
So in here plugins, we'll start typing Xbox and you get the option there Xbox.
OK, so that's a simple dashboard.
There's some instructions.
Just press install.
OK.
Stalled Xbox.
It's still not available in the data sources section just yet.
We need to do is go to config here and select Enable.
OK, that refreshes.
So that's now enabled to go to configuration data sources.
Inspect ad data source.
It should be there right at the bottom.
There it is, Xbox, so select that type data source added.
OK, so now we'll continue setting it up.
Now I have Xbox already installed, so I have the Xbox URL not here that it's going to call API on the
school.
GI Snapseed.
OK?
So you want your Xbox URL and you be coding that BHP script?
So I've already prepared that.
So that's my address.
Xbox Shulman's Ecomdash Xbox Slash API Jason IPC.
So server default, that's the best.
OK, leave everything else.
As default Xbox API details, we need to create a specific user in Xbox that can record through the
API.
So going to Xbox, I mean, my Xbox.
Yeah, in administration users here create a user.
I'm going to call it Carafano.
The group's no access to the front end.
It's just going to be an API user.
It doesn't need to log in to the front end or the user interface select put in a password.
I'm keeping it simple that you can make it complicated.
Everything else is good.
It's go to permissions.
The role is a user role doesn't need superuser permissions or anything like that.
It just needs to be able access the data behind all of these different options in Xbox.
So here it says access to API enabled.
I don't need to set up any media types, user ad hoc user added.
We cannot go into Cortana and try that out.
OK, so username Safana and my password was very simple, so it's advised to use trends that will make
the responses from the API smaller and it will start using trends after seven days.
But you can change these defaults here, but those defaults are pretty good.
OK, direct DB connection.
I'm not going to use the direct DB connection, but if you are using the Xbox data source long term
and you're finding performance is slow, you can increase performance by using the direct DB connection.
What you do is create a more secure data source and then you select it.
I don't have one specific reserve Xbox in this case, but you would create it would be there in my notes.
I have instructions on how to do that.
It's very similar to setting up the original Moscow data source we did at the beginning of the course.
You get to log onto your Xbox server, where mosquitoes running quite a specific user with Read-Only
permissions that the graphical user interface can use to connect to the database.
So on this page, there's some example script and then you also have to allow external connections for
that to work, but you won't be using direct debit connection for this.
Keeping it simpler.
OK, so save and test.
OK, I'm going to get a timeout.
My Xbox server has a firewall on it and it's blocking access to all IP except for a few.
So I need to add an IP rule till that microphone is so good to connect.
OK, so after some time, I've got the fiber for gateway time out, so I'll get onto my firewall.
It's on the Hello my Xbox firewall.
If you note that my URL of my API is Hasti https, that's Port 443, I'll show you that use TPS.
That's because I've set up SSL in a domain name on WhatsApp, so you might not have done that.
So I'll be adding the IP route to my highest HTTPS minimum, so I don't rule out the IP of Mega-fauna
server press to say, OK, let's try that again.
Gharana save and test, OK, Xbox API version five point two.
You might be using a different version of subjects that anyway, that works.
So that's good.
So go to explore and up here you have a new option for Xbox.
Now, the query for Xbox, like all data sources, is different.
Once again, these data source has a different way of querying it.
So you may see information in there depending on how many servers are in groups that the API user can
query.
I don't actually have anything right now, but in the next few videos, I'll demonstrate querying this
and we'll set up some dashboards.
Excellent.