Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ProphetHJK
LinuxMonitor
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
LinuxMonitor
/
config.ini
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
54 lines (49 loc) · 1.5 KB
master
Breadcrumbs
LinuxMonitor
/
config.ini
Copy path
Top
File metadata and controls
Code
Blame
54 lines (49 loc) · 1.5 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# 参数没做合法性检测
[wechatpush]
# 企业微信企业ID
corpid = wwxxxxxxxxxxxxxxxx
# 自建应用agentid
agentid = 1xxxxxx
# 自建应用secret
secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# (目前没用)消息接收用户id,如果多个用户用英文','隔开,@all表示所有人
userid = @all
[monitor]
# cpu温度文件位置,不同开发板都不一样,这里以orangepi4 armbian系统为例
cpu_temperature_file = /etc/armbianmonitor/datasources/soctemp
# cpu温度原始值的精度,比如读出来是55000,实际是55摄氏度,就填1000
cpu_temperature_scaler = 1000
# 要监控的磁盘挂载目录,df命令能查看
disk_mount_point = /mnt/disk3
# 用于检测网络连通性的网址或ip,如www.baidu.com
ping_siteorip = 192.168.123.1
# 总体检测间隔,秒
time_interval = 3600
# 要监控的服务的名称
service1_name = socks1
# 要监控的服务的名称
service2_name = socks2
# 检测时间段
start_hour_day = 8
end_hour_day = 23
start_day_week = 1
end_day_week = 5
[switch]
# pc监控开关
pc_power_switch = 0
# 服务监控
service_switch = 0
[threshold]
# cpu温度阈值,摄氏度
cpu_temperature_threshold = 60
# cpu总占用率阈值,%
cpu_usage_threshold = 30
# RAM空闲容量阈值,MB
ram_free_threshold = 300
# 网络检测重启前失败次数
ping_error_count_threshold = 3
# 磁盘空闲容量阈值,GB
disk_free_threshold = 200
[log]
# 日志保存位置,需要自行新建并赋予权限
log_file_path = /var/log/orangepi4monitor.log
You can’t perform that action at this time.