Simple, efficient, ad- and bloatfree plugin for testing whether or not a given server address is up for just you, or everyone else on a given port and protocol.
简单,高效,无广告和无膨胀的插件,用于测试给定服务器地址是否适合您自己,或是否适合给定端口和协议上的其他用户。
Servers & services are checked in real-time whenever a user requests to view the page where the shortcode is inserted.
每当用户请求查看插入了简码的页面时,都会实时检查服务器和服务。 p>
Intuitive interface, makes is really easy to maintain servers & services to check.
直观的界面使维护服务器和服务变得非常容易。 p>
You have the ability to filter/hook the message displayed to the user through functions.php in your theme folder.
您可以过滤/挂钩通过主题文件夹中的functions.php显示给用户的消息。 p>
add_filter( "atr_server_success_message", function($message, $server) { add_filter(“ atr_server_success_message”,function($ message,$ server){ return $server->humanname." appears to be working alrstight.";
“返回$ server-> humanname。”似乎工作正常。“;
}, 10, 2);
},10,2);
add_filter( "atr_server_error_message", function($message, $server) {
add_filter(“ atr_server_error_message”,function($ message,$ server){
return $server->humanname." is down.";
返回$ server-> humanname。“关闭。”;
}, 10, 2);
},10,2);
code> pre>
You can also use the filter “atr_perm_administer_servers” to alter the permission being used to check access rights.
您还可以使用过滤器“ atr_perm_administer_servers”来更改用于检查访问权限的权限。 p>
add_filter( "atr_perm_administer_servers", function( $permission ) { add_filter(“ atr_perm_administer_servers”,function($ permission){ $permission = "editor";
$ permission =“编辑器”;
return $permission;
返回$ permission;
} );
});
code> pre>
Shortcode Examples
简码示例 h3>
Displays all servers entered in wp-admin
显示在wp-admin中输入的所有服务器 p>
[server-status] [服务器状态]
code> pre>
Display server by certain id
按特定ID显示服务器 p>
[server-status id="X"] [服务器状态ID =“ X”]
code> pre>
Display servers by multiple id’s
按多个ID显示服务器 p>
[server-status id="X,X,X"] [服务器状态ID =“ X,X,X”]
code> pre>
Excludes certain posts from display, only works if ‘id’ is not set.
从显示中排除某些帖子,仅在未设置“ id”的情况下有效。 p>
[server-status exclude="X"] [服务器状态排除=“ X”]
code> pre>
Features
功能 h3>
- Supports most common protocols (TCP, UDP, HTTP, HTTPS) (FTP is on the todo)
- 支持最常见的协议(TCP,UDP,HTTP,HTTPS)(FTP待办事项) li>
- Define a human friendly readable name for display
- 定义一个易于阅读的易读名称 li>
- Define hostname
- 定义主机名 li>
- Define port
- 定义端口 li>
- Define timeout in seconds
- 以秒为单位定义超时 li>
- Define protocol
- 定义协议 li>
- Drag’n’drop ordering
- 拖放订购 li>
- Edit and delete servers/services
- 编辑和删除服务器/服务 li>
- Shortcodes for checking one or more servers frontend
- 用于检查一个或多个服务器前端的简码 li>
- Simple, clear and well explained settings page
- 简单,清晰且说明充分的设置页面 li>
- Filter available configurations
- 过滤可用配置 li>
- Settings page with various configrations to suit your needs
- 具有各种配置的设置页面可以满足您的需求 li>
- Possible to disable/enable servers and services
- 可以禁用/启用服务器和服务 li>
- Includes a widget for displaying servers in sidebars
- 包括用于在边栏中显示服务器的小部件 li>
ul>
Is this plugin for you?
这个插件适合您吗? h3>
If you’re looking for a full fledged server monitoring tool, no.
如果您正在寻找完整的服务器监控工具,则不会。
Consider using thirdparty software such as zabbix instead
考虑使用第三方软件,例如 zabbix p>
Otherwise, if you just want to provide a service, for your users/visitors to check whether or not one or more of your servers is running healthy then yes, this is for you.
否则,如果您只想提供服务,请您的用户/访问者检查您的一台或多台服务器是否运行正常,那么可以,这是给您的。 p>
Feature requests
功能请求 h3>
Think this plugin is missing a feature?
认为此插件缺少功能吗?
I’ll gladly discuss any feature requests sent to me either through the wordpress support forums, or via my contact formular.
我将很高兴讨论通过wordpress支持论坛或联系公式向我发送的所有功能请求。 p>
Keep in mind, features must be able to fit seamlessly with the core wordpress UI, and must not be intrusive, or considered adware.
请记住,功能必须能够与Wordpress核心UI无缝配合,并且不得具有干扰性或被视为广告软件。 p>
Got a question?
有问题吗? h3>
If you have any questions not answered here, do feel free to send me an email and I'll do
如果您在此处未回答任何问题,请随时给我发送电子邮件,我会做
my best to answer you within 48 hours.
我会在48小时内给您答复。 p>
Response time is usually faster if you send me a mail, instead of using the wordpress support forums.
如果您给我发送邮件,而不是使用wordpress支持论坛,则响应时间通常会更快。 p>