97074e99c2399db597c5fdb6a908489076ca187a
[www.git] / www / psensor / remote.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta name="generator" content="Asciidoctor 1.5.4">
8 <title>psensor remote monitoring</title>
9 <link rel="stylesheet" href="./../style.css">
10 <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
11 <script src="nav.js"></script>
12 </head>
13 <body class="article">
14 <div id="header">
15 <h1>psensor remote monitoring</h1>
16 </div>
17 <div id="content">
18 <div id="preamble">
19 <div class="sectionbody">
20 <div class="paragraph">
21 <p><code>psensor-server</code> is a minimalist Web server hosting
22 a JSON Web service which allows <code>psensor</code> to monitor a remote computer.</p>
23 </div>
24 </div>
25 </div>
26 <div class="sect1">
27 <h2 id="_usage">Usage</h2>
28 <div class="sectionbody">
29 <div class="paragraph">
30 <p><code>psensor-server</code> must be run on the monitored computer then run psensor
31 on the desktop computer with the following command line:</p>
32 </div>
33 <div class="listingblock">
34 <div class="content">
35 <pre>psensor --url=server_hostname:3131</pre>
36 </div>
37 </div>
38 <div class="paragraph">
39 <p><code>psensor-server</code> is included in the source package of <code>psensor</code>.</p>
40 </div>
41 </div>
42 </div>
43 <div class="sect1">
44 <h2 id="_psensor_server_web_server">Psensor Server Web Server</h2>
45 <div class="sectionbody">
46 <div class="paragraph">
47 <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>
48 </div>
49 <div class="paragraph">
50 <p><span class="image"><img src="http://wpitchoune.net/psensor/screenshots/psensor_server_20120326.png" alt="psensor server 20120326"></span></p>
51 </div>
52 </div>
53 </div>
54 <div class="sect1">
55 <h2 id="_security">Security</h2>
56 <div class="sectionbody">
57 <div class="paragraph">
58 <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>
59 </div>
60 </div>
61 </div>
62 </div>
63 <div id="footer">
64 <div id="footer-text">
65 Last updated 2016-06-13 18:24:18 CEST
66 </div>
67 </div>
68 </body>
69 </html>