{"id":55267,"date":"2017-03-27T13:38:45","date_gmt":"2017-03-27T13:38:45","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/atr-server-status\/"},"modified":"2024-10-08T13:52:15","modified_gmt":"2024-10-08T13:52:15","slug":"atr-server-status","status":"publish","type":"plugin","link":"https:\/\/cs.wordpress.org\/plugins\/atr-server-status\/","author":15157335,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5.1","stable_tag":"1.5.1","tested":"5.8.13","requires":"4.0","requires_php":"5.6","requires_plugins":null,"header_name":"ATR Server Status","header_author":"Allan Thue Rehhoff","header_description":"","assets_banners_color":"","last_updated":"2024-10-08 13:52:15","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/rehhoff.me","header_author_uri":"https:\/\/rehhoff.me","rating":4.3,"author_block_rating":0,"active_installs":100,"downloads":8054,"num_ratings":11,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.2":{"tag":"1.1.2","author":"rehhoff","date":"2017-03-28 16:57:09"},"1.1.3":{"tag":"1.1.3","author":"rehhoff","date":"2017-03-29 16:21:41"},"1.1.4":{"tag":"1.1.4","author":"rehhoff","date":"2017-04-10 20:28:11"},"1.2.0":{"tag":"1.2.0","author":"rehhoff","date":"2017-11-08 09:49:34"},"1.2.1":{"tag":"1.2.1","author":"rehhoff","date":"2017-11-08 19:53:13"},"1.2.2":{"tag":"1.2.2","author":"rehhoff","date":"2017-11-08 21:08:34"},"1.2.3":{"tag":"1.2.3","author":"rehhoff","date":"2017-11-25 01:27:23"},"1.2.4":{"tag":"1.2.4","author":"rehhoff","date":"2018-03-15 22:19:28"},"1.3.0":{"tag":"1.3.0","author":"rehhoff","date":"2018-11-03 11:12:33"},"1.3.4":{"tag":"1.3.4","author":"rehhoff","date":"2019-02-15 07:49:18"},"1.4.0":{"tag":"1.4.0","author":"rehhoff","date":"2019-08-06 09:03:02"},"1.4.1":{"tag":"1.4.1","author":"rehhoff","date":"2019-08-24 09:32:09"},"1.4.3":{"tag":"1.4.3","author":"rehhoff","date":"2019-11-13 12:37:59"},"1.5.0":{"tag":"1.5.0","author":"rehhoff","date":"2020-10-08 14:11:44"},"1.5.1":{"tag":"1.5.1","author":"rehhoff","date":"2024-10-08 13:52:15"}},"upgrade_notice":{"":"<p>It is as always, recommended that you take a full backup of both your database and files, prior to updating plugins.\nI will do my best to maintain backwards compatibility, but please watch out for breaking changes in the changelog.<\/p>"},"ratings":{"1":2,"2":0,"3":0,"4":0,"5":9},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1634801,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.2","1.1.3","1.1.4","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.3.4","1.4.0","1.4.1","1.4.3","1.5.0","1.5.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1622962,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1622962,"resolution":"2","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[133603,133605,2925,55682,133604],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-55267","plugin","type-plugin","status-publish","hentry","plugin_tags-check-server","plugin_tags-check-service","plugin_tags-server","plugin_tags-server-status","plugin_tags-service-status","plugin_committers-rehhoff"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/atr-server-status\/assets\/icon-128x128.png?rev=1634801","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/atr-server-status\/assets\/screenshot-1.png?rev=1622962","caption":""},{"src":"https:\/\/ps.w.org\/atr-server-status\/assets\/screenshot-2.png?rev=1622962","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>Important notice<\/strong>\nThis plugin is no longer in active development, do not use in high-availability environments.<\/p>\n\n<p>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.\nServers &amp; services are checked in real-time whenever a user requests to view the page where the shortcode is inserted.<\/p>\n\n<p>Intuitive interface, makes is really easy to maintain servers &amp; services to check.<\/p>\n\n<p>You have the ability to filter\/hook the message displayed to the user through functions.php in your theme folder.<\/p>\n\n<pre><code>add_filter( \"atr_server_success_message\", function($message, $server) {\n    return $server-&gt;humanname.\" appears to be working alrstight.\";\n}, 10, 2);\n\nadd_filter( \"atr_server_error_message\", function($message, $server) {\n    return $server-&gt;humanname.\" is down.\";\n}, 10, 2);\n<\/code><\/pre>\n\n<p>You can also use the filter \"atr_perm_administer_servers\" to alter the permission being used to check access rights.<\/p>\n\n<pre><code>add_filter( \"atr_perm_administer_servers\", function( $permission ) {\n    $permission = \"editor\";\n    return $permission;\n} );\n<\/code><\/pre>\n\n<h3>Shortcode Examples<\/h3>\n\n<p>Displays all servers entered in wp-admin<\/p>\n\n<pre><code>[server-status]\n<\/code><\/pre>\n\n<p>Display server by certain id<\/p>\n\n<pre><code>[server-status id=\"X\"]\n<\/code><\/pre>\n\n<p>Display servers by multiple id's<\/p>\n\n<pre><code>[server-status id=\"X,X,X\"]\n<\/code><\/pre>\n\n<p>Excludes certain posts from display, only works if 'id' is not set.<\/p>\n\n<pre><code>[server-status exclude=\"X\"]\n<\/code><\/pre>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Supports most common protocols (TCP, UDP, HTTP, HTTPS) (FTP is on the todo)<\/li>\n<li>Define a human friendly readable name for display<\/li>\n<li>Define hostname<\/li>\n<li>Define port<\/li>\n<li>Define timeout in seconds<\/li>\n<li>Define protocol<\/li>\n<li>Drag'n'drop ordering<\/li>\n<li>Edit and delete servers\/services<\/li>\n<li>Shortcodes for checking one or more servers frontend<\/li>\n<li>Simple, clear and well explained settings page<\/li>\n<li>Filter available configurations<\/li>\n<li>Settings page with various configrations to suit your needs<\/li>\n<li>Possible to disable\/enable servers and services<\/li>\n<li>Includes a widget for displaying servers in sidebars<\/li>\n<\/ul>\n\n<h3>Is this plugin for you?<\/h3>\n\n<p>If you're looking for a full fledged server monitoring tool, no. Consider using thirdparty software such as <a href=\"https:\/\/zabbix.org\/wiki\/Main_Page\">zabbix instead<\/a><\/p>\n\n<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>\n\n<h3>Feature requests<\/h3>\n\n<p>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.<\/p>\n\n<p>Keep in mind, features must be able to fit seamlessly with the core wordpress UI, and must not be intrusive, or considered adware.<\/p>\n\n<h3>Got a question?<\/h3>\n\n<p>If you have any questions not answered here, do feel free to <a href=\"https:\/\/rehhoff.me\/contact\">send me an email<\/a> and I'll do my best to answer you within 48 hours.<\/p>\n\n<p>Response time is usually faster if you send me a mail, instead of using the wordpress support forums.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin<\/li>\n<li>Configure the servers\/services you want to check against in \"Server Status\" within wp-admin<\/li>\n<li>Insert one of the provided shortcodes on the desired page, and or post.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20require%20anything%20special%3F'><h3>Does this plugin require anything special?<\/h3><\/dt>\n<dd><p>This plugin depends heavily on the curl_* and fsockopen(); PHP functions, however such functions are enabled by default on the majority of webhosts.\nAlso check that you have \"allow_url_fopen\" set to 'On' or '1'<\/p><\/dd>\n<dt id='server%20checks%20are%20stuck%20at%20%22checking%20server%20status%22'><h3>Server checks are stuck at \"Checking server status\"<\/h3><\/dt>\n<dd><p>It is important that you don't have the same server appearing twice on the same page, doing so WILL break the functionality for all server checks.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>Tested with WordPress 8.1<\/li>\n<li>Compatibility: Fixed CSS conflict with Advanced Custom Fields: Extended<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Rewritten the way status messages are handled, now employs WP transients instead of PHP sessions.<\/li>\n<li>Tested with WordPress v5.5.1 and PHP7.4<\/li>\n<li>Deleted unused file.<\/li>\n<\/ul>\n\n<h4>1.4.3<\/h4>\n\n<ul>\n<li>Compatiblity: Confirmed working with WordPress 5.3.1<\/li>\n<li>UI: Changed admin alert message when setting server protocols to HTTP(s) or UDP, to be less intrusive.<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>Security Update: Removing Leftover debug code.<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Security Update: Removing Leftover debug code.<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>New Feature: Individual servers can now be disabled\/enabled<\/li>\n<li>New Feature: Shortcode Parameter to exclude servers by ID<\/li>\n<li>Updated readme.txt to include shortcode documentation<\/li>\n<\/ul>\n\n<h4>1.3.4<\/h4>\n\n<ul>\n<li>Compatiblity: Minimum required PHP version is now 5.6<\/li>\n<li>Compatiblity: Tested with wordpress 5.1<\/li>\n<li>Coding Standards:  More core coding standards improvements.<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>Fixing an ugly bug that crept in with 1.3.1  <\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Bugfix: Fixed a bug that would prevent 2 shortcodes from being used on the same page.  <\/li>\n<li>Minor: Behind the scenes improvements.  <\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Compatibility: Tested with wordpress 5.0<\/li>\n<li>UI: Changed menu icon to a more suitable one.<\/li>\n<li>UI: Added a promotion to rate this plugin (Don't worry, you can easily disable it under configurations.)<\/li>\n<li>UI: Added a plugin settings link on plugins overview page.<\/li>\n<li>Added a server status widget.<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>Security Update: Access checks now uses wordpress current_user_can(); instead of in_array();<\/li>\n<li>Compatibility: Added Dark Mode plugin compatibility.<\/li>\n<li>Compatibility: Added some required plugin compatibility checks.<\/li>\n<li>Coding Standards: Getting up to scratch with wordpress coding standards.<\/li>\n<li>Coding Standards: Started documenting plugin functions, using docblock syntax<\/li>\n<li>Errors: Added an error message to the frontend when a non-existant server ID is added to the shortcode. (Only visible to users with sufficient privileges)<\/li>\n<li>Bugfix: Fixed incorrect \"atr_success_message\" filter name, renamed properly to \"atr_server_success_message\".<\/li>\n<li>Bumped compatible wordpress version to 4.9.4.<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>New setting: attempt to bypass cached results.<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Critical Hotfix: Fixing javascript ReferenceError breaking site javascript.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>New setting: SSL Verify Peer.<\/li>\n<li>New Setting: SSL Verify Host.<\/li>\n<li>New setting: Request Execution Order.<\/li>\n<li>Servers boxes now matches elementor page builders alerts (border-left added).<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added new configurations page.<\/li>\n<li>Introduced a settings API, documentation to come at some point.<\/li>\n<li>Some more translateable strings.<\/li>\n<li>Bumped WordPress version compatibility.<\/li>\n<li>Hopefully? Fixed drag-handle sorting, changed icon from ui to dashicons.<\/li>\n<li>Updated plugin description.<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>More translateable strings<\/li>\n<li>Implemented a more responsive experience in backend<\/li>\n<li>Rephrased table heading descriptions to be a bit more descriptive<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Bugfix &amp; security update.<\/li>\n<li>Fixed rare scenario where privilege escalation could occur during saving a servers data.<\/li>\n<li>Fixed CSRF vulnerabilities, when adding\/editing\/deleting server data.<\/li>\n<li>Rmove JS console.log breaking &lt;= IE 7<\/li>\n<li>Some strings are now translateable (More to come in future releases)<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Added filters for messages displayed to the user.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Added sanitization function.<\/li>\n<li>Now stripping sanitizing any data going into the database.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Fixed bug where only 5 server would be displayed in backend<\/li>\n<li>Code Refactoring for publishing this plugin<\/li>\n<li>Added assets, and readme files.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Important notice","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/55267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=55267"}],"author":[{"embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rehhoff"}],"wp:attachment":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=55267"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=55267"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=55267"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=55267"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=55267"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=55267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}