ServerStatus - A Plugin Of Typecho
前言
原文地址:https://blog.ascv.cn/archives/155.html
最近好多人看到我监控都想找我要插件 ,今天就分享出来,本文章与插件均来自wfblog.net并稍微整理 。
食用方法
1.下载ServerStatus插件
2.解压到/usr/plugins/
目录,重命名为ServerStatus
3.后台启动插件,如果是handsome模板会自动复制独立页面到handsome模板
4.进入插件设置进行相关设置
5.后台添加两个独立页面
5.1.如果是handsome模板,则在自定义模板选择[服务器状态]和[网站状态]
5.2.如果不是handsome模板,则在独立页面内容中填写以下代码
服务器状态:
<iframe src="/ServerStatus/Server" height="540" frameborder="no" border="0" width="100%"></iframe>
网站状态:
<iframe src="/ServerStatus/Website" height="540" frameborder="no" border="0" width="100%"></iframe>
常见问题
权限不足
打开插件提示插件权限不足解决方法:
1.给插件目录plugins
权限777
2.如果还不行给博客目录权限777
插件后台设置
服务器管理配置:
服务器名称* | 任意 |
---|---|
服务器标识* | 任意 |
服务器类型* | 根据自身情况 |
通讯地址* | ip+宝塔端口号 |
通讯密匙* | 面板设置->api接口配置 |
刷新间隔* | 5 |
服务器描述* | 任意 |
更新历程
版本 | 更新内容 |
---|---|
1.0.0 | 粗糙的第一代出生啦 |
1.0.5 | 修复了JQ疯狂请求获取状态内容的BUG) |
1.1.2 | 修复后台点击检测无反应的BUG |
1.2.0 | 将后台的检测反馈更改为和前台一致的SweetAlert |
1.3.1 | 增加了IW3C工作室的IP信息API |
1.3.2 | 进一步优化了IP信息,加入了ISP |
1.3.8 | 优化了前台服务器列表的样式,更好看了 |
1.4.6 | 对宝塔安全入口进行过滤,避免了获取不到内容但是通讯却成功的问题 |
1.5.3 | 修改了Apache/Nginx专用文件,经测试修改前的文件存放于多级目录中返回为空 |
2.0.0 | 跳跃了多个版本,因为更新内容重大(加入非handsome模板获取方式,UptimeRobot的检测页面) |
2.1.0 | 修复了若干BUG,添加了Iframe版网站状态,只有一个服务器时不显示列表 |
结语
如有任何问题可以评论区反馈,本文章限时更新
相关文章
- ICLR2022:Elements of Reasoning:Objects, Structure, and Causality
- 文章目录 Table Of Contents for Typecho
- ORA-19585: premature end of volume on piece string ORACLE 报错 故障修复 远程处理
- ORA-24960: the attribute string is greater than the maximum allowable length of number ORACLE 报错 故障修复 远程处理
- ORA-26866: The Queue of string Apply process “string” is not changeable. ORACLE 报错 故障修复 远程处理
- ORA-00255: error archiving log string of thread string, sequence # string ORACLE 报错 故障修复 远程处理
- ORA-01083: value of parameter “string” is inconsistent with that of other instances ORACLE 报错 故障修复 远程处理
- ORA-06439: ssaio: the asynchronous write returned incorrect number of bytes ORACLE 报错 故障修复 远程处理
- ORA-10997: another startup/shutdown operation of this instance inprogress ORACLE 报错 故障修复 远程处理
- ORA-14263: new subpartition name must differ from that of any other subpartition of the object ORACLE 报错 故障修复 远程处理
- ORA-16781: cannot determine status of redo transport service for standby database ORACLE 报错 故障修复 远程处理
- “Usage of ‘for all entries’ in Select Statement详解编程语言
- Exploring the Superiority of Linux in 3D Testing: A Comprehensive Analysis(linux3d测试)
- 如何使用Redis查看键的过期时间?How to use Redis to view the expiration time of a key?(redis查看过期时间)
- Exploring the Versatile World of Linux with Virt Technology(virtlinux)