System
System service configuration:
Basic configuration
[system]
spreadsheet_id = "<spreadsheet_id>"
Full configuration
[system]
spreadsheet_id = "<spreadsheet_id>"
# push_interval_secs = 20
# autotruncate_at_usage_percent = 20 # approx 2 days of data under default settings
# scrape_interval_secs = 10
# scrape_timeout_ms = 3000
# messenger.url = "<messenger api url for sending messages>"
# mounts = ["/"]
# names = ["goral"]
With this configuration System service will create the following sheets:
basic
: with general information about the system (boot time, memory, cpus, swap, a number of processes)network
: for every network interface a number of bytes read/written since the previous measurement, total read/writtentop_disk_read
- process which has read the most from disk during the last secondtop_disk_write
- process which has written the most to disk during the last secondtop_cpu
- process with the most cpu time during the last secondtop_memory
- process with the most memory usage during the last secondtop_open_files
(for Linux only) - among the processes with the same user as Goral (!) - process with the most opened files- for every process with name containing one of the substrings in
names
- a sheet with process info. Note: the first match (case sensitive) is used so plan accordingly a unique name for your binary. - for every mount in
mounts
- disk usage and free space. ssh
- for Linux systems ssh access log is monitored. There is astatus
field with the following values:rejected
- ssh user is correct but the key or password is wrong. Also a catchall reason for other unsuccessful connections.invalid_user
- an invalid ssh user (unexisting) was used.timeout
- a timeout on ssh connection happened.wrong_params
- no matching key exchange method found or an invalid format of the keyconnected
- a successful ssh connection is established (by default there is a rule with a warning notification for this event)terminated
- an ssh session (established earlier withconnected
) is terminated
System service doesn't require root privileges to collect the telemetry.
For a process a cpu usage percent may be more than 100% in a case of a multi-threaded process on several cores. memory_used
by process is a resident-set size.
If there is an error while collecting system info, it is sent via a configured messenger or via a default messenger of General service.