Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine Servers Status and System Monitors #868

Open
shoulders opened this issue Jul 26, 2024 · 5 comments
Open

Combine Servers Status and System Monitors #868

shoulders opened this issue Jul 26, 2024 · 5 comments

Comments

@shoulders
Copy link

shoulders commented Jul 26, 2024

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.4
Webmin version 2.111
Usermin version 2.010
Virtualmin version 7.20.2  
Theme version 21.10
Package updates All installed packages are up to date

background

There are 2 widgets in Virtualmin that do almost the same job (some small differences which I will address below)

  • System Monitors (from Webmin)
    image
  • Server Status (Virtualmin only)
    image

the issue

  • System Monitors are not enabled by default (I thought mine was though)
  • The default set of System Monitors is what comes with Webmin and is not really related to the services installed by Virtualmin
  • System Monitors and Server Status have shared functionality that does not need to be replicated
  • System Monitors does not have a service stop/start/restart button collection
  • System Monitors ias missing quite a few of the services from the server Status widget such as SASL and FirewallD

proposed solution and improvements

  • System Monitors
    • should be enabled by default by the Virtualmin installer
    • Virtualmin installer should configure the System Monitors that are selected and enabled
    • a service stop/start/restart button collection should be added when a monitor is a service
    • Pre-configured monitors added by Virtualmin could have a flag to prevent them getting deleted but otherwise edited
    • The different PHP versions monitors should be added and removed as they were with Server status
    • A watchdog option should be added via checkbox. I know you can add commands to run when the service is discovered to be down but this is not as easy. this watchdog perhaps could have a only retry X number of times before keeping it oof permanently.
    • add an enable/disable option for a monitor, this prevent a user from deleting and monitor to stop it working and would lend itself to the Virtualmin installer configuring mandatory services.
    • ability to change the order of the monitors and this would be reflected in the widget.
    • add the missing Virtualmin services into the monitor list so a user can easily configure them
  • Server Status
    • This widget should be retired

Example default System Monitors widget

image

additional

@jcameron
Copy link
Collaborator

Yeah I think actually we shouldn't show the Server Status tab by default, at least on Virtualmin installs...

@jcameron
Copy link
Collaborator

In fact I'm pretty sure it's not on by default! If it is, editing /etc/webmin/status/config and changing sysinfo=1 to sysinfo=0 should disable it.

@shoulders
Copy link
Author

I will confirm the tab status on my fresh I stall tommorow, but I think combining them reduces duplication

@jcameron
Copy link
Collaborator

I don't want to combine them necessarily because systems with only Webmin won't have the "Server Status" widget.

Also, I typed wrong in the comment above - it should be the "System Monitors" widget that is disabled in Virtualmin installs.

@shoulders
Copy link
Author

I don't want to combine them necessarily because systems with only Webmin won't have the "Server Status" widget.

I am saying get rid of Server Status as it would not be needed with my proposed solutions above

I will confirm the tab status on my fresh I stall tomorrow, but I think combining them reduces duplication

On my fresh install, i can confirm that System Monitors are not present

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants