WEBVTT

00:00.150 --> 00:06.000
OK, so the next few videos will be about the Xbox data source now these next few videos will only be

00:06.000 --> 00:09.030
useful for you if you already have a Xbox server.

00:09.060 --> 00:13.980
I'm not going to show you how to install Xbox Server in this course because there are so many steps

00:13.980 --> 00:20.010
involved, but Xbox is a full monitoring system that is similar in many ways to other systems I've shown,

00:20.010 --> 00:20.940
such as Prometheus.

00:20.950 --> 00:25.410
An influx of setting it up is quite a different process for a lot of things to think about, so I'm

00:25.410 --> 00:29.920
not going to demonstrate that, but I do have a course that specializes in Xbox if you're interested.

00:29.970 --> 00:35.430
But anyway, if you do have a Xbox Seven, you want to visualize that data and given up this Xbox data

00:35.430 --> 00:36.720
source plugin, and it's very good.

00:36.750 --> 00:41.490
OK, so the first thing when you go back into Gravano and set up the Xbox data source in Safana, if

00:41.490 --> 00:47.340
you go to data sources and select a data source, Xbox doesn't appear in this list.

00:47.820 --> 00:52.830
What we can do is install a plugin that will allow us to set up a Xbox status source.

00:52.830 --> 00:58.590
So in here plugins, we'll start typing Xbox and you get the option there Xbox.

00:58.710 --> 01:00.570
OK, so that's a simple dashboard.

01:00.930 --> 01:01.980
There's some instructions.

01:02.490 --> 01:03.810
Just press install.

01:05.370 --> 01:05.830
OK.

01:05.970 --> 01:07.210
Stalled Xbox.

01:07.230 --> 01:10.840
It's still not available in the data sources section just yet.

01:10.860 --> 01:14.550
We need to do is go to config here and select Enable.

01:15.370 --> 01:16.690
OK, that refreshes.

01:16.710 --> 01:20.490
So that's now enabled to go to configuration data sources.

01:20.790 --> 01:22.350
Inspect ad data source.

01:22.620 --> 01:24.810
It should be there right at the bottom.

01:25.290 --> 01:29.130
There it is, Xbox, so select that type data source added.

01:29.520 --> 01:31.810
OK, so now we'll continue setting it up.

01:31.850 --> 01:37.410
Now I have Xbox already installed, so I have the Xbox URL not here that it's going to call API on the

01:37.410 --> 01:37.650
school.

01:37.650 --> 01:38.670
GI Snapseed.

01:38.670 --> 01:38.790
OK?

01:39.570 --> 01:43.890
So you want your Xbox URL and you be coding that BHP script?

01:44.160 --> 01:45.870
So I've already prepared that.

01:45.880 --> 01:47.340
So that's my address.

01:47.340 --> 01:51.490
Xbox Shulman's Ecomdash Xbox Slash API Jason IPC.

01:52.140 --> 01:54.390
So server default, that's the best.

01:54.930 --> 01:56.730
OK, leave everything else.

01:56.730 --> 02:03.870
As default Xbox API details, we need to create a specific user in Xbox that can record through the

02:03.870 --> 02:04.410
API.

02:04.440 --> 02:07.510
So going to Xbox, I mean, my Xbox.

02:07.530 --> 02:11.640
Yeah, in administration users here create a user.

02:12.060 --> 02:13.430
I'm going to call it Carafano.

02:14.070 --> 02:16.260
The group's no access to the front end.

02:16.290 --> 02:18.250
It's just going to be an API user.

02:18.270 --> 02:23.300
It doesn't need to log in to the front end or the user interface select put in a password.

02:23.310 --> 02:25.740
I'm keeping it simple that you can make it complicated.

02:26.040 --> 02:27.810
Everything else is good.

02:27.960 --> 02:29.550
It's go to permissions.

02:29.550 --> 02:35.150
The role is a user role doesn't need superuser permissions or anything like that.

02:35.160 --> 02:39.840
It just needs to be able access the data behind all of these different options in Xbox.

02:40.020 --> 02:42.120
So here it says access to API enabled.

02:42.150 --> 02:46.530
I don't need to set up any media types, user ad hoc user added.

02:46.650 --> 02:48.960
We cannot go into Cortana and try that out.

02:49.050 --> 02:56.220
OK, so username Safana and my password was very simple, so it's advised to use trends that will make

02:56.220 --> 03:01.370
the responses from the API smaller and it will start using trends after seven days.

03:01.380 --> 03:04.800
But you can change these defaults here, but those defaults are pretty good.

03:05.040 --> 03:06.720
OK, direct DB connection.

03:06.720 --> 03:11.940
I'm not going to use the direct DB connection, but if you are using the Xbox data source long term

03:11.940 --> 03:16.920
and you're finding performance is slow, you can increase performance by using the direct DB connection.

03:16.920 --> 03:20.400
What you do is create a more secure data source and then you select it.

03:20.610 --> 03:25.620
I don't have one specific reserve Xbox in this case, but you would create it would be there in my notes.

03:25.620 --> 03:28.140
I have instructions on how to do that.

03:28.170 --> 03:32.910
It's very similar to setting up the original Moscow data source we did at the beginning of the course.

03:32.910 --> 03:38.070
You get to log onto your Xbox server, where mosquitoes running quite a specific user with Read-Only

03:38.070 --> 03:42.650
permissions that the graphical user interface can use to connect to the database.

03:42.660 --> 03:48.720
So on this page, there's some example script and then you also have to allow external connections for

03:48.720 --> 03:51.850
that to work, but you won't be using direct debit connection for this.

03:51.870 --> 03:52.680
Keeping it simpler.

03:52.770 --> 03:54.240
OK, so save and test.

03:54.420 --> 03:56.700
OK, I'm going to get a timeout.

03:56.700 --> 04:02.450
My Xbox server has a firewall on it and it's blocking access to all IP except for a few.

04:02.460 --> 04:06.330
So I need to add an IP rule till that microphone is so good to connect.

04:06.450 --> 04:12.130
OK, so after some time, I've got the fiber for gateway time out, so I'll get onto my firewall.

04:12.150 --> 04:14.220
It's on the Hello my Xbox firewall.

04:14.520 --> 04:23.150
If you note that my URL of my API is Hasti https, that's Port 443, I'll show you that use TPS.

04:23.190 --> 04:27.630
That's because I've set up SSL in a domain name on WhatsApp, so you might not have done that.

04:27.630 --> 04:34.980
So I'll be adding the IP route to my highest HTTPS minimum, so I don't rule out the IP of Mega-fauna

04:34.980 --> 04:38.840
server press to say, OK, let's try that again.

04:38.870 --> 04:43.350
Gharana save and test, OK, Xbox API version five point two.

04:43.410 --> 04:46.890
You might be using a different version of subjects that anyway, that works.

04:47.280 --> 04:47.930
So that's good.

04:47.940 --> 04:52.260
So go to explore and up here you have a new option for Xbox.

04:52.290 --> 04:56.600
Now, the query for Xbox, like all data sources, is different.

04:56.610 --> 04:59.640
Once again, these data source has a different way of querying it.

05:00.060 --> 05:06.150
So you may see information in there depending on how many servers are in groups that the API user can

05:06.150 --> 05:06.660
query.

05:06.690 --> 05:10.860
I don't actually have anything right now, but in the next few videos, I'll demonstrate querying this

05:10.860 --> 05:12.140
and we'll set up some dashboards.

05:12.210 --> 05:12.720
Excellent.
