Skip to content

Commit

Permalink
[WEBUI] Custom system header information #2695
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Mar 10, 2024
1 parent 43b355f commit 49977db
Show file tree
Hide file tree
Showing 9 changed files with 238 additions and 236 deletions.
2 changes: 1 addition & 1 deletion conf/glances.conf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ disable=False
#refresh=60
# System information to display (a string where {key} will be replaced by the value) in the Curses interface
# Available information are: hostname, os_name, os_version, os_arch, linux_distro, platform
#system_info_msg=({linux_distro} {platform} / {os_name} {os_version})
#system_info_msg= | My {os_name} system |

[cpu]
disable=False
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/glances.conf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ disable=False
#refresh=60
# System information to display (a string where {key} will be replaced by the value) in the Curses interface
# Available information are: hostname, os_name, os_version, os_arch, linux_distro, platform
#system_info_msg=({linux_distro} {platform} / {os_name} {os_version})
#system_info_msg= | My {os_name} system |

[cpu]
disable=False
Expand Down
7 changes: 3 additions & 4 deletions docs/aoa/header.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ The system information message can be configured in the configuration file

.. code-block:: ini
[system]
system_info_msg=({linux_distro} {platform} / {os_name} {os_version})
**NOTE:** Available information are: hostname, os_name, os_version, os_arch,
linux_distro, platform (use mustache syntax).
# System information to display (a string where {key} will be replaced by the value) in the Curses interface
# Available dynamics information are: hostname, os_name, os_version, os_arch, linux_distro, platform
system_info_msg= | My {os_name} system |
It is possible to disable or define time interval to be used for refreshing the
public IP address (default is 300 seconds) from the configuration
Expand Down
Loading

0 comments on commit 49977db

Please sign in to comment.