Use of Opserver monitoring tools and opserver tools
Use of Opserver monitoring tools
Opserver is an open-source monitoring solution for Stack Overflow. It is released by Stack Exchange and built based on the. NET Framework. Open Source Address: https://github.com/opserver/Opserver.
You only need to download it and compile and release it to IIS. However, you may encounter problems due to the need to modify the configuration and. NET version:
We recommend that you use version 2012 or later.
There are two projects in the solution: the first is the site to be deployed, and the second is the core class library of the system.
1.. NET version problems (. NET version needs to be installed correctly, otherwise it will encounter different bugs when published to IIS)
For example, the following error message is displayed :"!! 0 [] System. Array. Empty ()"
Install. NET4.6. If not, install. NET4.6.1.
2. Modify redis Configuration
RedisSettings. json. example
SecuritySettings. config. example
Copy the preceding two files and rename them as RedisSettings. json and SecuritySettings. config. Remove. example.
For the SecuritySettings. config file, only the following content is retained (no authentication is required, Click Log On directly ):
<? Xml version = "1.0" encoding = "UTF-8"?>
<SecuritySettings provider = "alladmin"/>
For the RedisSettings. json file, modify the Servers node to set the redis address to local and the port number to 6379.
"Servers ":[
{
"Name": "127.0.0.1 ",
"Instances": [{"name": "Machine Learning", "port": "6379"}]
}
]