From 5dd49a8296a4d999da0e9db26877bad5a9099025 Mon Sep 17 00:00:00 2001 From: Rinigus Date: Sat, 9 Jul 2016 00:08:38 +0300 Subject: [PATCH] update help to include very short howto. version bump --- qml/HelpText.qml | 35 ++++++++++++++++++++++++++++++++- rpm/systemdatascope.spec | 2 +- rpm/systemdatascope.yaml | 2 +- translations/systemdatascope.ts | 4 ++++ 4 files changed, 40 insertions(+), 3 deletions(-) diff --git a/qml/HelpText.qml b/qml/HelpText.qml index 653cdef..f5726d5 100644 --- a/qml/HelpText.qml +++ b/qml/HelpText.qml @@ -17,6 +17,26 @@ configuration on this level.

" ) + " On Desktop, press Esc or the right mouse button to get out of this HOWTO. On Sailfish, swipe the page back, as usual.

+

Very short version

+ +

For those who are just checking out and/or are trusting the default settings:

+ +
    +
  1. Go to Settings, select Use " + programName + " to enable/disable collectd.
  2. +
  3. In Settings, select Run collectd and, if you wish, Enable collectd on boot. +Note that when you select Run, GUI may revert back Help screen or graph list.
  4. +
  5. Close GUI and wait for 10 minutes. You can close it after 10 minutes, but GUI restart is needed.
  6. +
  7. Start the GUI and check if a directory corresponding to running collectd passed a check in Status.
  8. +
  9. Go to Settings, scroll down, and push the button to Generate definitions.
  10. +
+ +

If it all worked, you are all set and can proceed monitoring your system. To see the generated outline of graphs +and other info regarding GUI, go to Status (Sailfish only at present). In Status, you could also copy the state to +clipboard via pulley menu. If you wish to know more, something failed, or you want to +tune it, read on.

+ +

Below, is more detailed HOWTO

+

Start collectd

If you have not started collectd, then you have to start it. This GUI supports systemd and you could use it for starting/stopping and @@ -78,6 +98,11 @@ and should be filled (at least the running one) if collectd runs. The second directory (on collectd stopped) would get filled when collectd has been stopped earlier.

+

After setting directory(ies), go to Status to see if the directory(ies) +are passing the check. If you just started, you are mainly interested in the +directory that corresponds to current collectd state (running or stopped).

+ +

Configuration loading by GUI

Note that when configuration is changed by loading a new one in @@ -89,7 +114,15 @@ file is unavailable, the corresponding graph will not be shown. If the file appeared later, you would have to reload configuration to get it detected.

-

Make configuration using a helper script

+

At any stage, you could check the configuration under Status.

+ +

Make configuration from GUI

+ +

Go to Settings and press the button Generate configuration. The configuration +script will be run by GUI and configuration loaded from it. If it works, you are all +set.

+ +

Make configuration using a helper script and command line

The helper script requires python2.7, which should be installed as dependency in Sailfish .

diff --git a/rpm/systemdatascope.spec b/rpm/systemdatascope.spec index 8eab086..59cd77a 100644 --- a/rpm/systemdatascope.spec +++ b/rpm/systemdatascope.spec @@ -13,7 +13,7 @@ Name: systemdatascope %{!?qtc_make:%define qtc_make make} %{?qtc_builddir:%define _builddir %qtc_builddir} Summary: System Data Scope -Version: 0.1.2 +Version: 0.2.0 Release: 1 Group: Qt/Qt License: MIT diff --git a/rpm/systemdatascope.yaml b/rpm/systemdatascope.yaml index 27eaa47..38e6da6 100644 --- a/rpm/systemdatascope.yaml +++ b/rpm/systemdatascope.yaml @@ -1,6 +1,6 @@ Name: systemdatascope Summary: System Data Scope -Version: 0.1.2 +Version: 0.2.0 Release: 1 # The contents of the Group field should be one of the groups listed here: # http://gitorious.org/meego-developer-tools/spectacle/blobs/master/data/GROUPS diff --git a/translations/systemdatascope.ts b/translations/systemdatascope.ts index f5b18b1..a2c325d 100644 --- a/translations/systemdatascope.ts +++ b/translations/systemdatascope.ts @@ -210,6 +210,10 @@ Generate definitions + + Generate graph definitions using systemdatascope-makeconfig: + + StatusPL