1
00:00:00,150 --> 00:00:06,000
OK, so the next few videos will be about the Xbox data source now these next few videos will only be

2
00:00:06,000 --> 00:00:09,030
useful for you if you already have a Xbox server.

3
00:00:09,060 --> 00:00:13,980
I'm not going to show you how to install Xbox Server in this course because there are so many steps

4
00:00:13,980 --> 00:00:20,010
involved, but Xbox is a full monitoring system that is similar in many ways to other systems I've shown,

5
00:00:20,010 --> 00:00:20,940
such as Prometheus.

6
00:00:20,950 --> 00: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

7
00:00:25,410 --> 00:00:29,920
not going to demonstrate that, but I do have a course that specializes in Xbox if you're interested.

8
00:00:29,970 --> 00:00:35,430
But anyway, if you do have a Xbox Seven, you want to visualize that data and given up this Xbox data

9
00:00:35,430 --> 00:00:36,720
source plugin, and it's very good.

10
00:00:36,750 --> 00:00:41,490
OK, so the first thing when you go back into Gravano and set up the Xbox data source in Safana, if

11
00:00:41,490 --> 00:00:47,340
you go to data sources and select a data source, Xbox doesn't appear in this list.

12
00:00:47,820 --> 00:00:52,830
What we can do is install a plugin that will allow us to set up a Xbox status source.

13
00:00:52,830 --> 00:00:58,590
So in here plugins, we'll start typing Xbox and you get the option there Xbox.

14
00:00:58,710 --> 00:01:00,570
OK, so that's a simple dashboard.

15
00:01:00,930 --> 00:01:01,980
There's some instructions.

16
00:01:02,490 --> 00:01:03,810
Just press install.

17
00:01:05,370 --> 00:01:05,830
OK.

18
00:01:05,970 --> 00:01:07,210
Stalled Xbox.

19
00:01:07,230 --> 00:01:10,840
It's still not available in the data sources section just yet.

20
00:01:10,860 --> 00:01:14,550
We need to do is go to config here and select Enable.

21
00:01:15,370 --> 00:01:16,690
OK, that refreshes.

22
00:01:16,710 --> 00:01:20,490
So that's now enabled to go to configuration data sources.

23
00:01:20,790 --> 00:01:22,350
Inspect ad data source.

24
00:01:22,620 --> 00:01:24,810
It should be there right at the bottom.

25
00:01:25,290 --> 00:01:29,130
There it is, Xbox, so select that type data source added.

26
00:01:29,520 --> 00:01:31,810
OK, so now we'll continue setting it up.

27
00:01:31,850 --> 00: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

28
00:01:37,410 --> 00:01:37,650
school.

29
00:01:37,650 --> 00:01:38,670
GI Snapseed.

30
00:01:38,670 --> 00:01:38,790
OK?

31
00:01:39,570 --> 00:01:43,890
So you want your Xbox URL and you be coding that BHP script?

32
00:01:44,160 --> 00:01:45,870
So I've already prepared that.

33
00:01:45,880 --> 00:01:47,340
So that's my address.

34
00:01:47,340 --> 00:01:51,490
Xbox Shulman's Ecomdash Xbox Slash API Jason IPC.

35
00:01:52,140 --> 00:01:54,390
So server default, that's the best.

36
00:01:54,930 --> 00:01:56,730
OK, leave everything else.

37
00:01:56,730 --> 00:02:03,870
As default Xbox API details, we need to create a specific user in Xbox that can record through the

38
00:02:03,870 --> 00:02:04,410
API.

39
00:02:04,440 --> 00:02:07,510
So going to Xbox, I mean, my Xbox.

40
00:02:07,530 --> 00:02:11,640
Yeah, in administration users here create a user.

41
00:02:12,060 --> 00:02:13,430
I'm going to call it Carafano.

42
00:02:14,070 --> 00:02:16,260
The group's no access to the front end.

43
00:02:16,290 --> 00:02:18,250
It's just going to be an API user.

44
00:02:18,270 --> 00:02:23,300
It doesn't need to log in to the front end or the user interface select put in a password.

45
00:02:23,310 --> 00:02:25,740
I'm keeping it simple that you can make it complicated.

