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 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/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>
16 <body class="article">
18 <h1>psensor remote monitoring</h1>
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>
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>
36 <div class="listingblock">
38 <pre>psensor --url=server_hostname:3131</pre>
41 <div class="paragraph">
42 <p><code>psensor-server</code> is included in the source package of <code>psensor</code>.</p>
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>
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>
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>
67 <div id="footer-text">
68 Last updated 2016-07-04 09:56:29 CEST