[WordPress] 外掛分享: IX WeMonit

首頁外掛目錄 › IX WeMonit
WordPress 外掛 IX WeMonit 的封面圖片
全新外掛
安裝啟用
尚無評分
4990 天前
最後更新
問題解決
WordPress 3.4+ v1.0 上架:2012-07-18

內容簡介

WeMonit 是一個監控您的伺服器或網站可用性的服務。他們提供一個免費方案,您可以設置5個服務,當您的伺服器無法使用時,您將通過電子郵件和 iOS 推送收到通知。

IX WeMonit 可以幫助您以文字和圖像顯示這些監控統計資料。這個外掛程式附帶了一個典型的側邊欄部件選項,還有用於相同選項和顯示數據圖形的短代碼和模板標籤。

在外掛程式的選項頁面上,您必須為您的 WeMonit 帳戶設置 API 金鑰。當外掛程式連接到 WeMonit 時,它將顯示所有可用的服務以及相關的短代碼和模板標籤。
部件將出現在您的佈景主題的部件區域中。
作為一個“特殊功能”,該外掛程式添加了將短代碼用於側邊欄部件的功能。通過安裝此外掛程式,您可以在文字部件中使用所有短代碼,就像您在文章和頁面中所做的那樣。
因此,如果您不喜歡內置部件,您可以輕鬆地創建自己的自定義部件。例如,您甚至可以將圖形添加到寬頁腳部件中。

外掛程式可通過短代碼和模板標籤提供以下數據:

Age - WeMonit 監測該服務的秒數
Timespan - 一個格式化的文本片段,用於顯示幾天幾小時內的時間長度
CurrentLatency - 您的 WeMonit 服務的當前延遲
IP4 Uptime Percent - 在 IP4 網絡中,您服務的正常運行時間百分比
IP4 Downtime - 在 IP4 網絡中,您服務的維護時間次數
IP4 Downtime Percent - 在 IP4 網絡中,您服務的維護時間百分比
IP6 Uptime Percent - 在 IP6 網絡中,您服務的正常運行時間百分比
IP6 Downtime - 在 IP6 網絡中,您服務的維護時間次數
IP6 Downtime Percent - 在 IP6 網絡中,您服務的維護時間百分比

圖形僅透過短代碼和模板標籤提供:

IP4 Latency - 一個水平為一周的 IP4 網絡延遲圖形
IP4 Uptime - 水平為一周的 IP4 網絡正常運行圖形
IP6 Latency - 一個水平為一周的 IP6 網絡延遲圖形
IP6 Uptime - 水平為一周的 IP6 網絡正常運行圖形

短代碼和模板標籤名稱遵循簡單的模式,並且只使用一個屬性/參數,即服務 ID。

短代碼示例:[ix_wemonit_getIp4CurrentLatency id="1234"]
模板標籤示例:<?php echo ix_wemonit_getIp4CurrentLatency('1234'); ?>

Links

使用以下連結來保持與外掛程式開發的最新狀態。

WordPress外掛程式目錄
下載
WordPress支援論壇
WordPress SVN 库
Google Code Git 庫

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「IX WeMonit」→ 直接安裝(推薦)

原文外掛簡介

WeMonit is a service, that monitors your server/webseite availability. They offer a free plan, where you can setup 5 services and you got notified by email and iOS-Push, when your server is down.
IX WeMonit helps you to display these monitor stats as text and image. The plugin comes with a typical sidebar widget with lots of options, and also shortcodes and template tags for the same options and to display data graphs.
On the plugins options page, you have to set up your API Key for your WeMonit account. After the plugin connected to WeMonit, it shows all available services and related shortcodes and template tags.
The widget will appear in the widget section of your theme.
As a “special feature”, the plugin adds shortcode ability to sidebar widgets. By installing this plugin, you can use all shortcodes in text widgtes, like you used to do in articles and pages.
So if you dont like the built in widget, you can easily create your own customized widget. i.e. you can even add the graphs to a wide footer widget.
The following data is available by the plugin, via shortcode and template tag

Age – The number of seconds the service is monitored by WeMonit
Timespan – A formatted Textsnippet to display the age as days and hours
CurrentLatency – The current latency of your WeMonit service
IP4 Uptime Percent – Your services uptime in %, in the IP4 network
IP4 Downtime – The number of downtimes of your service in the IP4 network
IP4 Downtime Percent – Your services downtime in %, in the IP4 network
IP6 Uptime Percent – Your services uptime in %, in the IP6 network
IP6 Downtime – The number of downtimes of your service in the IP6 network
IP6 Downtime Percent – Your services downtime in %, in the IP6 network

The graphs are only available with shortcodes and template tags

IP4 Latency – A latency graph with one week on the horizontal scale for the IP4 network
IP4 Uptime – An uptime graph with one week on the horizontal scale for the IP4 network
IP6 Latency – A latency graph with one week on the horizontal scale for the IP6 network
IP6 Uptime – An uptime graph with one week on the horizontal scale for the IP6 network

The shortcode and template tag names follow a simpe pattern and uses only one attribute/paramter, the service ID.

Example shortcode: [ix_wemonit_getIp4CurrentLatency id="1234"]
Example template tag:

Links
Use the following links to stay tuned with the plugin development.

WP Plugin Directory
Download
WP Plugin Forum
WP SVN repository
Google Code Git repository

文章
Filter
Apply Filters
Mastodon