KAMP-SIMON-SHELL-CLIENT

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
EXAMPLE
SEE ALSO

NAME

kamp-simon-shell-client - collects and sends data to the backend.

SYNOPSIS

kamp-simon-shell-client [options]

kamp-simon-shell-client -h|--help kamp-simon-shell-client -u|--usage

kamp-simon-shell-client --sign-up

kamp-simon-shell-client --generate-key-file FILE | --force-generate-key-file FILE

kamp-simon-shell-client --print-id

DESCRIPTION

Collects information about the system and sends them to the backend server.

OPTIONS

-h|--help

Show the help message and exit.

-u|--usage

Show the usage message and exit.

-v, --verbose, -d, --debug

Activates debug-prints.
Deactivates quiet.

--generate-key-file FILE

Generates a new key file in FILE and exits the program.

--force-generate-key-file FILE

Same as --generate-key-file but removes FILE before generating a new one.

--print-id

Prints the ID that would be used and exits the program.

-q, --quiet, -s, --silent

Deactivates debug-prints and response output.
Deactivates verbose.

--dry, --dry-run, --simulate

Only collect information, don’t send.

--server URL

Sets the server.

--insecure

Allow "insecure" SSL connections. When specified errors from invalid server certificates are ignored.

--no-insecure

Don’t allow "insecure" SSL connections.

--psk, --pre-shared-key PSK

Specify the pre-shared key to use to authorize against the server.

--key-file FILE

Sets the private key. FILE must be a valid ssh-key-file and must be readable by the user executing the script.

--sign-up

Signs this client up.

--config-file, --config-file FILE

Extend the config with the given config file. If this option is given multiple times, latter config files overwrite the former.

The following options control which information to collect and send.
If two inverse options are given, the latter wins. These options overwrite settings from config files, even if the config files are specified after these options.
--system-info

Collect and send system information.
Invokes kamp-simon-shell-client.system-info.

--no-system-info

Don’t collect and send system information.

--installed-packages

Collect and send installed packages.
Invokes kamp-simon-shell-client.installed-packages.

--no-installed-packages

Don’t collect and send installed packages.

--upgradable-packages

Collect and send upgradable packages.
Invokes kamp-simon-shell-client.upgradable-packages.

--no-upgradable-packages

Don’t collect and send upgradable packages.

--disk-status

Collect and send disk status.
Invokes kamp-simon-shell-client.disk-status.

--no-disk-status

Don’t collect and send disk status.

--pkg-manager-info

Collect and send package manager information.
Invokes kamp-simon-shell-client.pkg-manager-info.

--no-pkg-manager-info

Don’t collect and send package manager information.

--apt-info

Alias for --pkg-manager-info (deprecated).

--no-apt-info

Alias for --no-pkg-manager-info (deprecated).

--all

Collect and send everything.

--no-all

Collect and send nothing.
Useful to ignore defaults and manual whitelist.

EXIT STATUS

1

Unspecified error occured.

2

No key file given.

3

An error occured while sending the data to the server.

4

Given key file does not exist.

5

This client is already signed up.

6

Sign-Up for this client is expired.

7

No config file given.

8

No server given and not simulating.

9

No data requested. After evaluation of config and command line parameters no data would be collected and sent.

10

No PSK given for --psk, --pre-shared-key.

11

Given config file does not exist or is not readable.

12

Automatic sign up failed.

16

No key file given for --generate-key-file.

17

Key file to generate with --generate-key-file already exists.

EXAMPLE

Send everything, except disk status.

kamp-simon-shell-client --all --no-disk-status

Only send system information, ignoring defaults.

kamp-simon-shell-client --no-all --system-info

SEE ALSO

kamp-simon-shell-client.system-info(1), kamp-simon-shell-client.installed-packages(1), kamp-simon-shell-client.upgradable-packages(1), kamp-simon-shell-client.disk-status(1), kamp-simon-shell-client.pkg-manager-info(1).