46
00:02:26,040 --> 00:02:27,810
Everything else is good.

47
00:02:27,960 --> 00:02:29,550
It's go to permissions.

48
00:02:29,550 --> 00:02:35,150
The role is a user role doesn't need superuser permissions or anything like that.

49
00:02:35,160 --> 00:02:39,840
It just needs to be able access the data behind all of these different options in Xbox.

50
00:02:40,020 --> 00:02:42,120
So here it says access to API enabled.

51
00:02:42,150 --> 00:02:46,530
I don't need to set up any media types, user ad hoc user added.

52
00:02:46,650 --> 00:02:48,960
We cannot go into Cortana and try that out.

53
00:02:49,050 --> 00:02:56,220
OK, so username Safana and my password was very simple, so it's advised to use trends that will make

54
00:02:56,220 --> 00:03:01,370
the responses from the API smaller and it will start using trends after seven days.

55
00:03:01,380 --> 00:03:04,800
But you can change these defaults here, but those defaults are pretty good.

56
00:03:05,040 --> 00:03:06,720
OK, direct DB connection.

57
00:03:06,720 --> 00:03:11,940
I'm not going to use the direct DB connection, but if you are using the Xbox data source long term

58
00:03:11,940 --> 00:03:16,920
and you're finding performance is slow, you can increase performance by using the direct DB connection.

59
00:03:16,920 --> 00:03:20,400
What you do is create a more secure data source and then you select it.

60
00:03:20,610 --> 00: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.

61
00:03:25,620 --> 00:03:28,140
I have instructions on how to do that.

62
00:03:28,170 --> 00:03:32,910
It's very similar to setting up the original Moscow data source we did at the beginning of the course.

63
00:03:32,910 --> 00:03:38,070
You get to log onto your Xbox server, where mosquitoes running quite a specific user with Read-Only

64
00:03:38,070 --> 00:03:42,650
permissions that the graphical user interface can use to connect to the database.

65
00:03:42,660 --> 00:03:48,720
So on this page, there's some example script and then you also have to allow external connections for

66
00:03:48,720 --> 00:03:51,850
that to work, but you won't be using direct debit connection for this.

67
00:03:51,870 --> 00:03:52,680
Keeping it simpler.

68
00:03:52,770 --> 00:03:54,240
OK, so save and test.

69
00:03:54,420 --> 00:03:56,700
OK, I'm going to get a timeout.

70
00:03:56,700 --> 00:04:02,450
My Xbox server has a firewall on it and it's blocking access to all IP except for a few.

71
00:04:02,460 --> 00:04:06,330
So I need to add an IP rule till that microphone is so good to connect.

72
00:04:06,450 --> 00:04:12,130
OK, so after some time, I've got the fiber for gateway time out, so I'll get onto my firewall.

73
00:04:12,150 --> 00:04:14,220
It's on the Hello my Xbox firewall.

74
00:04:14,520 --> 00: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.

75
00:04:23,190 --> 00:04:27,630
That's because I've set up SSL in a domain name on WhatsApp, so you might not have done that.

76
00:04:27,630 --> 00: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

77
00:04:34,980 --> 00:04:38,840
server press to say, OK, let's try that again.

78
00:04:38,870 --> 00:04:43,350
Gharana save and test, OK, Xbox API version five point two.

79
00:04:43,410 --> 00:04:46,890
You might be using a different version of subjects that anyway, that works.

80
00:04:47,280 --> 00:04:47,930
So that's good.

81
00:04:47,940 --> 00:04:52,260
So go to explore and up here you have a new option for Xbox.

82
00:04:52,290 --> 00:04:56,600
Now, the query for Xbox, like all data sources, is different.

83
00:04:56,610 --> 00:04:59,640
Once again, these data source has a different way of querying it.

84
00:05:00,060 --> 00:05:06,150
So you may see information in there depending on how many servers are in groups that the API user can

85
00:05:06,150 --> 00:05:06,660
query.

86
00:05:06,690 --> 00:05:10,860
I don't actually have anything right now, but in the next few videos, I'll demonstrate querying this

87
00:05:10,860 --> 00:05:12,140
and we'll set up some dashboards.

88
00:05:12,210 --> 00:05:12,720
Excellent.

