PR

サーバー死活監視ツール – Website Load Tool

Website Load Tool は、Windows で動作するサーバー死活監視ツールの1つ。

ダウンロード

「Datadrop Website Load Tool」からダウンロード。

スポンサードリンク

※「WebsiteLoadTool.application」をダウンロードする方法のほかに、インストーラーも用意されている
※Windows7 SP1 64bit で試用した

インストール

「WebsiteLoadTool.application」を実行するとインストールが完了する。

使い方

Website Load Tool を起動する。

起動したところ。

監視対象の追加

Settings をクリックする。

NewWebsite をクリックする。

ID は自動決定されるらしい。Name とURI を設定してOK をクリックする。

チェック

Check Selected をクリックすると、リスト上で選択している対象をチェックできる。

チェックしたところ。

Start をクリックすると自動チェックする(後述参照)。

そのほか

インターバル

Settings のGeneric タブでログファイルに関する設定やインターバル設定ができる。初期設定では5秒となっている。

通知機能

Website Load Tool に通知は無いらしいが、対象サーバーについてはXML ファイルに保存される。これを上手く利用すれば、簡易的な通知機能や死活監視結果を公開することもできるかもしれない(後述参照)。

ログファイル

全体のログのほか、対象ごとにXML ファイルに保存されているらしい。

Note: The test result file ‘(Website.ID}_Results.xml’ inside the application installation folder will not be removed automatically.

By Pressing OK the websites will be stored inside an XML file called websites.xml at the location where the application is installed. Note: It is possible that you enter your own websites directly in the XML file
(「Datadrop Website Load Tool」より引用)

テスト環境では「C:\Users\Owner\AppData\Local\Apps\2.0\952JK4TL.QN8\L3Z6NZR0.5EY\webs..tion_b4caa18329a867a0_0001.0000_9e15653643569731」に保存されていた(「7bd378c4-ab38-4421-91c5-af57166170cc_Results.xml」などになっていた)。

参考

<?xml version="1.0"?>
<ArrayOfWebsiteLoadResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <WebsiteLoadResult>
    <ID>b63cbec3-241b-49dd-b33a-cc2544042ea3</ID>
    <Status>Success</Status>
    <StartDateTime>2012-04-24T10:38:38.6965247+09:00</StartDateTime>
    <EndDateTime>2012-04-24T10:38:38.877535+09:00</EndDateTime>
    <Message>Succesfully downloaded 61,034 bytes</Message>
    <Duration>PT0.1810103S</Duration>
  </WebsiteLoadResult>
  <WebsiteLoadResult>
    <ID>60e01d57-7b1b-4216-9a31-93a1535fb7ae</ID>
    <Status>Success</Status>
    <StartDateTime>2012-04-24T10:38:33.6892383+09:00</StartDateTime>
    <EndDateTime>2012-04-24T10:38:33.8992503+09:00</EndDateTime>
    <Message>Succesfully downloaded 61,034 bytes</Message>
    <Duration>PT0.210012S</Duration>
  </WebsiteLoadResult>
</ArrayOfWebsiteLoadResult>

参考

サーバーのリストは「Websites.xml」に保存されている。

<?xml version="1.0"?>
<ArrayOfWebsite xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Website>
    <ID>83aa8699-5e9f-45bc-b226-9bd03c118f0c</ID>
    <Name>example.com</Name>
    <URI>http://example.com</URI>
  </Website>
  <Website>
    <ID>7bd378c4-ab38-4421-91c5-af57166170cc</ID>
    <Name>dummy.example.com</Name>
    <URI>http://dummy.example.com</URI>
  </Website>
</ArrayOfWebsite>

参考

この例の場合、「Websites.xml」にID 「7bd378c4-ab38-4421-91c5-af57166170cc」があり、「7bd378c4-ab38-4421-91c5-af57166170cc_Results.xml」に結果が保存されている。

参考文献

  • ネットワーク、サーバの死活監視に。デスクトップからサーバの状態を監視「Website Load Tool」 – MOONGIFT|オープンソース・ソフトウェア紹介を軸としたITエンジニア、Webデザイナー向けブログ

コメント