Installation and use of Linux server health monitoring tool Spotlight on Unix

Reprinted: https://blog.csdn.net/defonds/article/details/52385360

1. Background of this article

1.1.Linux server situation

# cat /etc/issue
Red Hat Enterprise Linux Server release 6.1 (Santiago)
Kernel \r on an \m
CPU 16 cores, main frequency 2.6G, memory 32GB.

1.2.Win7 client situation

Win7 flagship version sp1, 4G memory, dual-core CPU clocked at 3.0G.

2. Spotlight on Unix version

The Spotlight version used in this article is SpotlightonUnix_70.exe provided by the official website (the download address is provided at the end of the article).

3. Spotlight on Unix installation

Double-click to execute SpotlightonUnix_70.exe directly, jump out of the installation welcome interface:
Install welcome screen.png
click the Next button directly, switch to the installation path selection interface:
Select installation path interface.png
select the installation path, click the Next button, switch to the installation license agreement interface:
Installation protocol interface.png
select Agree, click the Next button, switch to the installation information Check the interface:
Installation information check interface.png
Click the Next button after confirming that it is correct to start installing Spotlight to the computer:
Start installing Spotlight to your computer.png
After the installation is completed, it will prompt that the installation is successful:
After the installation is complete, the installation is successful.png
Click the Finish button to end the installation process.

4. Spotlight on Unix creates a connection to monitor Linux

4.1. Check if the sysstat package is installed on the Linux host

# mpstat -V
sysstat version 9.0.4
(C) Sebastien Godard (sysstat <at> orange.fr)
Install it if it is not already installed.

4.2. The monitored host creates a new user for Spotlight

Spotlight monitoring Linux requires a user with root privileges, but Spotlight does not allow direct connections with the root user, so we need to create a user with root privileges for it.
# useradd -g root -G root spotlight
# passwd spotlight
Create a user spotlight with root privileges and change its password.

4.3. Spotlight creates a connection to monitor Linux

Double-click the Spotlight icon on the desktop, the main interface of Spotlight after startup is as follows:
Spotlight main interface after startup.jpg
Click the Connect icon on the upper left:
Connect icon.png
Enter the Spotlight connection manager:
Spotlight Connection Manager.png
Double-click the New connection button, a new connection dialog box will pop up:
New connection dialog.png
Select connection type Select Spotlight On Unix, New Connection name Give this connection a name to mark it, click the OK button to enter the connection properties configuration interface:
Connection properties configuration interface.png
enter the user name and password created in step 4.2 and click the OK button, the connection is created and displayed in the connection manager:
The connection is created and displayed in the connection manager.png
double-click our newly created connection, After a few seconds, you can enter the Spotlight monitoring interface for this server:
Spotlight monitoring interface for this server.png

5. Several important monitoring indicators

5.1. CPU usage

CPU usage.png
Not much to say about this. But it's very important, especially when the 16-core machine's usage rate exceeds 800%.

5.2. Memory usage

memory usage.png
Not much to say about this.

5.3. Swap space usage

swap space usage.png
Not to mention this.

5.4. Virtual memory usage

virtual memory usage.png
Not much to say about this.

5.5. Number of logged in users

Number of logged in users.png
Displays the number of users currently logged in.

5.6. Number of TCP connections

TCP connections.png
This metric is very important, it shows the current number of concurrent connections to the server. Established shows how many TCP connections have been successfully established; Time_Wait shows the number of TCP connections that are waiting, which is actually occupied by connections; Close_Wait shows how many connections are closed due to waiting timeouts.

5.7. Bandwidth usage

bandwidth usage.png
Pkts/s Displays the current number of packets processed per second.

5.8. Disk read and write

Disk usage.jpg
This metric is very important, it shows the current server operation frequency to the disk, only showing the current two busiest disk operations. The above figure indicates that the current system disk operations are quite frequent, which can basically be located as the current system bottleneck.

5.9. Disk Utilization

The partition with the highest disk utilization.png
This metric is also very important, it shows the partition with the highest disk utilization under the current server. The above figure indicates that the root partition utilization of the current system has exceeded 80%. Although it may not cause a system failure, it is still worth our vigilance.

6. SpotlightonUnix_70.exe download address

6.1. Official download address

http://worlddownloads.quest.com.edgesuite.net/Repository/www.quest.com/latest_versions/SpotlightonUnix_70.exe (This link is available as of the date of the blog post and is available for personal testing).

6.2. Domestic server download address

The author also uploaded a copy of SpotlightonUnix_70.exe downloaded from the official website to the CSDN resource. The download speed is faster. Readers and friends can also download it: Linux server running health monitoring tool Spotlight installation file .

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326075021&siteId=291194637