Changelog
This page shows the most important changes made to each version of the SADMIN Tools.
Version 1.2.9 2020-10-20
- Fixes
- sadmlib_std.sh (v3.46) - Fix date not showing in the log under some condition.
- sadmlib_std.sh (v3.48) - Remove improper '::' characters to was inserted im messages.
- sadmlib_std.sh (v3.51) - Remove some ctrl character from the log (sadm_write()).
- sadmlib_std.sh (v3.52) - Adjust sadm_write method
- sadmlib_std.sh (v3.53) - Added Start/End/Elapse Time to Script Alert Message.
- sadm_rear_backup.sh (v2.24) - Minor Changes.
- sadm_daily_report.sh (v1.4) - Bug that get Current backup size in yellow, when shouldn't.
- New
- sadmlib_std.sh (v3.47) - Add module "sadm_sleep", sleep for X seconds with progressing info.
- sadmlib_std.sh (v3.49) - Global Var. $SADM_UCFG_DIR was added to refer $SADMIN/usr/cfg directory.
- sadmlib_std.sh (v3.50) - Change Screen Attribute Variable (Remove 'SADM_', $SADM_RED is NOW $RED).
- Update
- sadm_fetch_clients.sh (v3.14) - Move location of o/s update is running indicator file to $SADMIN/tmp.
- sadm_osupdate.sh (v3.24) - Minor adjustments to screen and log presentation.
- sadmPageSideBar.php (v2.13) - Show server attribute counter even if it's zero.
- sadm_view_rear.php (v1.7) - Remove system description to allow more space on each line.
- sadm_fetch_clients.sh (v3.15) - Minor Bug fix, Alert Msg now include Start/End?Elapse Script time
- sadm_osupdate.sh (v3.25) - Minor adjustments.
- sadm_setup.py (v3.44) - Minor change to sadm_client crontab file.
- sadm_fetch_clients.sh (v3.16) - Modify Alert message when client is down.
- sadmlib_std.sh (v3.54) - Remove server name from Alert message (already in subject)
- sadm_client_housekeeping.sh (v1.42) - Make sure permission are ok in user library directory ($SADMIN/usr/lib).
- sadmlib_std.py (v3.13) - Minor update to date/time module.
- sadm_push_sadmin.sh (v2.21) - Create local processing server data server directory (if don't exist)
- sadm_service_ctrl.sh (v2.9) - Minor code improvement.
- sadm_client_housekeeping.sh (v1.43) - Make sure that "${SADM_UCFG_DIR}/.gitkeep" exist to be part of git clone.
- sadm_push_sadmin.sh (v2.22) - When -u is used, the usr/cfg directory is now also push to client.
- sadm_client_housekeeping.sh (v1.44) - Minor adjustments to log entries.
- sadmLib.php (v2.17) - Facilitate going back to previous & Home page by adding button in header.
- sadm_backup.sh (v3.25) - Modification to log recording.
- sadmPageWrapper.php (v1.4) - Add Tooltips to Shortcut in the page header.
- sadm_view_sysmon.php (v2.17) - Add Home button in the page heading.
- sadm_daily_report.sh (v1.2) - First Release
- sadmlib_std.sh (v3.55) - Add Host name in email, when alert come from sysmon.
- sadm_sysmon.pl (v2.40) - Write more elaborated email to user when restarting a service.
- sadm_daily_report.sh (v1.3) - Daily Backup Report & ReaR Backup Report now available.
- sadmlib_std.sh (v3.56) - Remove export for screen attribute variables.
- sadm_daily_report.sh (v1.5) - Minor Typo Corrections
- sadm_push_sadmin.sh (v2.23) - Correct error message when no system are active.
Version 1.2.8 2020-07-29
- Fixes
- sadm_rear_backup.sh (v2.23) - Fix files permissions in system backup directory.
- sadmlib_std.sh (v3.42) - Date and time was not include in script log under certain conditions.
- sadm_backup.sh (v3.24) - Fix backup directory permission problem.
- New
- sadmlib_std.sh (v3.45) - New function 'sadm_ask', it show received msg & wait for y/Y (return 1) or n/N (return 0)
- Update
- sadm_create_sysinfo.sh (v3.20) - Create a new log at each execution & log are not trimmed anymore ($SADM_MAX_LOGLINE=0)
- sadm_client_housekeeping.sh (v1.40) - If no password have been assigned to 'sadmin' user a temporary one is assigned.
- sadm_setup.py (v3.41) - Assign temporary passwd to 'sadmin' user.
- sadm_setup.py (v3.42) - Minor bugs fixes.
- sadm_setup.py (v3.43) - Added rsync package requirement to client installation.
- sadmlib_std.sh (v3.43) - When dealing with virtual system, 'sadm_server_model' return (VMWARE,VIRTUALBOX,VM)
- sadm_server_menu.php (v1.6) - Add 'Delete System' as a menu item and change some item labelling.
- sadm_view_server_info.php (v2.14) - Replace 'CRUD' button with 'Modify / Delete' that direct you to CRUD system menu.
- sadm_fetch_clients.sh (v3.13) - Change email structure to have success or failure at beginning of subject.
- sadmlib_std.sh (v3.44) - Change permission for log and script history files to allow normal user to run script.
- sadm_push_sadmin.sh (v2.20) - Add 'usr/lib' to sync process when -u option is used.
- sadm_sysmon.pl (v2.39) - CIFS Mounted filesystem usage are no longer monitored.
- sadm_osupdate_farm.sh (v3.15) - Minor fixes and improvements.
- sadm_fetch_clients.sh (v3.14) - Move location of o/s update is running indicator file to $SADMIN/tmp.
- sadm_osupdate.sh (v3.24) - Minor adjustments to screen and log presentation.
- sadmPageSideBar.php (v2.13) - Show server attribute counter even if it's zero.
- sadm_view_rear.php (v1.7) - Remove system description to allow more space on each line.
Version 1.2.7 2020-06-03
- Fixes
- sadm_rear_backup.sh (v2.22) - Fix /etc/rear/site.conf auto update problem, prior to starting backup.
- sadmlib_std.sh (v3.38) - Fix intermittent problem with 'sadm_write' & alert sent multiples times.
- sadm_df.sh (v2.4) - fix problem when dealing with TB filesystem.
- Update
- .sadmin.cfg (v2.4) - Update Rear Backup and backup default Location,
- sadm_backup.sh (v3.22) - Backup Dir. Structure changed, now group by System instead of backup type
- sadm_fetch_clients.sh (v3.12) - No longer report an error, if a system is rebooting because of O/S update.
- sadm_daily_farm_fetch.sh (v4.2) - No longer report an error, if a system is rebooting because of O/S update.
- sadm_fs_incr.sh (v2.1) - Changing the way to get SADMIN variable in /etc/environment
- sadm_osupdate_farm.sh (v3.14) - Create 'osupdate_running' file before launching O/S update on remote.
- sadm_osupdate.sh (v3.23) - Replace 'reboot' instruction with 'shutdown -r' (Problem on some OS).
- sadm_push_sadmin.sh (v2.19) - Changing the way to get SADMIN variable in /etc/environment
- sadm_rch_scr_summary.sh (v1.18) - Changing the way to get SADMIN variable in /etc/environment
- sadm_server_housekeeping.sh (v2.6) - Minor change about reading /etc/environment and change logging messages.
- sadm_backup.sh (v3.23) - Automatically move backup from old dir. structure to the new.
Version 1.2.6 2020-05-14
- Maintenance fixes
- sadmlib_std.sh - Fix problem sending attachment file when sending alert by email.
- setup.sh Fix problem with installation on Ubuntu 20.04.
- sadm_rear_backup.sh Remove mount directory before exiting script.
- Version 1.2.5 2020-05-01
- Web User Interface
- The main header look appearance was enhance.
- Part of page header, we now have a menu bar for faster and easier access.
- We fix link problem to show the script log, on the [R]esult [C]ode [H]istory file viewer page.
- Lot of functional change & enhancements.
- Installation Setup
- Change made for RHEL/CentOS 8
- Installation (if needed) of package 'hwinfo' is done using EPEL repository (Not part of base repo. anymore).
- Installation (if needed) of package 'dnf-utils' is now replace by 'yum-utils'.
- Installation a SADMIN server, now include installation of Python3 'getmac' module (For subnet network scanning).
- Package 'arp-scan' removed from server installation, using python3 'getmac' module instead.
- Some bug fixes and minor adjustment were done for RHEL/CentOS 8.
- Setup now set the default alert group to 'email' and to sysadmin email address in .alert_group.cfg.
- Setup now install 'syslinux', 'genisomage' and 'rear' packages (Require to make a ReaR image Backup)
- Fix Apache config renaming error.
- Rear Backup
- Leave latest ReaR Backup to default name to ease the restore.
- Remove NFS mount point in /mnt after the backup.
- "BACKUP_URL" line (in site.conf) is align with sadmin.cfg before each backup.
- Create /etc/rear/site.conf if it doesn't exist, bug fixes and enhancements.
- Structure enhancement made to log.
- sadm_rear_backup.sh Documentation updated.
- Small CSS adjustments made to ReaR Backup Schedule.
- Mouse over system name on ReaR Backup Schedule status web page, show O/S name & version & IP.
- Server Scripts
- sadm_daily_farm_fetch.sh
- Show Error Total only at the end of each system processed.
- Replace function sadm_writelog() with NL incl. by sadm_write() No NL Incl.
- Show rsync status & solve problem if duplicate entry in /etc/environment.
- Minor error message alignment.
- sadm_fetch_clients.sh - SSH error to client were not reported in System Monitor.
- sadm_subnet_lookup.py - Major update, more portable, Faster and no longer use arp-scan.
- sadm_push_sadmin.sh - Script was rename from sadm_rsync_sadmin.sh to sadm_push_sadmin.sh
- sadm_rch_scr_summary.sh - Allow simultaneous execution of this script.
- Clients Scripts
- System Monitor
- Fix problem getting 'SADMIN' variable content from /etc/environment (if export used).
- Fix problem when 'dmidecode' is not available on system.
- sadm_backup.sh
- If backup_list.txt include a '$' at beginning of a line, the environment variable is resolved.
- Log output adjustment & enhancement changes.
- Fix 'chown' error.
- Don't show anymore directories that are skip because they don't exist.
- sadm_osupdate.sh
- Use 'apt-get dist-upgrade' instead of 'apt-get -y upgrade' on deb system.
- Restructure some code and change help message.
- sadm_client_housekeeping.sh
- Code rewrite for better performance and maintenance.
- Fix minor bugs & Restructure log presentation
- Update readme file permission from 0644 to 0664
- sadm_create_sysinfo.sh
- Collect more information about Disks, Partitions, Network and fix lsblk.
- Replace function sadm_writelog() with NL incl. by sadm_write() No NL Incl
Common Scripts
- Template Shell Script
- Command line option code is now in a function.
- Fix problem with server name resolving test.
- Include some new Screen attribute in code ($BOLD,$YELLOW,...)
- sadm_df.sh
- Fix problem under RHEL/CentOS older version (4,5,6).
- To increase portability, Column total are now calculated by script.
- Add -t to exclude tmpfs, -n nfs filesystem from the output and total line.
- Modified to work on MacOS
- Add hostname and date in heading line.
- Updated documentation.
SADMIN Library
- SADMIN Shell Library (sadmlib_std.sh)
- Change the way script info (-v) is shown.
- If not present, create Alert Group file (alert_group.cfg) from template.
- Function sadm_writelog() with N/L depreciated, remplace by sadm_write().
- Function sadm_writelog() replaced by sadm_write in Library.
- New Variable SADM_OK, SADM_WARNING, SADM_ERROR to Show Status in Color.
- New Variable SADM_SUCCESS, SADM_FAILED to Show Status in Color.
- Add @@LNT (Log No Time) var. to prevent sadm_write to put Date/Time in Log
Version 1.2.4 2020-02-27
- New
- Update your client version with sadm_push_sadmin.sh (v2.16) - Push SADMIN server version to one or all actives clients.
- Fixes
- sadmlib_std.sh (v3.26) - If on SADM Server & script don't use 'rch', gave error trying to copy 'rch'.
- setup.sh (v3.3) - Fix some problem installing lsb_release and typo with 'dnf' command..
- Update
- sadm_push_sadmin.sh (v2.16) - Add Option -c [hostname] to sync of SADMIN server version to one client.
- sadm_osupdate.sh (v3.19) - Add error message when problem getting the list of package to update.
- sadm_rear_backup.sh (v2.13) - Correct typo error introduce in v2.12
- sadm_fetch_clients.sh (v3.8) - Restructure & Create an Alert when can't SSH to client.
- sadmlib_std.sh (v3.27) - Added History Archive File Definition
- sadm_server_housekeeping.sh (v2.5) - Restructure & added archiving of old alert history to history archive.
- sadm_client_sunset.sh (v2.6) - Produce an alert only if one of the executed scripts isn't executable.
- sadm_server_sunrise.sh (v2.7) - Produce an alert only if one of the executed scripts isn't executable.
- sadm_daily_farm_fetch.sh (v3.6) - Fix intermittent problem getting SADMIN value from /etc/environment.
- sadmlib_std.py (v3.12) - Add 'export SADMIN=$INSTALLDIR' to /etc/environment, if not there.
- sadmlib_std.sh (v3.28) - Add 'export SADMIN=$INSTALLDIR' to /etc/environment, if not there.
- sadm_template.sh (v2.5) - Reduce SADMIN Section needed at beginning of script.
- sadm_template.sh (v2.6) - Change code to show debug level at the beginning of script.
Version 1.2.3 2020-01-23
- Fixes
- sadm_osupdate_farm.sh (v3.13) - Fix problem when using debug (-d) option without specifying level of debug.
- sadm_view_sysmon.php (v2.13) - Bug fix, displaying empty error line.
- setup.sh (v3.2) - Fix problem installing pip3, when running setup.sh script.
- sadmlib_std.py (v3.11) - Fix 'get_osminorversion' function. Crash (raspbian) when no os minor version
- Update
- sadm_setup.py (v3.32) - Fix problem when inserting server into database on Ubuntu/Raspbian.
- sadm_setup.py (v3.33) - Remove installation of ruby (was used for facter) & of pymysql (Done)
- setup.sh (v2.9) - Better verification and installation of python3 (If needed)
- sadm_service_ctrl.sh (v2.8) - Was exiting with error when using options '-h' or '-v'.
- setup.sh (v3.0) - Add recommended EPEL Repos on CentOS/RHEL 8.
- setup.sh (v3.1) - On RHEL/CentOS 6/7, revert to Python 3.4 (3.6 Incomplete on EPEL)
- sadm_server_backup.php (v1.8) - Web Page disposition and input was changed.
- sadm_server_menu.php (v1.5) - Change Server C.R.U.D. Menu
- sadm_group_common.php (v2.2) - Change web page for a lighter look.
- sadm_rear_backup.sh (v2.12) - Minor logging changes.
- sadm_category_common.php (v2.2) - Web page have now a new lighter look.
- sadm_view_sysmon.php (v2.12) - Remove Arch,Category and OS Version to make space on Line.
- sadm_fetch_clients.sh (v3.6) - Compact log produced by the script.
- sadmlib_std.sh (v3.22) - When script run on SADMIN server, copy 'rch' & 'log' in Web Interface Dir.
- sadm_server_osupdate.php (v2.9) - Enhance appearance and color of form.
- sadm_create_sysinfo.sh (v3.17) - Collect 'rear' version to show on rear schedule web page.
- sadmLib.php (v2.15) - Reduce Day of the week name returned by SCHEDULE_TO_TEXT to 3 Char.
- sadm_server_backup.php (v1.9) - Enhance Web Appearance and color.
- sadm_server_rear_backup.php (v1.2) - Enhance Web Page Appearance and color.
- sadm_view_file.php (v1.5) - Enhance Web Page Appearance and color.
- sadm_view_rear.php (v1.4) - Change column disposition and show ReaR version no. of systems.
- sadm_view_servers.php (v2.9) - Minor Appearance page change (Nb.Cpu and page width).
- sadm_fetch_clients.sh (v3.7) - Don't use SSH when running daily backup and ReaR Backup for SADMIN server.
- sadm_view_rchfile.php (v2.5) - Add link to allow to view script log on the page.
- sadm_view_rear.php (v1.5) - Don't show MacOS System on page (Not supported by ReaR).
- sadm_osupdate.sh (v3.17) - Include evrything in script log while running 'apt-get upgrade'.
- sadm_server_backup.php (v2.0) - Reduce width of text-area for include,exclude list to fit on Ipad.
- sadm_push_sadmin.sh (v2.14) - Option -u to sync the $SADMIN/usr/bin of SADMIN server to all clients.
- sadm_view_rchfile.php (v2.6) - Remove line counter and some other cosmetics changes.
- sadmlib_std.py (v3.10) - Better handling & Error message when can't connect to database.
- sadmlib_std.sh (v3.23) - Place Alert Message on top of Alert Message (SMS,SLACK,EMAIL)
- sadm_push_sadmin.sh (v2.15) - Option -s to sync the $SADMIN/sys of SADMIN server to all clients.
- sadm_client_housekeeping.sh (v1.35) - Remove alert_group.cfg and alert_slack.cfg, if present in $SADMIN/cfg
- sadmlib_std.sh (v3.24) - For Texto alert put alet message on top of texto and don't show if 1 of 1
- sadmlib_std.sh (v3.25) - Show the script starting date in the header.
- sadm_osupdate.sh (v3.18) - Enhance the update checking process.
- sadm_view_rchfile.php (v2.7) - Display rch date in date reverse order (Recent at the top)
Version 1.2.2 2019-12-14
- Fixes
- Fix format problem (tgz) with previous version (1.2.1) (too big - Include .git).
- You should use 1.2.2 instead of 1.2.1. (Caused problem with sadm_updater.sh).
Version 1.2.1 2019-12-13
- Fixes
- sadm_client_housekeeping.sh (v1.34) - Remove deletion of $SADMIN/www on SADMIN client.
- sadm_view_sysmon.php (v2.10) - Fix problem with temp files (Change from $SADMIN/tmp to $SADMIN/www/tmp)
- sadm_view_sysmon.php (v2.11) - Fix 'open append failed', when no *.rpt exist or are all empty.
- sadm_check_requirements.sh (v1.6) - Fix Mac OS crash.
- Update
- sadmlib_std_demo.sh (v3.17) - Change printing format of Database table at the end of execution.
- sadm_support_request.sh (V2.1) - When run on SADM server, will include crontab (osupdate,backup,rear).
- sadm_fetch_clients.sh (v3.5) - Backup crontab will backup daily not to miss weekly,monthly and yearly.
- sadmPageSideBar.php (v2.12) - Shorten label name of sidebar.
- sadm_server_backup.php (v1.7) - Backup will run daily (Remove entry fields for specify day of backup)
- sadm_view_backup.php (v1.4) - Change Layout to align with daily backup schedule.
- sadmlib_std.sh (v3.21) - Add Server name in susbject of Email Alert,
- sadm_support_request.sh (V2.2) - Add execution of sadm_check_requirenent.
Version 1.2.0 2019-11-25
- New
- Update
- sadm_create_sysinfo.sh (v3.14) - Collect Server Architecture to be store later on in Database.
- sadm_create_sysinfo.sh (v3.15) - Remove utilization on 'facter' for collecting info (Not always available)
- sadm_database_update.py (v3.6) - Record host architecture in server database table.
- sadm_database_update.py (v3.7) - Add architecture column in server table definition, if not present.
- sadm_database_update.py (v3.8) - Remove update of domain column in the database (Use CRUD to change it)
- Python script usage demonstrator
- Shell script usage demonstrator
- SADMIN standard Python library
- sadmlib_std.py (v3.08) - Added function 'get_arch' - Return system arch. (x86_64,armv7l,i686,...)
- sadmlib_std.py (v3.09) - Remove 'facter' utilization (Depreciated).
- SADMIN Shell Library
- sadmlib_std.sh (v3.17) - Added function 'sadm_server_arch' - Return system arch. (x86_64,armv7l,.)
- sadmlib_std.sh (v3.18) - Enhance method to get host domain name in function $(sadm_get_domainname)
- sadmlib_std.sh (v3.19) - Remove utilization of 'facter' (Depreciated)
- sadmlib_std.sh (v3.20) - Change the way domain name is obtain on MacOS $(sadm_get_domainname).
- Web interface
- Templates files
- O/S update
- SADM client inventory
Version 1.1.0 2019-10-10
- Summary
- Content of history file (.rch) are now showed using same uniform way on Backup, the ReaR Backup and O/S update page.
- When script appear on the system monitor page, script documentation is only a click away.
- System monitor page has become starting page and change were made to page layout.
- Update and bug fixes to ReaR backup script.
- sadm_rear_backup.sh (v2.8) - Remove separate creation of ISO (Already part of backup)
- sadm_rear_backup.sh (v2.9) - Change syntax of error messages.
- sadm_rear_backup.sh (v2.10) - Backup list wasn't showing before housekeeping.
- sadm_rear_backup.sh (v2.11) - Show backup size in human readable form.
- Update to Add a system (client) to SADMIN documentation.
- sadmlib_std.sh (v3.16) - Foreground color definition, typo corrections.
- Show History (RCH) content using same uniform way, on all pages.
- Page navigation return to proper previous page after updating some schedule.
- Various update to the web interface
Version 1.0.0 2019-08-31
- Summary
- - New 'Backup Status' web page, you can now view the schedule and status of your backup.
- - Change default number of lines to keep in *.rch file to 60.
- - Backup script path corrected in 'sadm_backup' crontab file.
- - New addition, ReaR backup is now included and can be schedule for all or some of your systems.
- - Centralize the Rear Backup Schedule
- - Centralize the results and logs
- - O/S update script now update the date and status in sysinfo.txt.
- - Fix problem showing [OK] when checking filesystem usage when warning or error were exceeded.
- - Fix O/S Update status indicating failed even when it succeeded.
- - The shell library (sadmlib_std.sh), was not returning the 'System Model" name under Raspian.
- - On the O/S Update status page, don't show MacOS and Aix status (Not applicable).
- - The backup script can now be schedule to run on Aix and MacOS.
- - History file format change, you may want to delete actual one ($SADMIN/cfg/alert_history.txt).
- - System Monitor keep the report file (hostname.rpt) intact while running and replace at the end.
- - System monitor alert, will be issued once a day until the problem is solved.
- - Linux distribution icon is now displayed on the server list and the system monitor page.
- Fixes
- sadm_create_sysinfo.sh (v3.13) - O/S Update was indicating 'Failed' when it should have been 'Success'.
- sadm_server_main.php (v2.3) - Return to caller URL wasn't set properly.
- sadm_fetch_clients.sh (v3.3) - Correct problem with CR in site.conf
- sadm_rear_backup.sh (v2.6) - Code restructure and was not reporting error properly.
- sadm_rear_backup.sh (v2.7) - Fix renaming backup problem at the end of the backup.
- Improvement
- sadm_backup.sh (v3.15) - Modified to backup MacOS system onto a NFS drive.
- New
- sadm_view_backup.php (v1.1) - Allow to return to this page when backup schedule is updated (Send BACKURL)
- sadm_server_rear_backup.php (v1.0) - Initial Beta version - Allow to define ReaR Backup schedule.
- sadmPageSideBar.php (v2.9) - Add 'Rear Backup Status Page'
- sadm_view_rear.php (v1.0) - Initial version of ReaR backup Status Page
- sadm_view_rear.php (v1.1) - First Release of Rear Backup Status Page.
- sadmPageSideBar.php (v2.10) - Side Bar re-arrange order.
- Update
- sadm_df.sh (v1.8) - Remove tmpfs from output on Linux (useless)
- sadm_setup.py (v3.29) - Crontab client and Server definition revised for Aix and Linux.
- sadm_sysmon.pl (v2.34) - Update Filesystem Increase Message & verification.
- sadm_fs_incr.sh (v1.7) - Change Email Body when filesystem in increase
- sadm_fetch_clients.sh (v3.00) - Fix script path for backup and o/s update in respective crontab file.
- sadm_osupdate.sh (v3.13) - O/S update script now update the date and status in sysinfo.txt.
- sadm_view_schedule.php (v2.9) - Don't show MacOS and Aix status (Not applicable).
- sadm_client_housekeeping.sh (v1.31) - Add creation of Directory /preserve/mnt if it doesn't exist (Mac Only)
- sadmlib_std.sh (v3.09) - Change History file format , correct some alert issues.
- sadm_osupdate_farm.sh (v3.12) - Adjustment for Library Changes.
- sadmPageSideBar.php (v2.8) - Add 'Backup Status Page' & Fix RCH files with only one line not reported.
- sadm_template.sh (v2.2) - If no SADMIN env. var. then use /etc/environment to get SADMIN location.
- sadmInit.php (Remove) - repeating error message when not connecting to Database.
- sadm_osupdate.sh (v3.14) - O/S update script now perform apt-get clean before update start on *.deb
- sadmlib_std.sh (v3.10) - Repeat SysMon (not Script) Alert once a day if not solve the next day.
- sadm_client_housekeeping.sh (v1.32) - Remove utilization of history sequence number file.
- sadmlib_std.py (v3.05) - Remove utilization of history sequence number file.
- sadm_fetch_clients.sh (v3.1) - Major revamp of code.
- sadm_server_menu.php (v1.3) - Minor modification to page layout.
- sadm_sysmon.pl (v2.35) - Now using a tmp rpt file and real rpt is replace at the end of execution.
- sadm_template.sh (v2.3) - New variables available (SADM_OS_NAME, SADM_OS_VERSION, SADM_OS_MAJORVER).
- sadm_view_file.php (v1.4) - File is displayed using monospace character.
- sadm_view_server_info.php (v2.12) - Minor code changes
- sadmLib.php (v2.10) - Added function 'sadm_show_logo' to show distribution logo in a table cell.
- sadmlib_std.sh (v3.11) - Minor change to alert message format
- sadm_view_sysmon.php (v2.6) - Add Distribution Logo and modify status icons.
- sadmLib.php (v2.11) - Fix bug - When creating one line schedule summary
- sadm_rch_scr_summary.sh (v1.15) - Fix bug when using -m option (Email report), Error not on top of report.
- sadmLib.php (v2.12) - Add function for new page header look (display_lib_heading).
- sadm_server_backup.php (v1.5) - Redesign page,show one line schedule,show backup policies, fit Ipad screen.
- sadmInit.php (v3.5) - Correct Typo for number of rear backup to keep
- sadm_category_update.php (v2.2) - Use new heading function, return to caller screen when exiting.
- sadm_group_update.php (v2.2) - Use new heading function, return to caller screen when exiting.
- sadm_server_delete_action.php (v1.1) - New Heading and return to Maintenance Server List
- sadm_server_delete.php (v2.2) - New parameter, the URL where to go back after update.
- sadm_server_main.php (v2.2) - New page heading and Logo of distribution inserted.
- sadm_server_osupdate.php (v2.8) - Use new heading function, New parameter (URL) to get back to caller page.
- sadm_server_update.php (v2.2) - Use new heading function, return to caller screen when exiting.
- sadm_server_menu.php (v1.4) - Add ReaR Backup in menu.
- sadm_client_housekeeping.sh (v1.33) - Check /etc/cron.d/sadm_rear_backup permission & remove /etc/cron.d/rear
- sadmInit.php (v3.6) - Added Global Var. SADM_REAR_EXCLUDE_INIT for Rear Initial Options file.
- sadmlib_std_demo.py (v3.7) - Remove printing of st.alert_seq (not used anymore)
- sadmlib_std.py (v3.06) - Added rear_exclude_init Global Var. as default Rear Exclude List
- sadmlib_std.py (v3.07) - Added Global Var. rear_newcron and rear_crontab file location
- sadmlib_std.sh (v3.12) - Added SADM_REAR_EXCLUDE_INIT Global Var. as default Rear Exclude List
- sadmlib_std.sh (v3.13) - Added Global Var. SADM_REAR_NEWCRON and SADM_REAR_CRONTAB file location
- sadm_rear_backup.sh (v2.5) - Updated to align with new SADMIN definition section.
- sadm_server_backup.php (v1.6) - Some typo error and show 'Backup isn't activated' when no schedule define.
- sadm_server_rear_backup.php (v1.1) - Initial working version.
- sadm_fetch_clients.sh (v3.2) - Remove Crontab work file (Cleanup)
- sadmlib_std.sh (v3.14) - Create all necessary dir. in ${SADMIN}/www for the git pull to work
- sadm_rch_scr_summary.sh (v1.16) - Put running scripts and scripts with error on top of email report.
- sadm_setup.py (v3.30) - On Client setup Web USer and Group in sadmin.cfg to sadmin user & group.
- sadm_category_create.php (v2.1) - New page heading, using the library heading function.
- sadm_category_main.php (v2.1) - Use new page heading function.
- sadm_group_create.php (v2.1) - New page heading, using the library heading function.
- sadm_group_main.php (v2.1) - Use new page heading function.
- sadm_server_create.php (v2.2) - New page heading, using the library heading function.
- sadm_fetch_clients.sh (v3.4) - More consice of alert email subject.
- sadmlib_std.sh (v3.15) - Change owner of web directories differently if on client or server.
Version 0.99.0 2019-06-29
Summary of changes
- We are getting near the official release, software is pretty stable now.
- The format of the Return Code History file ('*.rch'), have been changed in this version.
- The conversion is done automatically the first time the client housekeeping script is run.
- The housekeeping script is executed automatically every from the sadm_client crontab, but you can run it manually to do the conversion right away.
- The alert system (Email, Slack and SMS) have been revised and is working great.
- Read how to setup these type of alert.
Using 'Slack' alert
Using SMS/Texto alert
- We made some corrections to the setup script and it's working fine.
- Although the software is working under RHEL 8, we still have some little issue and we are working on it.
Details of changes
- Fixes
- sadm_fetch_clients.sh (v2.37) - Fix problem sending alert when SADM_ALERT_TYPE was set 2 or 3.
- sadmlib_std.sh (v3.05) - Fix problem with repeating alert.
- Improvement
- sadmlib_std.sh (v3.06) - Code reviewed and library optimization (300 lines were removed).
- New
- Update
- sadm_client_housekeeping.sh (v1.30) - Include logic to convert RCH file format to the new one, if not done.
- sadmlib_std.py (v3.03) - Create/Update the rch file using the new format (with alarm type).
- sadmlib_std.sh (v3.03) - Create/Update the RCH file using the new format (with alarm type).
- sadmPageSideBar.php (v2.7) - Updated to deal with the new format of the RCH file.
- sadm_rch_scr_summary.sh (v1.13) - Updated to adapt to the new field (alarm type) in RCH file.
- sadm_sysmon_cli.sh (v2.3) - Updated to adapt to the new format of the '.rch' file.
- sadm_view_rchfile.php (v2.4) - Add Alarm type to page (Deal with new format).
- sadm_view_rch_summary.php (v2.4) - Add Alarm type to page (Deal with new format).
- sadm_view_sysmon.php (v2.5) - Add Alarm type to page (Deal with new format).
- sadm_support_request.sh (v1.9) - Add /etc/postfix/main.cf to support request output.
- sadm_fs_incr.sh (v1.6) - Alert message change when filesystem increase failed.
- sadmlib_std.sh (v3.04) - Function send_alert change to add script name as a parameter.
- sadm_rch_scr_summary.sh (v1.14) - Change screen & email message when an invalid '.rch' format is encountered.
- sadm_support_request.sh (V2.0) - Code Revision and performance improvement.
- sadm_fetch_clients.sh (v2.39) - Cosmetic change to alerts summary and alert subject.
- sadmlib_std.py (v3.04) - Trap and show error when can't connect to Database, instead of crashing.
- sadm_setup.py (v3.26) - Ask for sadmin Database password until it's valid.
- setup.sh (v2.8) - Update procedure to install CentOS/RHEL repository for version 5,6,7,8
- sadm_setup.py (v3.27) - Ask user 'sadmin' & 'squery' database password until it's valid.
- sadmlib_std.sh (v3.07) - Optimize 'send_alert' function.
- sadm_setup.py (v3.28) - Modification of the text displayed at the end of installation.
- sadm_uninstall.sh (v1.9) - Minor code update (use SADM_DEBUG instead of DEBUG_LEVEL).
Version 0.98.0 2019-05-30
New features
- New: You can now be alerted in 3 different ways now :
- By SMS/Texto message (Using TextBelt).
- By Slack alert message (Using Slack software).
- By email (Linux email facility).
Documentation
Update
- Update to the SADM Shell Library
- sadmlib_std.sh (v2.70) - Read/load 3 new sadmin.cfg variables (sadm_alert_repeat,sadm_textbelt_key,sadm_textbelt_key).
- sadmlib_std.sh (v2.71) - Fix problem when writing to alert history log.
- sadmlib_std.sh (v2.72) - Function 'sadm_alert_sadmin' was removed (use 'sadm_send_alert').
- sadmlib_std.sh (v2.73) - Fix - Eliminate sending not wanted duplicate alert.
- sadmlib_std.sh (v2.74) - Change alert history file layout to facilitate search for duplicate alert.
- sadmlib_std.sh (v2.75) - Insert logic to use the interval ('sadm_alert_repeat') before repeating same alert.
- sadmlib_std.sh (v2.76) - Insert alert sending epoch time as the 1st field in history file.
- sadmlib_std.sh (v2.78) - Minor adjustment of message format for history file and log.
- sadmlib_std.sh (v2.79) - Alert via mail now have the script log attach to the email.
- sadmlib_std.sh (v2.80) - Add new 'sadm_show_version()' function (Show version of script, Library and O/S)
- sadmlib_std.sh (v3.00) - When script are run, only one line is added to RCH file per execution (used to be two lines).
- sadmlib_std.sh (v3.01) - 'SADM_DEBUG_LEVEL' global variable now changed 'SADM_DEBUG' for consistency with Python Library.
- sadmlib_std.sh (v3.02) - Eliminate `tput` warning when TERM variable was set to 'dumb'.
- Update to the SADM Python Library
- sadmlib_std.py (v2.28) - Read/load 3 new sadmin.cfg variables (sadm_alert_repeat,sadm_textbelt_key,sadm_textbelt_key).
- sadmlib_std.py (v3.00) - When script are run, only one line is added to RCH file per execution (used to be two lines).
- sadmlib_std.py (v3.01) - Add new 'st.show_version()' function (Show version of script, Library and O/S)
- sadmlib_std.py (v3.02) - Was not loading 'SADM_STORIX_NFS_MOUNT_POINT' global variable properly.
- Update to Library demo scripts
- sadmlib_std_demo.py (v3.5) - Add Alert_Repeat, Textbelt API Key and URL Variable in Output.
- sadmlib_std_demo.py (v3.6) - Add option -p(Show DB password),-s(Show Storix Info),-t(Show TextBeltKey).
- sadmlib_std_demo.sh (v3.12) - Add Alert_Repeat, Textbelt API Key and URL Variable in Output.
- sadmlib_std_demo.sh (v3.13) - Add option -p(Show DB password),-s(Show Storix Info),-t(Show TextBeltKey).
- Update to shell and Python template scripts
- sadm_template.py (v2.0) - Use library 'st.show_version()' function, add getopt() option and new 'st.debug' variable.
- sadm_template.sh (v2.0) - Use library 'sadm_show_version()' function and new global 'SADM_DEBUG' variable.
- Update to housekeeping scripts
- sadm_server_housekeeping.sh (Add) - server crontab file to housekeeping
- SADM System Monitor
- sadm_sysmon.pl (v2.33) - Don't abort if can't create sysmon.lock file
- sview - Cmdline System Monitor Viewer (v1.8) - Showing 'Nothing to report' although there was info displayed.
- smon - System Monitor Command Line Report (v2.2) - Added some colors to output.
- Others Update
- sadm_server_sunrise.sh (v2.5) Log name now showed to help user diagnostic problem when an error occurs.
- sadm_daily_farm_fetch.sh (v3.5) - Add timeout of 5 sec.(-W 5) for ping to response.
- sadm_fetch_clients.sh (v2.35) - Change Send Alert parameters for Library
- sadm_rch_scr_summary.sh (v1.12) - Change send_alert calling parameters
- sadm_check_requirements.sh (v1.4) - Don't generate RCH file & allow running multiple instance of script.
Version 0.97.0 2019-04-23
- Fixes
- sadm_sysmon_tui.pl (v1.7) - Wasn't reporting error coming from result code history (rch) file.
- sadm_cfg2html.sh (v3.5) - Fix problem that prevent running on Fedora.
- .sadmin.rc (v2.3) - Bug fixes Under SysV system & Optimization.
- sadm_service_ctrl.sh (v2.3) - Making sure InitV sadmin service script is executable.
- sadm_service_ctrl.sh (v2.4) - Was not executing shutdown script under RHEL/CentOS 4
- sadm_subnet_lookup.py (v2.2) - Fix problem reading the fping result
- sadm_rch_scr_summary.sh (v1.11) - Doesn't report an error anymore when last line is blank.
- sadm_setup.py (v3.19) - Fix 'sadmin' user home directory and default password creation on Debian.
- sadm_fetch_clients.sh (v2.33) - Create Web rch directory
- sadm_uninstall.sh (v1.6) - Don't show password when entering it
- sadm_uninstall.sh (v1.7) - Remove user before dropping database
- sadm_setup.py (v3.22) - File /etc/environment was not properly updated under certain condition.
- sadm_setup.py (v3.23) - Fix 'squery' database user password typo error.
- sadm_setup.py (v3.25) - Release 0.97 Re-tested with CentOS/RedHat version.
- setup.sh (v2.6) - Solve problem with installing 'pymysql' module.
- setup.sh (v2.7) - Solve problem with pip3 on Ubuntu.
- New
- sadm_uninstall.sh (v1.3) - Uninstall script production release.
- sadm_check_requirements.sh (v1.1) - Verify if SADMIN requirement are met and -i to install missing requirement.
- sadmlib_std_demo.py (v3.3) - Add demo call to function get_packagetype()
- sadmlib_std_demo.sh (v3.9) - Add demo call to function 'sadm_get_packagetype'
- sadmlib_std.py (v2.27) - Function 'get_packagetype()' that return package type (rpm
- sadmlib_std.sh (v2.66) - Function 'sadm_get_packagetype' that return package type (rpm
- Update
- sadm_create_sysinfo.sh (v3.12) - PCI hardware list moved to end of system report file.
- sadm_df.sh (v1.7) - No background color change
- sadmlib_screen.sh (v1.7) - Add time in menu heading.
- sadm_setup.py (v3.16) - Perl DateTime module no longer a requirement.
- sadm_setup.py (v3.17) - Default installation server group is 'Regular' instead of 'Service'.
- sadm_setup.py (v3.18) - If not already install 'curl' package will be intall by setup.
- sadm_view_server_info.php (v2.10) - Volume Group Used & Free Size now show with GB unit.
- sadmlib_std.sh (v2.65) - Improve: Optimize code to reduce load time (125 lines removed).
- documentation.php (v1.1) - Insert man page for sadm_check_requirements.sh
- sadm_check_requirements.sh (v1.2) - Add 'chkconfig' command requirement if running system using SYSV Init.
- sadm_service_ctrl.sh (v2.5) - Major Revamp - Re-Tested - SysV and SystemD
- sadm_service_ctrl.sh (v2.6) - Added message when enabling/disabling sadmin service.
- sadmlib_std.sh (v2.67) - Set log file owner ($SADM_USER) and permission (664) if executed by root.
- sadmLib.php (v2.8) - Function SCHEDULE_TO_TEXT now return 2 values (Occurence & Date of update)
- sadm_server_osupdate.php (v2.6) - If a Date is used to schedule O/S Update then the day specify is not used.
- sadm_view_schedule.php (v2.6) - Show Calculated Next O/S Update Date & update occurrence.
- sadm_view_server_info.php (v2.11) - Adapt for Schedule_text function change in library
- sadm_check_requirements.sh (v1.3) - Use color variables from SADMIN Library.
- sadmlib_screen.sh (v1.8) - Use Color constant variable now available from standard SADMIN Shell Libr.
- sadmlib_std_demo.py (v3.4) - Don't show Database user name if run on client.
- sadmlib_std_demo.sh (v3.10) - Don't show Database user name if run on client.
- sadmlib_std.sh (v2.68) - Optimize execution time & screen color variable now available.
- sadm_service_ctrl.sh (v2.7) - Use color variables from SADMIN Library.
- sadm_ui_fsmenu.sh (v2.5) - Use color variables from SADMIN Libr.
- sadm_view_subnet.php (v1.5) - Show Card Manufacturer when available.
- sadm_uninstall.sh (v1.4) - Remove 'sadmin' line in /etc/hosts
- sadmlib_std.sh (v2.69) - Fix tput error when running in batch mode and TERM not set.
- sadmlib_std_demo.sh (v3.11) - Add Database column "active"
- sadm_uninstall.sh (v1.5) - Show if we are uninstalling a 'client' or a 'server' on confirmation msg.
- sadm_setup.py (v3.20) - Check DD connection for user 'sadmin' & 'squery' & ask pwd if failed
- sadm_setup.py (v3.21) - Password for User sadmin and squery wasn't updating properly .dbpass file.
- sadm_client_housekeeping.sh (v1.28) - Make 'sadmin' account & password never expire (Solve Acc. & sudo Lock)
- sadm_fetch_clients.sh (v2.34) - Show Processing message only when active servers are found.
- sadm_sysmon.pl (v2.31) - Get SADMIN Root Directory from /etc/environment.
- sadm_uninstall.sh (v1.8) - When quitting script
- sadm_view_schedule.php (v2.7) - Minor code cleanup and show "Manual
- sadm_setup.py (v3.24) - Release 0.97 Re-tested with Ubuntu version.
- sadm_sysmon.pl (v2.32) - Produce customized Error Message
- setup.sh (v2.5) - Will now install python 3.6 on CentOS/RedHat 7 instead of 3.4
- man_template.php (v1.1.) - Small Adjustment
Version 0.96.0 2019-03-15
- Change
- sadmLib.php (v2.7) - Convert schedule metadata to one text line (Easier to read in Sched. List)
- sadm_ui.sh (v2.7) - Nicer color presentation and code cleanup.
- sadm_daily_farm_fetch.sh (v3.4) - Change error message when ping to system don't work
- sadmlib_std.sh (v2.64) - 'lsb_release -si' return new string in RHEL/CentOS 8 Chg sadm_get_osname
- sadm_client_housekeeping.sh (v1.27) - Make sure .gitkeep files exist in important directories
- sadmlib_screen.sh (v1.6) - Added color possibilities and cursor control to library.
- sadmlib_std.py (v2.26) - 'lsb_release -si' return new string in RHEL/CentOS 8
- sadm_setup.py (v3.15) - Change related to RHEL/CentOS 8 and change some text messages.
- Fixes
- sadmlib_std.sh (v2.62) - break error when finding system domain name.
- Improvement
- sadmlib_fs.sh (v2.5) - SADMIN Filesystem Library - Major code revamp and bug fixes.
- sadm_ui_fsmenu.sh (v2.4) - SysAdmin Menu - (sadm command) Code revamp and add color to menu.
- New
- sadmInit.php (v3.4) - Add $SADMIN/www to PHP Path
- sadm_fetch_clients.sh (v2.32) - Copy script rch file in global dir after each run.
- sadm_setup.py (v3.14) - Reduce output on initial execution of daily scripts.
- Removed
- sadm_sysmon.pl (v2.29) - Remove DateTime Module (Not needed anymore)
- Updated
- setup.sh (v2.0) - Bug Fix and updated for RHEL/CensOS 8
- setup.sh (v2.1) - More changes for RHEL/CensOS 8
- setup.sh (v2.2) - Add EPEL repository when installing RHEL or CENTOS
Version 0.95.2 2019-02-06
- Shell Library (sadmlib_std.sh) changes:
- Fix: v2.61 Correct type error..
- Fix: v2.62 Break error when finding system domain name.
Version 0.95.0 2019-01-29
- Web Interface
- Support Request script
- Now Include Shell & Python Library Demo output.
- Include system information files from dat/dr dir.
- Remove blank line & Comment Line (#) from output.
- Create Sysinfo script
- v3.6 - Minor fix for MacOS.
- v3.7 - Use scutil for more Network Info. on MacOS.
- v3.8 - Use lshw to list Disks and Network Info on Linux.
- v3.9 - Use lsblk to list Disks Partitions and Filesystems.
- v3.10 - Added lspci, lsscsi and create hardware html list.
- Setup script
- v3.9 Default alert group is set to sysadmin email during setup.
- v3.10 Fix: Retest under CentOS 7.6, Debian 9.7 and Ubuntu 18.04.
- v3.11 Adapt crontab for MacOS and Aix, Setup Postfix.
- v3.12 For security reason, assign SADM_USER a password during installation..
- v3.13 SADM_USER Home Directory is /home/SADM_USER no longer the install Dir.
- Fix update problem when O/S Update Date was blank.
- Shell Library changes:
- v2.56 - Change way of getting CPU Information on MacOS.
- v2.57 - If Startup & Shutdown script don't exist, create them from template.
- v2.58 - Default logging ([B]oth) is now set to screen and log.
- v2.59 - Include definitions for backup & exclude list, avail to user.
- Fetch_client script on server.
- Added: v2.27 Using sudo to start o/s update in cron file.
- Added: v2.28 Update 'sadm_backup' crontab when backup schedule change.
-
- Added: v2.29 Update backup and exclude list on clients, if modified on SADMIN server.
- Fix: v2.30 - Fix O/S Update crontab generation.
- System Monitor
- Change: v2.27 - Enhance Performance checking service, chown & chmod only if running as root.
- Fix : v2.28 - Fix problem when checking service using Sys V method.
Version 0.94.0 2018-12-15
- Update - sadm_dr_savefs.sh (v2.7) - Minor Bug fix, add backup of fstab, remove support for RHEL3,RHEL4.
- Update - sadm_create_sysinfo.sh (v3.5) - Added some Aix commands output in system information report.
- New - Documentation - sadm_cfg2html.sh - Get System information and creates a HTML web page of it.
- New - Documentation - sadm_client_sunset.sh - Client end of day housekeeping and producing system information files.
- New - Documentation - sadm_dr_savefs.sh - Save system filesystems information in order to recreate them from scratch.
- New - Documentation - sadm_dr_recreatefs.sh - Recreate filesystems on Linux and Aix in a disaster recovery situation.
- Update - Documentation - Documentation Page - Page updated and layout reorganize.
- Update - sadm_rch_scr_summary.sh (v1.10) - Change email header titles.
- Update - sadm_support_request.sh (v1.5) - Include 'log' directory into output compress file.
- Update - sadm_client_housekeeping.sh (v1.20) - Error now reported when 'sadmin' account is lock (prevent 'sadmin' cron jobs to run).
- New - Documentation - sadm_server_sunrise.sh (v1.0) - Run every morning to collect and process data produced by all actives clients.
- Update - sadm_client_housekeeping.sh (v1.21) - Check SADM_USER status, give more precise explanation & corrective cmd if lock.
- Update - sadm_fetch_clients.sh (v2.24) - Added fetch to MacOS client
- New - Documentation - sadm_daily_farm_fetch.sh - Gather disaster recovery and performance information files from all actives clients.
- New - Documentation - sadm_database_update.py - Update SADMIN database with systems information collected by Daily Farm Fetch.
- New - Documentation - sadm_server_housekeeping.sh - Make sure all the server files have proper owner, group and permission. .
- New - Documentation - sadm_fetch_clients.sh - Collect all new or modified script (*.rch), SysMon (*.rpt) files and issue alert if needed.
- New - Documentation - sadm_subnet_lookup.py - Scan network subnet specified in sadmin.cfg and build IP/Hostname/Status in Database.
- Update - sadm_server_housekeeping.sh (v2.3) - Restructure for performance.
- New - Documentation - sadm_nmon_rrd_update.sh - Update performance statistics Database with the data collected by the Daily Farm Fetch.
- New - Documentation - sadmlib_std_demo.sh Show with examples all global variables and functions you can use within your shell script.
- New - Documentation - sadmlib_std_demo.py Show with examples all global variables and functions/modules you can use within your Python script.
- Update - sadm_dr_recreatefs.sh (v2.2) - Fix problem with Debuging Level.
- Update - sadmlib_std.sh (v2.53) - Fix problem determining domain name when DNS is server is down.
- Update - sadm_dr_savefs.sh (v2.8) - Fix bug with Debugging Level.
- Update - sadm_updater.sh (V2.7) - While updating SADMIN client, don't check for change in web directories.
- Update - sadm_support_request.sh (v1.6) - Include Shell and Python Library Demo in log and SADM_USER info.
- Update - sadm_setup.py (V3.9) - When installing server, default alert group is set to sysadmin email.
- Update - sadmlib_std.sh (v2.54) - Fix Error Message when DB pwd file don't exist on server & Get DomainName on MacOS
- Update - sadm_client_housekeeping.sh (v1.22) - Fix Error Message on MacOS trying to find SADMIN User in /etc/passwd.
- index.php (v2.2) - Show Server memory, number of CPU and cpu Speed on home page.
- sadm_server_common.php (v2.3) - Add 'Darwin' as a choice for Operating System Type.
Version 0.93.0 2018-11-17
- Documentation added - sadm_template.py - Using the SADMIN Python Template.
- Documentation added - sadm_support_request.sh - Create a support request information file.
- Documentation updated - sadm_template.sh - Using the SADMIN Shell Template.
- sadm_template.py (V2.2) - Activate use Database by default (Only on SADMIN server)
- sadm_create_sysinfo.sh (v3.3) - System Report show only last 10 booting date/time
- sadmlib_std.py (v2.21) - Was trying to use Database even if was not on SADMIN Server
- sadm_subnet_lookup.py (v2.1) - DataBase Connect/Disconnect revised.
- sadmlib_std.py (v2.22) - Fix logging problem & refine test connection to Database
- sadm_template.py (V2.3) - Database Connection Error Improve
- sadmlib_std.sh (v2.51) - Add Link in Slack Message to view script log.
- sadm_database_update.py (v3.4) - Database Connection Error Improve
- sadmlib_std.py (v2.23) - Change for support of MacOS Mojave
- sadm_cfg2html.sh (v3.4) - Chown & Chmod of cfh2html produced files.
- sadm_create_sysinfo.sh (v3.4) - Restructure script for Performance
- sadm_support_request.sh (v1.4) - Restructure for performance and flexibility.
Version 0.92.0 2018-11-03
- Documentation added - sadm_template.sh - Using the SADMIN Shell Template (sadm_template.sh)
- Documentation added - sadm_wrapper.sh - Use this wrapper to call your existing scripts and benefit of SADMIN tools.
- Documentation added - sadm_osupdate.sh - Apply latest O/S update to current server.
- Documentation added - sadm_osupdate_farm.sh - Apply latest O/S update to all active servers or the selected server.
- Documentation added - sadm_create_server_info.sh - Run daily to collect hardware & software info of system (Use for DR).
- sadmlib_std.sh (v2.47) - Alert not sent by client anymore,all alert are send by SADMIN Server(Avoid Dedup)
- sadm_sysmon.pl (v2.26) - Change email sent when smon configuration isn't found
- sadm_create_sysinfo.sh (v3.2) - More info were added about the system and network in report file.
- sadm_osupdate.sh (v3.10) - Command line option -d -r -h -v added.
- sadm_osupdate_farm.sh (v3.11) - Adjustment needed to call sadm_osupdate.sh with or without '-r' (reboot) option.
- sadm_client_housekeeping.sh (v1.18) - Remove old dir. not use anymore (if exist)
- sadmlib_std.sh (v2.48) - Only assign a Reference Number to 'Error' alert (Warning & Info not anymore)
- sadm_dr_savefs.sh (v2.5) - Change reference to script use for re-creating filesystem.
- sadm_view_server_info.php (v2.6) - Add prefix 'cfg2html_' to file name generated by cfg2html & link to files.
- sadm_setup.py (v3.7) - Linefeed was missing in file '/etc/sudoers.d/033_sadmin-nopasswd'
- sadmlib_std.sh (v2.49) - Correct Type Error causing occasional crash
- sadmlib_std.sh (v2.50) - Use dnsdomainname to get current domainname if host cmd don't return it.
- sadm_client_housekeeping.sh (v1.19) - Code Maint. & Comment
- sadm_rear_backup.sh (Produce) a new log every time
Version 0.91.0 2018-10-18
- Documentation added - How-to create a Slack workspace to be used as the alerting system.
- Documentation added - How-to create Slack channel and Slack App. to receive your alert(s).
- Documentation added - How-to use SADMIN alerting system from scripts and System Monitor.
- Enhancements & Bug fixes to alerting facilities in SADM Shell Library.
- sadm_create_sysinfo.sh (v3.00) - O/S Update Status was not reported correctly.
- sadm_database_update.py (v3.03) - Add Debug Variable and verbosity to script.
- sadm_fetch_clients.sh (v2.23) - Supplemental message about o/s update crontab modification.
- Documentation added - sadm_sysmon_tui.pl - Summary of alerts and failed scripts of all your servers.
- sadm_view_schedule.php (v2.5) - Change Layout of line (More Compact)
- sadm_support_request.sh (v1.3) - Remove O/S Version Restriction and added /etc/environment printing.
- sadm_sysmon_cli.sh (v2.2) - Don't use rch file & don't send email if failing (It is an interactive script)
- sadm_view_rch_summary.php (v2.3) - Added Alert group Display
- Documentation added - sadm_service_ctrl.sh - Enable, disable, get status of System Startup & Shutdown script.
- sadm_view_rchfile.php (v2.3) - Added Alert Group Display on Page
- sadm_daily_farm_fetch.sh (v3.3) - Added Default Alert Group
- sadm_sysmon.pl (v2.23) - Error reported was stating > instead of >=
- sadmlib_std.py (sadmlib_std.py) - v2.20 Add alert group to RCH file.
- sadm_rear_backup.sh (v2.3) - Include Usage of Alert Group
- sadm_updater.sh (V2.6) - Alert Group Utilization
- sadm_osupdate_farm.sh (v3.10) - Include Alert Group
- sadmlib_screen.sh (v1.4) - Show SADM Version instead of Release No.
- sadm_view_subnet.php (v1.3) - Compact Page Layout
- sadm_sysmon.pl (v2.24) - Ping System 3 times before signaling an Error
- sadm_subnet_lookup.py (v2.0) - Fix Problem with Updating Last Ping Date
- sadmPageSideBar.php (v2.5) - Failed Script counter was wrong
- sadmlib_std.sh (v2.45) - Error reported by scripts, issue multiple alert within same day (now once a day)
- sadm_df.sh (v1.6) - Corrected Total Display Problem under Linux
- sadmlib_std_demo.sh (v3.6) - Show SMON Alert Group, Channel and History Files
- sadm_rch_scr_summary.sh (v1.8) - Add list of scripts ran today in HTML page send in (-m) Mail option
- sadm_view_sysmon.php (v2.4) - Enhance Performance, New Page Layout and Fix issue with rch new format.
- sadmlib_std.sh (v2.46) - Remove repetitive line in Slack Message and Email Alert
- sadm_sysmon.pl (v2.25) - For initial host.smon file, default alert group are taken from host sadmin.cfg
Version 0.90.0 2018-09-30
- Enhancements to Slack alerting mechanisms integration with some bugs fixes.
- Daily script email report appearance enhancements.
- Return Code History (rch) file now include the alert group.
- Each alert issued by the System Monitor in now assign a reference number.
- The Network IP usage web page have been reformatted.
- The 'sdf' command output is now in color and bug regarding total usage of disk space is fixed.
- Alert Group is now showing on the SysMon report page.
- Creation of an alert history file, each alert sent is recorded in this file (cfg/alert_history.txt).
- Slack or Email Alert coming from a (your) script can now include the log to save you time.
- SysMon ping server test, will now perform 3 pings to eliminate false alert.
- To prevent alert overflow, the same alert is send once in a day,
if not solve will alert again tomorrow.
- Filesystem increase problem fix in 'sadm' filesystem menu.
- Fix problem with no RCH file format on System Monitor Web Page and change format of web page
- Documentation still in progress.
Version 0.89.0 2018-09-22
- System Monitor can now alerted you either by email or by 'Slack' on your mobile phone or tablet.
- Several Bug fixes and enhancements.
- Display problem & filesystem increase problem is fix with 'sadm' menu.
- All utilities and Web pages are updated to used Alert Group.
- Documentation continue to be added.
Version 0.88.0 2018-08-29
- Documentation Update (In progress)
- README.md file was updated, check on Github.
- sadm_backupdb.sh v2.0 Add '-b' to specify backup directory,
documentation done.
- sadm_daily_farm_fetch.sh v3.2 If couldn't get /etc/environment from client, change Email format.
- sadm_df.sh v1.3 Adapted to work on MacOS and Aix &
Documentation done.
- sadm_rch_scr_summary.sh 2018_08_27 v1.4
New Email format when using -m command line switch,
Documentation done.
- sadm_server_housekeeping.sh v2.2 On SADMIN Server, Delete rch and log older than number of days specified in sadmin.cfg
- sadm_setup.py v3.6 http://sadmin.yourdomain will be standard to access SADMIN web site.