This project is a personal project. I often communicate with test engineers, engineering implementation engineers, and O & M personnel, and found that the Linux system is not easy to operate and maintain.
There are no other useful tools except SSH and xmanager.
Is it possible to create a visual interface tool without having to input command lines?
For example, you need to set up many things to configure an FTP.
Is it very time-consuming to configure dozens of machines?
If dozens of machines need to check whether the running status of the hardware is very difficult.
Although some open-source Web monitoring methods are available, the functions are incomplete and cannot be clearly understood.
You cannot promptly send an alarm to the Administrator.
There are few preventive measures for hackers and Trojans.
Of course I am not going to do an anti-virus software,
I want the Administrator to discover it, track it at the same time, and find the attack source.
Of course, you can also manually or automatically kill it.
This is a comprehensive application of the tamper-proofing, Process detection and removal, and port query functions.
It can also prevent your system files from being modified, but you do not know.
For example, login backdoor, process hiding...
You also need to be notified to your mobile phone in time. You do not need to keep an eye on monitoring.
Description:
This system is used to monitor and manage your Linux server on the window client.
Features include:
CPU, memory, hard disk, network traffic, and other hardware monitoring;
Process query scanning, port query, tamper-proofing scanning and restoration, firewall management,
File System Management, RedHat installer management, user and group management
.
Various Alarms can be sent to your mobile phone.
You can also use your mobile phone to manage your website business. You need to customize the plug-in.
Name: linuxsysmonitor
Chinese name: Linux system monitor
Author: Chen Wen
Contact info:
QQ group: 183897763
Mobile Phone: 13886007692
Email: arthurde@163.com
The system supports 32-bit and 64-bit Linux servers and Windows clients.
The following is an example of some functions:
Enter the IP address and port of the Linux server to connect to the server.
The client provides two menus: Summary and process.
The summary menu is updated every 3 seconds.
Double-click "local date" to synchronize the host website time in the client and config. properties.
Double-click "remote date" to synchronize the client time to the Linux remote machine, facilitating time calibration of multiple servers.
Double-click "Graph upper limit" in "Network Information" to modify the maximum network bandwidth of a Linux remote machine.
"Current Alert policy" is not available for the moment.
The process Menu displays all processes running on Linux Remote machines in real time, which are updated every 5 seconds.
You can sort the data by double-clicking the adaptive maximum content of the column header and right-clicking the Copy command.
V1.1.1
The transfer program is optimized, and the CPU usage is almost 0.
Add a firewall menu. It can be used for query.
The software expired at 08:29:29.
V1.1.2
Deleted the self-opened service port function and changed it to a prompt that the user firewall is enabled,
If the service port is not enabled, enter the Green Line command.
Add firewall menus, including: Enable, disable, restart, delete, and add link.
Click the Add link function. In the pop-up configuration dialog box, you can set links in most cases, including Server Load balancer.
V1.1.3
Encrypted transmission improves the security of communication.
V1.1.4
Add the query menu used by the port to view the connection information. You can also collect statistics based on conditions.
If the query condition is not specified, all items are displayed.
In the bin \ settings directory, the IP address. JSON file will be generated based on the connected IP address,
After manual modification, restart the client.
This file is a critical value for red alarms on the interface:
Maxnetflow: maximum network traffic graph. Optional values: 100 k, 1 m, 10 m, 100 m, and 1g.
Diskalarmval: Hard Disk Critical Value
Memalarmval: memory usage Critical Value
Netalarmval: critical value of network communication
Cpualarmval: CPU usage threshold
V1.1.5
Added the plug-in menu for adding plug-in functions anytime, anywhere, without upgrading the main version.
You only need to put the plug-in package in the./bin/Plugins directory (including the server and client ).
Added the rethat application plug-in function in the directory./bin/plugins/RPM.
Features:
Describe the RPM application installed on the server)
Uninstall the RPM application that has been installed on the server. (The items in the queried table are selected)
Install a new RPM application;
Show all files. All. RPM files in the/root/linuxsysmonitor/bin/plugins/RPM/directory are displayed. (Add the RPM file here as well)
Check the items to be installed in the table, indicating that this item needs to be installed.
Invert selection is to make all selected items unselected.
Click the "RPM file" column and sort by name.
Move up and move down to change the installation sequence.
Click the Install button to install the RPM package in sequence according to your selection.
You can click "Save As installation macro" to save the installation order as a macro so that you can quickly install it next time without having to re-orchestrate it.
The installation macro can be saved in any folder of your client.
Click "select macro installation" next time you want to import data.
The restore order button is used to restore the order after the order is disordered.
If many packages are being installed, it takes a long time,
If you need to interrupt a package, click the "interrupt" button and the package stops after it is installed.
V1.1.6
Added the file tree plug-in function in the directory./bin/plugins/files.
Features:
After entering, double-click the root folder of the tree to expand the file directory.
Expand a layer of folders and refresh a layer of leaves.
Click an item in the selected tree. The background color of the selected item is blue.
Right-click the selected item and open the operation menu. (the root directory and "." and "." folder cannot be operated)
The right-click function includes:
Copy the entire path of the selected file to the clipboard.
Copy and copy files or folders. You can select multiple files or folders. The selected items are displayed in the following list.
Cut files or folders. You can select multiple files or folders. The selected items are displayed in the following list.
Paste all the copied or cut items to the selected folder.
Delete or delete a file or folder. You can select multiple files or folders. The selected items are displayed in the following list.
Rename the name of the selected file or folder. In the following panel, change the name and click OK.
Create a folder and add it to the selected folder.
Add a new file to the selected folder or modify the selected file.
Before opening a file, the system prompts you to use the character set to open the file,
If garbled characters appear in the opened content after selection, it indicates that the opened character set is incorrect. In this case, you need to re-open another character set.
If the displayed content is correct, the file is stored in this way.
Currently, only common UTF-8 and GBK (gb2312 is a subset of GBK) character sets are supported.
If you want to save another character set after compilation, you can select the character set to be converted from the character set drop-down list and click the Save button.
During editing, you can click "copy content" to copy the full text to the clipboard.
All attributes of a file are displayed on the following panel, including permissions, file size, and last modification time.
You can click the Save button to modify the permission by changing the hook option.
Generate a db4 file and generate a text file into a db4 database file. (The RPM package of db4 has been installed in Linux)
Macro (the macro function of a certain interface is the same as this, which will not be described later)
Record macros record all the actions of the above operations to facilitate future repeat of the above operations.
Click record macro to open the macro record window. The first line shows whether the record is currently being recorded.
If records are being recorded, your operations will be recorded in the following table. You can adjust the execution sequence in the ascending move-down mode.
After recording, click "Save macro" to save it as a macro file.
Next time you load a macro, click "Import macro" and select the macro file.
Click the "run macro" button to perform the recorded operations one by one based on the order in the list.
The running process is displayed in the lower panel of the main window.
If you need to interrupt the macro, click "interrupt macro.
Stop record stop record macro function. After the record is stopped, the macro record window displays the stop record macro in the first row.
After that, no operation is recorded in the action list.
V1.1.7
Added the user and group management plug-ins in the directory./bin/plugins/usergroup.
After entering the interface, click "refresh. The user and group tree are refreshed.
The first level of the tree is the root node.
Its right-click menu includes:
Add a user: Add a user to specify its user ID, home directory, and initial group.
Add Group: to add a group, you can specify its group ID.
The second level of the tree is the group node. (You can click the "keys" key to quickly locate in the tree)
Its right-click menu includes:
Delete group: Delete the selected group.
Modify group: Modify the selected group, including modifying its name and specifying its group ID.
The third level of the tree is the user node. (A user can belong to multiple groups. Its default group is under its own group with the same name)
Its right-click menu includes:
Add a user to a group: add the user selected in a group to another group. (You can click the "Rotate" key to quickly locate it in the drop-down box)
Set as a group administrator: Specify the selected user as the Group Administrator.
Delete in this group: Delete the selected users from these groups.
Set User Password: change the password of the selected user.
Delete user: delete all users. All groups of users are deleted. You can also specify whether to delete the user's home directory together.
Attribute: Display. You can also modify user attributes.
Attributes include: User ID, group ID, Home Directory, run directory (the preceding cannot be changed ),
Password Change date (last password update date), password lock days (password cannot be changed days ),
Valid days (the number of days for password re-change is 99999, indicating that the password is always valid ),
Warning days (warning days before the password change period), Grace days (account Grace days after the password expires ),
Expiration date (the Account expiration date can be set to a future), account lock status (locked accounts cannot log on ).
This plug-in also has the record macro function.
Install and set FTP
1. Open the plug-in RedHat application, click Install, click Install macro, and select FTP to install 32-bit as4el. rpmmacro to load the macro.
Click Install. Install the RPM packages of db4 and vsftpd. If the server version is not as4el, find the installation file of the corresponding version on the installation disc and put it
/Root/linuxsysmonitor/bin/plugins/RPM/directory. Click "show all files" and select "Install.
2. Open the plug-in user and group management, click Refresh, click record macro, open the macro interface, and then click Import macro to select FTP installation. usermacro to load the macro.
Click RUN macro. Virtual user will be created, initial password 1, home directory/home/ftpsite/
3. Open the plug-in file tree, click record macro, open the macro interface, and then click Import macro to select: ftp installation 32-bit. filemacro to load the macro.
This macro supports 32-bit machines. For a 64-bit server. Modify the/etc/PAM. d/vsftpd file after running the macro (create an editing file ).
Auth required/lib/security/pam_userdb.so DB =/etc/vsftpd/vsftpd_login
Account required/lib/security/pam_userdb.so DB =/etc/vsftpd/vsftpd_login
These two sentences are changed:
Auth required/lib64/security/pam_userdb.so DB =/etc/vsftpd/vsftpd_login
Account required/lib64/security/pam_userdb.so DB =/etc/vsftpd/vsftpd_login
Save.
(Three ftp users are created by default. The username and password are defined in the/root/logins.txt file.
A single row is a user name and a double row is a password. You can right-click it to generate the db4 file,
Generated to/etc/vsftpd/vsftpd_login.db,
The permissions of each user are configured in the/etc/vsftpd/user_config/user name file. You can define them by yourself)
After all, run the service vsftpd restart command in shell to start the system.
V1.1.8
For ease of use, when the client starts, the IP port reads the configuration in config. properties.
Fixed the bug where proxy connection fails to be displayed.
The process interface is changed to manual refresh. The process killing function is added to the right-click menu.
If the process is successfully killed, a message is displayed, indicating that the process is successfully killed. If the process fails to be killed, the cause of the failure is displayed.
Click "refresh" to check whether the process is still running in the running list.
Added the "Start" button to start a new process.
You 'd better make the program to be started into a sh run script, then open the process interface and open the file tree of the plug-in at the same time,
Select the script in the tree, right-click the copy path string from the context menu, and click "start,
Paste the path string into the input box of the startup command to run it.
If the instance is successfully started, a prompt is displayed, indicating that the instance is successfully started. If the instance fails to be started, the cause of the failure is displayed.
Added the Yahoo Messenger robot plug-in function. You can talk to your server robot on your mobile phone.
This feature is an advanced feature for paying users.
Each Linux Server robot must have its own independent yahoomessengerid.
The robot owner also needs a yahoomessengerid. And add them as friends.
After you have filled in your yahoomessengerid and password, a registration email will be sent to the author.
The author will contact you and complete the subsequent work for you. If the author does not contact you in time, please call the author.
The author will generate a key for you, and will notify you to re-Modify the robot password.
If you have already registered, click the [read] button. The expiration time of the key is displayed.
Note: If the key expires and you do not renew it, the robot stops working.
You need to set the robot master. Because this robot may have multiple friends, you need to specify which ones are its masters.
Click the Add button and enter the owner's Yahoo Messenger ID (for example, Chen. wen79) in the added friends ),
Select the permission to perform operations through the dialog box.
If none of them are selected, they can only receive various alarms.
If you select "readable", the robot will respond to various query commands.
If you select writeable, the robot will respond to various write operation commands. For example, modifying files.
If you select "run", the robot will respond to the commands of various programs.
Click OK to insert it to the master list.
You can also select a row in the master list for modification and deletion.
Click Save configuration to display your robot logon ID, Server IP address, your contact number, alarm reminder interval, and host list,
Save as a file. Next time, it will automatically load these configurations based on your Connected Server. You do not need to input any more.
Finally, click the start button to start the robot. In addition, the start button is changed to the stop button.
You can see its working status on the left of this button.
The message sending and receiving status is shown below.
If you need to stop a running robot, click the stop button.
If you modify the host list during the time when the robot is working, click the Save configuration button to restart the robot.
After the robot is started, you turn off the Yahoo Messenger robot interface, and the robot is still working normally.
When you open this interface next time, you can still see that it is working.
Unless you have stopped it manually or disabled the main interface of Linux monitor.
Input: H
You can get help information for all commands.
If you want to obtain detailed help information for a command, enter the H command name.
Currently, only various hardware usage alarms and query functions on the main interface are provided. Other functions will be improved in later versions.
Disclaimer:
If a problem occurs on the Yahoo server or your network cannot connect to the Internet,
Or you forget your password because your Yahoo account has been stolen,
As a result, this function cannot be used or may cause economic losses, and the author of this software shall not assume any responsibility.
V1.1.9
Query and monitoring functions are added to the process interface.
The process monitoring function is used to facilitate the query and killing of trojan programs.