Skip to content

Releases: jadupl2/sadmin

Release 1.4.12 (2024-02-25)

25 Feb 19:57

Choose a tag to compare

Release 1.4.12 (2024-02-25)

Summary

  • New version of cfg2html (v7).
    • Will automatically upgrade the next time 'sadm_cfg2html.sh´ is run.
  • Execution of 'sadm_startup.sh & sadm_shutdown.sh' controlled by 'sadmin.service'.
    • Script 'sadm_service_ctrl.sh' is depreciated (Use 'systemctl').
  • Linux is now the only platform supported.
    • Aix and MacOS is now depreciated (Don't have an Aix Box to test).

Install, Uninstall & Update

  • sadm_setup.py
    • v4.04 - Setup will now ask for 'sadmin' user password & force to change it on login.
    • v4.05 - Bug fix on postfix configuration & various corrections and enhancements.
  • sadm_uninstall.sh
    • v2.4 - Adapt to change done in 'Setup' script.
    • v2.5 - Was not removing $SADMIN/www directory.
  • setup.sh
    • v3.35 - Make sure 'host' command is installed, (needed for hostname resolution).
    • v3.36 - Add alternative way to determine the system domain name.

Libraries, Scripts Templates, Demo

  • sadmlib2_std.py
    • V4.51 - Was removing gmail password file (.gmpw) when on the SADMIN server.

Release 1.4.10 (2024-01-24)

24 Jan 18:02

Choose a tag to compare

Release 1.4.10 (2024-01-24)

Summary

  • Server installation have been re-tested on Rocky, Alma, RHEL 9, Debian 12 and Fedora 39.
  • Multiple fixes have been applied to the setup script.
  • Package requirement have been reviewed and some of them are now depreciated.
  • The two previous templates scripts, have been splitted into four.
    - Script 'sadm_template_with_db.py' & 'sadm_template_with_db.sh' include database access.
    - Script 'sadm_template_without_db.py' & 'sadm_template_without_db.sh' use when no DB access is needed.
  • Update to documentation are coming (I'm late).

Backup related

Command line tools

  • sadm_rmcd_starter.sh
    • v2.0 - Add option to ssh command '-o ConnectTimeout=10 -o BatchMode=yes'.
  • sadm_show_rch.sh
    • v1.21 - Exclude script specify in 'SADM_MONITOR_RECENT_EXCLUDE' variable in sadmin.cfg.
  • sadm_sysmon_cli.sh
    • v2.7 - Remove header and footer from the log.

Install, Uninstall & Update

  • sadm_requirements.sh
    • v1.15 - Revision of the list of the packages require.
  • sadm_setup.py
    • v3.94 - Misc. typo change & minor fixes.
    • v3.95 - If not present, package 'nfs-utils (rpm) & 'nfs-common' (deb) are install.
    • v3.96 - Package 'wkhtmltopdf' is no longer require (depreciated).
    • v3.97 - Script 'sadm_daily_report.sh' remove from sadm_server crontab (depreciated).
    • v3.98 - Make setup 'Alma' and 'Rocky' Linux aware.
    • v3.99 - More comment added to 'sadm_client' & 'sadm_server' crontab file.
    • v4.00 - If not present, package 'cron' (deb) 'cronie' (rpm) are install.
    • v4.02 - If not present, package 'grub2-efi-x64-modules' install (needed for ReaR).
  • sadm_uninstall.sh
    • v2.1 - Fix problem removing $SADMIN directories and update SADMIN section to v1.56.
    • v2.2 - Remove sadmin web configuration and sudoers file.
    • v2.3 - Add message to user "Removing web site configuration".

Libraries, Scripts Templates, Demo

  • sadmlib2_std.py

    • v4.46 - Fix crash when running a script that need to be run by 'root' and was not.
    • v4.47 - Fix error in db_close(), when trying to close a connection that isn't open.
    • v4.48 - 'SADM_HOST_TYPE' in 'sadmin.cfg', determine if system is a client or a server.
    • v4.49 - New function 'on_sadmin_server()' Return "Y" if on SADMIN server else "N".
    • v4.50 - Correct typo and remove need to use 'psutil' python module.
  • sadmlib_std.sh

    • v4.30 - New function 'sadm_on_sadmin_server(), it return "Y" if on SADMIN server else "N".
    • v4.31 - Fix problem when copying log and rch when initially created and user isn't root.
    • v4.32 - Eliminate 'cp' error message in 'sadm_stop()'' function, when file is missing.
    • v4.33 - Add user message when user is not part if the SADMIN group.
    • v4.34 - Minor fix, file permission verification.
    • v4.36 - Modify sadm_start() to advise user when permission don't allow user to write to log.
  • sadm_nmon_watcher.py

    • v1.6 - Crash when could not start 'nmon' (performance monitor).
    • v1.7 - Fix problem starting 'nmon' at system startup.
  • sadm_template_with_db.py

    • v1.1 - New template (replace sadm_template.py), used when you need to access SADMIN DB.
  • sadm_template_with_db.sh

    • v1.1 - New template (replace sadm_template.sh), used when you need to access SADMIN DB.
  • sadm_template_without_db.py

    • v1.1 - New template (replace sadm_template.py), used when you don't need access to SADMIN DB.
  • sadm_template_without_db.sh

    • v1.1 - New template (replace sadm_template.sh), used when you don't need access to SADMIN DB.

Operating System Update

  • sadm_osupdate.sh
    • v3.36 - Minor enhancement and uUpdate sadmin section to v1.56.

Server related

*Release 1.4.9 (2023-10-17)

18 Oct 00:53

Choose a tag to compare

Release 1.4.9 (2023-10-17)

Backup related

  • sadm_backup.sh
    • v3.46 - Record backup size, more info in log & apply cleaning to all backup type.

SADMIN Client related

  • sadm_client_housekeeping.sh
    • v2.12 - Modify sadm_client crontab to use new python 'sadm_nmon_watcher.py'.
    • v2.13 - Remove duplicated lines in /etc/cron.d/sadm_client file.
    • v2.14 - If gmail text pwd file '$SADMIN/cfg/.gmpw' exist, remove it.
    • v2.15 - Update SADMIN section (v1.56) and minor improvement.

Command line tools

Configuration files

  • .sadmin.cfg
    • v2.10 - Change default value of SADM_NMON_KEEPDAYS from 40 to 15 days.
  • sadmin_client.cfg
    • v2.10 - Change recommended value of SADM_NMON_KEEPDAYS from 40 to 15 days.

SADMIN Install, Uninstall & Update

  • sadm_setup.py
    • v3.88 - Add $SADMIN/usr/bin to sudo secure path.
    • v3.89 - Update sadmin web server config for Debian 12.
    • v3.90 - Initial 'sadm_client' crontab, now use python ver. of 'sadm_nmon_watcher'.
    • v3.91 - Ask for the SADMIN server IP instead of FQDN.
    • v3.92 - Adjust list of packages required to use 'ReaR' image backup (+xorriso).
    • v3.93 - Package detection, was failing under certain condition.
  • setup.sh
    • v3.30 - Changed the way to install 'pymysql' python module (Debian 12).
    • v3.31 - Hostname lookup, will verify /etc/hosts & DNS (if present).
    • v3.32 - Cosmetic change to the script log.

Libraries, Scripts Templates, Demo

  • sadmlib2_std.py
    • v4.41 - New function 'get_mac_address()': Get mac address of an IP.
    • v4.42 - Fix minor bugs.
    • v4.43 - Added 'db_name' variable that hold 'SADMIN' database name (or yours).
    • v4.44 - start() & stop() functions now connect/close DB automatically (if db_used=True).
    • v4.45 - Reduce recommended SADM_*_KEEPDAYS values of to save disk space.
  • sadmlib_std_demo.py
    • v3.21 - start() function auto connect to DB, if on SADMIN server & db_used=True.
  • sadmlib_std.sh
    • v4.27 - Code optimization, LIBRARY LOAD A LOT FASTER (So scripts run faster).
    • v4.28 - Change default values of SADM_*_KEEPDAYS.
    • v4.29 - Code optimization : To function "sadm_get_command_path()".
  • sadm_nmon_watcher.py
    • v1.2 - Complete rewrite, new version in Python (lot more faster).
    • v1.3 - Enhance 'nmon' instance detection.
    • v1.4 - Make sure only one instance of 'nmon' in running.
    • v1.5 - Update to SADMIN section v2.3, fix 'pymysql' error msg & added log verbosity.
  • sadm_template.py
    • v1.3 - Update SADMIN section (More fields sa.db_errno, sa.db_errmsg, sa.db_name)
  • sadm_wrapper.sh
    • v1.7 - Update with latest SADMIN section(v1.56).

Operating System Update

SADMIN Server related

  • sadm_daily_farm_fetch.sh
    • v4.12 - Fix problem when not using the standard ssh port (22).
    • v4.13 - When syncing to the SADMIN server, don't use SSH to rsync .
  • sadm_database_update.py
    • v3.20 - Restrict execution on the SADMIN server only.
    • v3.21 - Update to SADMIN section v2.3 & update database I/O functions.
  • sadm_fetch_clients.sh
    • v3.45 - Fix when not using the standard ssh port (22).
    • v3.46 - Enhance purge of old '*.nmon' files.
  • sadm_push_sadmin.sh
    • v2.43 - Fix problem when not using the standard ssh port (22).
    • v2.44 - Error were not recorded in the error log.
  • sadm_server_housekeeping.sh
    • v2.14 - Add removal of file older than 1 day in $SADMIN/www/tmp directory.
  • sadm_subnet_lookup.py
    • v3.9 - Modify code to get the mac address of ip (Depreciate python module 'getmacŽ)
    • v4.0 - Adapt code to the fact that sa.start() & sa.stop() function open/close DB.

Start & Shutdown script

Web interface

  • sadmPageSideBar.php
    • v3.1 - SideBar - Side Bar modification & enhancement
    • v3.2 - SideBar - Remove some debugging information.
    • v3.3 - SideBar - PHP Code Optimization.
  • sadm_view_sysmon.php
    • v2.37 - System monitor page - Minor adjustments.

Release 1.4.7 (2023-06-08)

08 Jun 17:53

Choose a tag to compare

Release 1.4.7 (2023-06-08)

Backup related

  • sadm_backup.sh (v3.43 2023/03/26) - Write current, previous and host total backup size in log for reference.

SADMIN Client related

Command line tools

Configuration files

  • .sadmin.cfg (v2.9 2023/10/12) - Document and update all fields definitions.
  • sadmin_client.cfg (v2.9 2023/10/12) - SADMIN client config. file that can be copied to clients (sadm_push_sadmin.sh)

SADMIN Install, Uninstall & Update

  • sadm_requirements.sh (v1.14 2023/04/27) - Add 'base64' command to requirement list.
  • sadm_setup.py (v3.81 2023/04/04) - Access to sadmin web interface is now done using https.
  • sadm_setup.py (v3.82 2023/04/29) - Ensure that 'coreutils' package are installed.
  • sadm_setup.py (v3.83 2023/05/19) - Make sure 'isohybrid' is installed (Needed to produce ReaR bootable USB).
  • sadm_setup.py (v3.84 2023/05/20) - Add 'extlinux' package to client that is sometime used by ReaR backup.
  • sadm_setup.py (v3.85 2023/06/03) - Fix intermittent problem when validating the FQDN of the SADMIN server.
  • sadm_setup.py (v3.86 2023/06/03) - Daily email report is now depreciated, the web interface have all info.
  • sadm_setup.py (v3.87 2023/06/05) - Minor corrections after testing installation on Debian 11.
  • setup.sh (v3.26 2023/04/15) - Offer choice to disable SElinux temporarily or permanently during setup.
  • setup.sh (v3.27 2023/05/19) - Resolve problem when asking 'selinux' question.
  • setup.sh (v3.29 2023/06/05) - Remove the need for 'bind-utils/bind9-dnsutils' package during install.

Libraries, Scripts Templates, Demo

  • sadmlib2_std.py (v4.27 2023/04/10) - Set gmail password global variable 'sadm_gmpw'.
  • sadmlib2_std.py (v4.28 2023/04/13) - Old Python Library 'sadmlib_std.py' is now depreciated use 'sadmlib2_std.py'.
  • sadmlib2_std.py (v4.29 2023/04/13) - Load new variables 'SADM_REAR_DIF' & 'SADM_REAR_INTERVAL' from sadmin.cfg.
  • sadmlib2_std.py (v4.30 2023/04/13) - Load new variable 'SADM_BACKUP_INTERVAL' from sadmin.cfg use on backup page.
  • sadmlib2_std.py (v4.31 2023/04/14) - Email account password now encrypted in $SADMIN/cfg/.gmpw64 (base64)
  • sadmlib2_std.py (v4.32 2023/04/14) - Change email password file on SADM server ($SADMIN/cfg/.gmpw) encrypt automatically .gmpw64.
  • sadmlib2_std.py (v4.33 2023/05/02) - Fix when dealing with email password on SADMIN sever.
  • sadmlib2_std.py (v4.34 2023/05/23) - Distribution name wasn't shown in header in RedHat (lsb_release removed from distr.).
  • sadmlib2_std.py (v4.35 2023/05/24) - New function added "getUmask()", returning current umask.
  • sadmlib2_std.py (v4.36 2023/05/24) - Umask now shown in script header.
  • sadmlib2_std.py (v4.37 2023/05/24) - Fix permission problem with mail password file ($SADMIN/cfg/.gmpw).
  • sadmlib2_std.py (v4.38 2023/05/25) - Improve function 'locate_command()' & fix intermittent problem.
  • sadmlib2_std.py (v4.39 2023/05/25) - Header now include for kernel version number.
  • sadmlib2_std.py (v4.40 2023/06/03) - Change method of getting username, was a problem with 'os.getlogin()'.
  • sadmlib_std_demo.py (v3.18 2023/04/13) - Add 'sadm_rear_dif', 'sadm_rear_interval', 'sadm_backup_interval' to output.
  • sadmlib_std_demo.py (v3.19 2023/04/14) - SADMIN server email account pwd now taken from $SADMIN/cfg/.gmpw.
  • sadmlib_std_demo.py (v3.20 2023/04/14) - SADMIN client email account pwd now taken from encrypted $SADMIN/cfg/.gmpw64.
  • sadmlib_std_demo.sh (v3.25 2023/04/13) - Add 'SADM_REAR_DIF', 'SADM_REAR_INTERVAL', 'SADM_BACKUP_INTERVAL' to output.
  • sadmlib_std.sh (v4.17 2023/02/14) - Remove the usage of SADM_RCH_DESC.
  • sadmlib_std.sh (v4.18 2023/03/03) - sadm_start() now clear error log '*_e.log' even when 'SADM_LOG_APPEND="Y"'
  • sadmlib_std.sh (v4.19 2023/03/04) - Lock file content & owner updated.
  • sadmlib_std.sh (v4.20 2023/04/13) - Load new variables 'SADM_REAR_DIF' 'SADM_REAR_INTERVAL' from sadmin.cfg.
  • sadmlib_std.sh (v4.21 2023/04/13) - Load new variable 'SADM_BACKUP_INTERVAL' from sadmin.cfg use on backup page.
  • sadmlib_std.sh (v4.22 2023/04/14) - SADMIN server email account pwd now taken from $SADMIN/cfg/.gmpw.
  • sadmlib_std.sh (v4.23 2023/04/14) - SADMIN client email account pwd now taken from encrypted $SADMIN/cfg/.gmpw64.
  • sadmlib_std.sh (v4.24 2023/04/14) - Change email pwd ($SADMIN/cfg/.gmpw) on SADM server to generate new .gmpw64.
  • sadmlib_std.sh (v4.25 2023/05/24) - Umask is now shown in the script header output.
  • sadmlib_std.sh (v4.26 2023/06/06) - Set file permission on email password file to prevent problem.
  • sadm_template.py (v1.2 2023/05/19) - If SADMIN env. var. isn't define, check /etc/environment to SADMIN directory.

System Monitoring

  • sadm_sysmon.pl (v2.50 2023/05/06) - Reduce ping wait time to speed up processing.

Operating System Update

  • sadm_osupdate.sh (v3.35 2023/05/02) - Check update availability on some occasion wasn't returning an error.
  • sadm_osupdate_starter.sh (v5.3 2023/05/06) - Reduce ping wait time to speed up processing.

SADMIN Server related

  • sadm_daily_farm_fetch.sh (v4.10 2023/04/29) - Increase speed of files copy from clients to SADMIN server.
  • sadm_daily_farm_fetch.sh (v4.11 2023/05/24) - Remove repeating error count in the error log.
  • sadm_push_sadmin.sh (v2.38 2023/04/10) - Don't push gmail text password file ($SADMIN/cfg/.gmpw) to client.
  • sadm_push_sadmin.sh (v2.39 2023/04/12) - Add '-c' option to push 'sadmin.client.cfg' to 'sadmin.cfg' to all clients.
  • sadm_push_sadmin.sh (v2.40 2023/04/17) - Push encrypted email password file ($SADMIN/cfg/.gmpw64) to all clients.
  • sadm_push_sadmin.sh (v2.41 2023/04/29) - Increase speed of files copy from clients to SADMIN server.
  • sadm_server_housekeeping.sh (v2.13 2023/04/17) - Secure permission on email password files ($SADMIN/cfg/.gmpw & .gmpw64).
  • sadm_subnet_lookup.py (v3.8 2023/05/19) - Correct problem when running at installation time ($SADMIN not set yet).

Web interface

  • sadmInit.php (v3.12 2023/03/11) - Load Rear backup diff & Interval at start, used on Rear Backup status page.
  • sadm_view_backup.php (v2.4 2023/03/23) - Backup status page - Lot of changes to this page, have a look.
  • sadm_view_backup.php (v2.5 2023/04/22) - Backup status page - Alert are now shown in a tinted background for emphasis.
  • sadm_view_rch_summary.php (v2.13 2023/02/14) - Scripts status page - Remove 'sadm_nmon_watcher' from list if not in error.
  • sadm_view_rear.php (v2.4 2023/04/22) - ReaR backup status page - Alert are now shown in a tinted background for emphasis.
  • sadm_view_rear.php (v2.5 2023/04/23) - ReaR backup status page - Now include size of backup & new layout.
  • sadm_view_rear.php (v2.6 2023/04/27) - ReaR backup status page - Combine 'Last Backup Date' & 'Duration'.
  • sadm_view_schedule.php (v2.17 2023/05/06) - O/S update status page - Enhance functionality and bug
  • sadm_view_sysmon.php (v2.36 2023/04/10) - System monitor page - Bug fix when no rch and rpt files were present.

Release 1.4.05 (2023-02-09)

09 Feb 20:46

Choose a tag to compare

Release 1.4.05 (2023-02-09)

SADMIN Install, Uninstall & Update

  • sadm_setup.py (v3.80 2023/02/08) - Default smtp mail server is now 'smtp.gmail.com' and hide smtp password.
  • setup.sh (v3.24 2023/02/08) - Fix problem with GPG Key for EPEL v9.1

Operating System Update

  • sadm_osupdate.sh (v3.34 2023/02/08) - Insert more info in email sent when update are kept-back.

Web interface

Release 1.4.4 (2023-01-31)

31 Jan 16:39

Choose a tag to compare

Release 1.4.4 (2023-01-31)

Backup related

  • sadm_backup.sh (v3.39 2022/11/11) - Add size of current & previous backup at end of log.
  • sadm_backup.sh (v3.40 2022/11/16) - Depreciate use of environment variable in backup or exclude list.
  • sadm_backup.sh (v3.41 2023/01/06) - Add cmdline '-w' to suppress warning (dir. not exist) on output.
  • sadm_backup.sh (v3.42 2023/01/06) - Fix problem with format of 'stat' command on MacOS.

SADMIN Client related

Command line tools

  • sadmlib_fs.sh (v2.6 2022/11/19) - sadm_menu filesystem_module fix problem when dealing with terabyte.
  • sadm_rmcd_starter.sh (v1.8 2022/12/13) - Intermittent crash cause by a typo error.
  • sadm_ui_fsmenu.sh (v2.06 2022/11/19) - sadm_menu filesystem_module fix problem when dealing with terabyte.
  • sadm_ui.sh (v2.12 2022/11/19) - Fix problem when dealing with terabyte filesystem increase.

Configuration files

  • .sadmin.cfg (v2.8 2023/01/05) - Add 'SADM_BACKUP_DIF' % to alert when size of backup is +/- % with previous.

SADMIN Install, Uninstall & Update

  • setup.sh (v3.23 2022/11/27) - Correct problem when activating EPEL v9.

Libraries, Scripts Templates, Demo

  • sadmlib_std.sh (v4.14 2022/11/16) - Remove initialization of $SADM_DEBUG (Set in SADMIN section of script).
  • sadmlib_std.sh (v4.15 2023/01/06) - Can now add a suffix to script name in RCH file (Use var. SADM_RCH_DESC).
  • sadmlib_std.sh (v4.16 2023/01/27) - Optimize the start function.
  • sadm_template.sh (1.53 2023/01/09) - Add 'SADM_RCH_DESC', use by o/s update to add hostname in 'rch' description.

System Monitoring

  • sadm_view_sysmon.php (v2.35 2023/01/06) - System monitor page - O/S update starter now show hostname being updated.

Operating System Update

SADMIN Server related

  • sadm_daily_report.sh (v1.33 2022/11/15) - Remove 'DailyBackupReport' since all info are now on backup status page.

Web interface

  • sadm_server_common.php (v2.6 2022/11/25) - CRUD client - New client, wasn't using default SSH port defined in sadmin.cfg.
  • sadm_server_common.php (v2.7 2022/12/29) - CRUD client - Fix problem saving the SSH port number.
  • sadm_view_backup.php (v1.9 2022/11/12) - Backup status page - Now show current and previous backup size.
  • sadm_view_backup.php (v2.0 2022/11/12) - Backup status page - Show NFS server name & backup directory.
  • sadm_view_backup.php (v2.1 2022/11/12) - Backup status page - Added column to identify system sporadically offline.
  • sadm_view_backup.php (v2.2 2022/11/20) - Backup status page - Error log link now only appear when error occurred.
  • sadm_view_backup.php (v2.3 2023/01/05) - Backup status page - Yellow alert if backup size is contrasting with previous.

Release 1.4.2 (2022-11-04)

04 Nov 18:13

Choose a tag to compare

Release 1.4.2 (2022-11-04)

Backup related

  • sadm_backup.sh (v3.36 2022/09/04) - False error message was written to error log.
  • sadm_backup.sh (v3.37 2022/09/23) - Fix problem mounting NFS on newer version of MacOS.
  • sadm_backup.sh (v3.38 2022/10/30) - After each backup show, the backup size in the log.
  • sadm_server_backup.php (v2.2 2022/09/28) - Backup sched. page - Add option to compress or not the backup via the web page.
  • sadm_view_backup.php (v1.6 2022/09/11) - Backup status page - Now show if schedule is activated or not.
  • sadm_view_backup.php (v1.7 2022/09/12) - Backup status page - Will show link to error log (if it exist).
  • sadm_view_backup.php (v1.8 2022/09/12) - Backup status page - Display the first 50 systems instead of 25.
  • sadm_view_rear.php (v1.9 2022/09/12) - ReaR backup status page - Show if schedule is activated or not.
  • sadm_view_rear.php (v2.0 2022/09/12) - ReaR backup status page - Show link to error log (if it exist.).
  • sadm_view_rear.php (v2.1 2022/09/12) - ReaR backup status page - Display the first 50 systems instead of 25.
  • sadm_view_rear.php (v2.2 2022/09/20) - ReaR backup status page - Move ReaR supported architecture msg to heading.

SADMIN Client related

Command line tools

  • sadm_dr_savefs.sh (v2.9 2022/10/23) - Update the sadmin code section 1.52.
  • sadm_rmcd_starter.sh (v1.7 2022/09/20) - SSH to client is now using the port defined in each system.

SADMIN Install, Uninstall & Update

  • setup.sh (v3.22 2022/10/23) - Install 'host' command if not present on system.

Libraries, Scripts Templates, Demo

  • sadmlib2_std.py (v4.26 2022/11/01) - Minor change for MacOS Ventura.
  • sadmlib_std.sh (v4.10 2022/09/04) - Depreciate 'sadm_writelog' to 'sadm_write_log' for standardization.
  • sadmlib_std.sh (v4.11 2022/09/20) - MacOS 'arch' is returning i386, change 'sadm_server_arch' to use 'uname -m'.
  • sadmlib_std.sh (v4.12 2022/09/20) - MacOS change 'sadm_get_osmajorversion' so it return an integer after v10.
  • sadmlib_std.sh (v4.13 2022/09/25) - MacOS architecture was wrong in script header ('arch' command return i386?).
  • sadm_template.sh (v4.3 2022/09/07) - Make use of sadm_write_log() instead of sadm_write().

System Monitoring

  • sadm_sysmon.pl (v2.48 2022/09/24) - On MacOS review 'check_cpu_usage', 'check_load average' & filesystem check
  • sadm_sysmon.pl (v2.49 2022/10/11) - Sysmon don't check capacity exceeded for '/snap/' '/media/' filesystem
  • sadm_view_sysmon.php (v2.33 2022/09/08) - System monitor page - Add current date/time and look enhancement.
  • sadm_view_sysmon.php (v2.34 2022/09/11) - System monitor page - Modify to have a more pleasing look

Operating System Update

  • sadm_osupdate.sh (v3.33 2022/09/04) - Revisited to use the new error log when error is encountered.
  • sadm_view_schedule.php (v2.14 2022/09/12) - O/S update status page - Will show link to error log (if it exist).
  • sadm_view_schedule.php (v2.15 2022/09/12) - O/S update status page - Display the first 50 systems instead of 25.

SADMIN Server related

  • sadm_daily_farm_fetch.sh (v4.9 2022/09/23) - Use SSH port specify per server & update SADMIN section to v1.52.
  • sadm_daily_report.sh (v1.32 2022/09/30) - Add link to system information page on the system name.
  • sadm_fetch_clients.sh (v3.44 2022/09/29) - Daily backup, check new web option to compress backup or not.
  • sadm_push_sadmin.sh (v2.37 2022/09/20) - SSH to client is now using the port defined in each system.

Web interface

  • sadmPageSideBar.php (v3.0 2022/09/12) - SideBar - Move 'Server Attribute' section before 'Server Info'.
  • sadm_server_common.php (v2.5 2022/09/24) - CRUD_client - Add ssh port number to use to access the client.
  • sadm_server_create.php (v2.3 2022/09/24) - CRUD_client - Add SSH port to communicate with client.
  • sadm_server_create.php (v2.4 2022/09/24) - CRUD_client - When ing a client, create client dir. in $SADMIN/www/dat.
  • sadm_server_delete_action.php (v1.5 2022/09/24) - CRUD_client_delete - Change text in page header.
  • sadm_server_delete.php (v2.4 2022/09/24) - CRUD_client_delete - Change text in header
  • sadm_server_main.php (v2.4 2022/09/24) - CURD_Client_Main - Change Page Header
  • sadm_server_perf_adhoc_all.php (v1.5 2022/09/19) - All systems Perf. Graph - Change preset default values for graphics.
  • sadm_view_rch_summary.php (v2.12 2022/09/05) - All Scripts status page - Add [doc] & [elog] link to view error log (if exist).
  • sadm_view_server_info.php (v2.17 2022/09/12) - System info page - Enhance buttons look at the top of the page.
  • sadm_view_server_info.php (v2.18 2022/09/22) - System info page - Add Backup button to give direct access to backup schedule.
  • sadm_view_server_info.php (v2.19 2022/09/23) - System info page - Add Rear & OS Update buttons,give direct access to schedule.

Release [1.4.1] (2022-08-26)

27 Aug 00:11

Choose a tag to compare

Release 1.4.1 (2022-08-26)

Release 1.4.0 (2022-08-26)

26 Aug 17:49

Choose a tag to compare

Release 1.4.0 (2022-08-07)

New

  • We have a new version Python Library (v4.21) completely rewritten and help (docstrings) were added to each functions.
  • Each SADMIN scripts could produce two logs, one normal log and one error log (if any error occurs).
    • The normal output log , 'sadm_write_log()' for Bash script & 'sa.write_log()' for Python.
    • The error log, that is seeded by 'sadm_write_err() Bash scripts & 'sa.write_err()' for Python.
    • These two logs will be attached to each email alert, if they are not empty.
  • We now support RHEL 9, AlmaLinux 9, Rocky 9, Fedora 36, Ubuntu 22.04, Debian 11.
  • New global variable 'SADM_ROOT_ONLY' (Y/N)' & 'sa.proot_only (True/False) indicate if the script can only run by 'root'.
  • New global variable 'SADM_SERVER_ONLY (Y/N)' & 'sa.psadm_server_only (True/False), indicate if the script can only run on the SADMIN server.
  • New global variable 'SADM_PID_TIMEOUT' & 'sa.pid_timeout' indicate how long in seconds a script PID can prevent it from running.
  • New global variable 'SADM_LOCK_TIMEOUT' & 'sa.lock_timeout' indicate the maximum number of time in seconds that a system can be lock.

Updated

  • Both templates scripts are updated to use the new version of each SADMIN libraries (Shell script and Python).
  • We have updated the SADMIN section (v1.52) for shell scripts and also for Python scripts (See associated templates).

SADMIN setup (Installation)

  • Numerous improvement and some bug fixes were done to the installation process.
  • The SMTP server name, port, user name and password are part of the process.
  • Postfix configuration have been updated.
  • Adapted to use EPEL 9 for RedHat, Centos, AlmaLinux and Rocky Linux.
  • Now support RHEL 9, AlmaLinux 9, Rocky 9, CentOS 9, Fedora 36, Ubuntu 22.04, Debian and Raspbian 11.

Web Interface

  • Small improvements were done to the web interface and some bug fix.
  • System monitor page improved.

Documentation

  • We have made some update on the documentation, but they are still more to come.

Depreciated

  • The 'lsb_release' is no longer available in RHEL 9, CentOS 9, AlmaLinux 9 and Rocky 9 (But still available on Fedora 36 ?).
  • The performance part (collecting and graph generation) may be remove SADMIN in future release.
  • Aix support will be remove since I don't have access to an AIX box anymore.

Release 1.3.6 (2021-09-07)

07 Sep 18:28

Choose a tag to compare

Release 1.3.6 (2021-09-07)

Configuration files

  • .sadmin.cfg (v2.6 2021/08/16) - Monitor page refresh rate can now be set via 'SADM_MONITOR_UPDATE_INTERVAL'

Libraries, Scripts Templates, Demo

  • sadmlib_std.sh (v3.73 2021/08/13) - New func. see Doc sadm_create_lockfile sadm_remove_lockfile sadm_is_system_lock
  • sadmlib_std.sh (v3.74 2021/08/17) - Performance improvement.

Operating System Update

  • sadm_osupdate.sh (v3.27 2021/08/19) - Fix prompting issue on '.deb' distributions.

SADMIN Server related

Web interface

  • Result Code History viewer, show effective alert group instead of 'default.'
  • Result Code History viewer, show member(s) of alert group as tooltip.
  • Status of all Scripts - Add link to Script documentation.
  • Status of all Scripts - Show effective alert group name & members as tooltip
  • Status of all Scripts - Fix link to log & History file (*.rch).
  • Status of all Scripts - Show effective alert group name instead of 'default'.
  • Status of all Scripts - Show member(s) of alert group as tooltip.
  • System Monitor page - Alert type now show description and tooltip.
  • System Monitor page - Warning, Error, Info now have separate section.
  • System Monitor page - Use the refresh interval from SADMIN configuration file.
  • System Monitor page - Section heading are spread on two lines.
  • System Monitor page - Show alert group member(s) as tooltip.