Excellent.
So far, we have in flux DBI version to install, we have a telegraph collector collecting stats and
sending it to influx Digby, and we can visualize that through the complexity without a source in Gravano.
Now, like how we've set up other data sources in the past, you can have one main server such as Prometheus
or Loki, and have many collectors or from Taylor, for example.
For Prometheus, it's not exporters, and there are many other kinds of exporter's for Prometheus,
not just not exporters or the Gryphon metrics, end point or any other endpoints that Prometheus can
read.
For Influx DB, we can have multiple telegraphs, so I can set up telegraph on my moskvy or server and
pointed to either the VPC IP address of the influx DB or the external address, or I can have telegraphs
on all the servers that I got access to or sending to Fox DB.
Now I'm not going to show you how to do that in this video if you do want to ever do that.
It's not that hard.
You just copy the instructions that we use for the first telegraph that we installed, and you would
configure the URL that you're sending the data to in your telegraph configuration there and whichever
inputs you want to collect.
So in this video, I'll be introducing you to S and MPD.
OK, so there's no need for that.
You can do that if you want to in your own time.
But in this video, I'll introduce you to S&P now.
SMP Simple Network Management Protocol is a protocol that's been around since before the internet went
public.
So it's very old and there's a lot of devices that still support it.
Now it's useful in those cases where you can't install a service such as routers or switches or printers,
or even servers and workstations can support SMP.
You'll find a lot of hardware in corporate environments where you can't actually install Telegraph Electron
to or we can't install prompter onto.
It is not an operating system.
We can do that, so those devices may provide data through an internet interface.
Now also, since you properly don't have A. an MP device on your own network that you can use, I'll
show you how to install an SMP daemon on Ubuntu twenty point zero four so that we can at least have
some experience with it.
OK, so I'm going to install the SNP daemon on the same server as my influx DB server.
OK, so log on to your influx DB server and we'll install the SMP demon on it.
OK.
Some of my influx DB server, so install SMP, S&P Dow and S&P MIPS Down Downloader because we use all
those right click to place and enter then yes, now I'm doing this just so that we can show S&P because
you're very unlikely to have an actual S&P device on your network.
So this way of doing it is more reproducible while you're learning, OK, so it's normally started when
we've installed it so we can check it status active running.
Excellent.
OK, now we can do a simple test query, so copy that S&P Walke version to see the community is public.
One two seven zero zero one So that's this computer dot means give me everything, and we got a lot
of data being returned.
Now, it's important to note that the data returned is showing our ID numbers.
So this is one way it's shown.
Also, those numbers equals a value.
So as we say here, ISO equals data type in a value sometimes set.
Why not say, Oh, sorry, that might say no one doesn't really matter.
What's important is that when we continue to set up the Telegraph collector for S&P, it's going to
be doing search on what's called MIPS and maybe stands for management information base, but maybe some
other form of a string like that.
And when we do the telegraph configuration, it will be looking up the string version.
So same with this one and if table as well.
So it's important to make sure MIPS work on your SMP daemon.
So one way we can do that is to go into a file called SMP dot com, not as S&P dot com.
So copy that ciudadano ADC, SMP, SMP, dconf into.
Now scroll down and will comment at that line.
So it's now hash.
Maybe just comment to the tropics to save?
Yes.
Now if we do that same query again.
Version two C. S. Public 127 zero zero one dot, which means everything.
Each line showing the MAIB description no longer the numbers.
So when we set up Telegraph, our configuration will be searching for map descriptions, for example.
So and you can see that down here.
So we're looking for information, maybe if description, so we can actually search one of those directly.
So why just copy that?
We'll see if that works.
OK, so doing that query again, we'll get rid of that dot at the end.
And if I just put in that whole query, press enter and returns what I'm looking for now.
You can also just get rid of the RF C one two three bit there at the beginning to even do that.
And it's the same.
OK.
That's just a little bit of information about SMP for you there.
S&P's a very large subject, but I'm just showing you the beginnings to help me get started.
OK, now let's open up our telegraph configuration like that.
And if we just scroll down, look at the input section.
So we have quite a few inputs already from the last videos.
Another one for S&P.
So copy, I've got there, so I want to copy that whole lot right click and it's just a minimal S&P
input configuration there.
That's the address that we checking one 27 zero zero one call one six one and it uses the UDP protocol.
OK, so that's good.
That's going to do some simple queries of the S&P Daymond that we just installed on our local server
here, the Clucks DB server, and we'll be able to see that information first influx DB and then in
Safana.
So control X to save that.
Yes, OK, so now to restart the telegraph service.
So sudo service telegraph restart a status, then it looks pretty good so far.
So any errors, I'll see.
Now let's go into influx and see what we've got.
So in your influx DB, go to explore.
And if we look at this measurements section, we should start to see some S&P.
There isn't much there at the moment, showing up as just the uptime, maybe.
So I submit that it's showing uptime here.
I look at the query there that's see sometimes coming from this name.
Does uptime also in there?
We have agent host, host and source source here has come up.
It's a tag is tag equals true.
So we can also use that the same as the host, really.
But that is a table if you like.
But anyway, we're not seeing any information yet for if table or if description.
And the reason for that is because by default, when we install the S&P D on a but to the information
S&P D will return is quite restricted.
It's restricted to decides with that prefix or that prefix.
What we'll need to do is change it so that it returns a larger range of our IDs.
So very quickly, let's just try and search for maybe if table.
So we could verify that it's not returning anything by typing that it's an empty table command version
to see public local IP.
If Table says no entries, so let's change the allowable ID prefix in the S&P Daymond configuration.
So this time it's S&P D dot com until and if we scroll down.
And we can see down here where it describes the view, we can comment at that line because it's not
going to be necessary and just remove this last one.
So control x, yes.
And now to restart the S&P Demon Sudo service, it's an the restart.
And now we'll for that query again if table and we get some data.
Okay, so that means after the moment to the graph should have caught up and we'll start to see some
more information on the interface in flux DB and we start to see all of those values being returned
through if table there.
So for just get rid of that good if description and if index we look at if description, we can look
at each Ethernet device that our server has bound.
So I'll just get rid of that submit.
OK, so we can see that that if table query is now working inside the Telegraph, collect any information
that's going to in flux DB.
So if we just copy that script.
They can put that into Carafano, so explore influx TB paste.
Click out of that unsupported import type main.
Doesn't matter.
Let's just get rid of that one for now on query.
And there we go.
We start to see all the information coming through.
We'll use this information in the next few videos to create a dashboard for S&P inside Gryphon.
OK, so you should now be saying that S&P information inside Carafano or the influx daily data source
now note how this has been set up.
The S&P D is serving data that has been requested from Telegraph, so the Telegraph agent is periodically
requesting data from it.
They pay data.
We can set up Telegraph to query multiple S&P Demons on different servers.
So the next video of set up another is an MPD on my Moscow Agraféna server, so that we can see S&P
data from multiple servers through the one telegraph because they will create a simple dashboard, Agraféna,
where we can view all three servers.
Excellent.