From cb55b0999457d360be3bbd245eb9fd7c56f7ebb2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Mon, 13 Jun 2016 18:24:25 +0200 Subject: [PATCH] added information about remote monitoring --- psensor-www-update.sh | 1 + src/psensor/remote.adoc | 27 +++++++++++++++++++ www/psensor/remote.html | 71 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 src/psensor/remote.adoc create mode 100644 www/psensor/remote.html diff --git a/psensor-www-update.sh b/psensor-www-update.sh index 6dd761f..bbbc573 100755 --- a/psensor-www-update.sh +++ b/psensor-www-update.sh @@ -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 index 0000000..06236f8 --- /dev/null +++ b/src/psensor/remote.adoc @@ -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 index 0000000..4b2632b --- /dev/null +++ b/www/psensor/remote.html @@ -0,0 +1,71 @@ + + + + + + + +psensor remote monitoring + + + + + + + + +
+
+
+
+

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.

+
+
+

psensor server 20120326

+
+
+
+
+

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).

+
+
+
+
+ + + \ No newline at end of file -- 2.7.4