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