added information about remote monitoring
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 13 Jun 2016 16:24:25 +0000 (18:24 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 13 Jun 2016 16:24:25 +0000 (18:24 +0200)
psensor-www-update.sh
src/psensor/remote.adoc [new file with mode: 0644]
www/psensor/remote.html [new file with mode: 0644]

index 6dd761f..bbbc573 100755 (executable)
@@ -25,3 +25,4 @@ asciidoctor $OPTS $GIT_DIR/psensor/doc/TODO.txt -D www/psensor
 
 asciidoctor $OPTS src/psensor/index.adoc -D www/psensor
 asciidoctor $OPTS src/psensor/ubuntu.adoc -D www/psensor
+asciidoctor $OPTS src/psensor/remote.adoc -D www/psensor
diff --git a/src/psensor/remote.adoc b/src/psensor/remote.adoc
new file mode 100644 (file)
index 0000000..06236f8
--- /dev/null
@@ -0,0 +1,27 @@
+
+= psensor remote monitoring
+:docinfo2:
+
+`psensor-server` is a minimalist Web server hosting
+a JSON Web service which allows `psensor` to monitor a remote computer.
+
+== Usage
+
+`psensor-server` must be run on the monitored computer then run psensor
+on the desktop computer with the following command line:
+
+----
+psensor --url=server_hostname:3131
+----
+
+`psensor-server` is included in the source package of `psensor`.
+
+== Psensor Server Web Server
+
+In addition to psensor, you can also use any browser to view the information of the remote computer. Just open the URL: http://server_hostname:3131.
+
+image:http://wpitchoune.net/psensor/screenshots/psensor_server_20120326.png[]
+
+== Security
+
+psensor-server does not provide any way to restrict the connection to the HTTP server, worst, no effort has been made against malicious HTTP attacks.  You should make the psensor-server port available only to a network or computer you trust by using the usual network security tools of the system (for example, iptables).
diff --git a/www/psensor/remote.html b/www/psensor/remote.html
new file mode 100644 (file)
index 0000000..4b2632b
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="generator" content="Asciidoctor 1.5.4">
+<title>psensor remote monitoring</title>
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
+<link rel="stylesheet" href="./asciidoctor.css">
+<link rel="stylesheet" href="style.css">
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
+<script src="nav.js"></script>
+</head>
+<body class="article">
+<div id="header">
+<h1>psensor remote monitoring</h1>
+</div>
+<div id="content">
+<div id="preamble">
+<div class="sectionbody">
+<div class="paragraph">
+<p><code>psensor-server</code> is a minimalist Web server hosting
+a JSON Web service which allows <code>psensor</code> to monitor a remote computer.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_usage">Usage</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p><code>psensor-server</code> must be run on the monitored computer then run psensor
+on the desktop computer with the following command line:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>psensor --url=server_hostname:3131</pre>
+</div>
+</div>
+<div class="paragraph">
+<p><code>psensor-server</code> is included in the source package of <code>psensor</code>.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_psensor_server_web_server">Psensor Server Web Server</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>In addition to psensor, you can also use any browser to view the information of the remote computer. Just open the URL: <a href="http://server_hostname:3131" class="bare">http://server_hostname:3131</a>.</p>
+</div>
+<div class="paragraph">
+<p><span class="image"><img src="http://wpitchoune.net/psensor/screenshots/psensor_server_20120326.png" alt="psensor server 20120326"></span></p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_security">Security</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>psensor-server does not provide any way to restrict the connection to the HTTP server, worst, no effort has been made against malicious HTTP attacks.  You should make the psensor-server port available only to a network or computer you trust by using the usual network security tools of the system (for example, iptables).</p>
+</div>
+</div>
+</div>
+</div>
+<div id="footer">
+<div id="footer-text">
+Last updated 2016-06-13 18:24:18 CEST
+</div>
+</div>
+</body>
+</html>
\ No newline at end of file