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