User Tools

Site Tools


NEMS Linux 1.3 Changelog

NEMS Linux 1.3 was released November 7, 2017.

This version of NEMS Linux will further simplify configuration by moving many of the Linux terminal commands and configs to the NEMS Linux UI. We’ll also see some minor adjustments to the performance and overall capabilities of NEMS Linux. New configuration options will also be included to allow users to enable or disable various features such as RPi-Monitor or the Nagios API if not needed (reduce resource usage).

NEMS Linux 1.3 will introduce our first-ever deployment for another SBC, the ODROID XU4.

Support for Raspberry Pi 3 will be immediate, with support for the ODROID XU4/XU4Q coming later this quarter.

NEMS Linux 1.3 Initial Release

As NEMS Linux 1.3 is currently under development, this list will continue to grow as development continues.

To login to NEMS 1.3+ for the first time, you must login as nemsadmin. Once you run nems-init that account will be disabled and you will then login as your newly created account (whatever that may be).

  • User www-data added to nagios group. Now can manipulate configs.
  • Developed NEMS Linux System Settings Tool (SST) - this allows configuring Nagios settings from the UI.
  • Set permissions of /etc/nagios3/resource.cfg to 660, allowing NEMS Linux SST to edit it.
  • Change Webmin miniserv to use custom generated certs rather than the previous default cert, which would have been the same for every NEMS Linux system prior to 1.3, sort of defeating the purpose of having SSL.
  • Add NEMS Linux Version, Pi Release, NEMS Linux Hardware ID and Network send/receive to RPi-Monitor. Remove Swap from RPi-Monitor (no longer used in NEMS Linux).
  • Begin preparations for other SBCs: configuration now stored in /home/pi/nems.conf. This is not a user-editable file.
  • Linux kernel upgraded to 4.9.50-v7+.
  • Weekly benchmark log now located at /var/log/nems/benchmark.log
  • Improvements made to MOTD: Memory now listed in an easier-to-read way, Removed swap since we no longer use it on NEMS Linux. Added weekly load average. Pointed to the new nems-info command.
  • New Check Commands:
    • check_mikrotik_switch - monitor stats for some MikroTik routers, including thermal sensors, packet loss, uptime, and so-on.
    • check_minecraft - monitor Minecraft server uptime, see how many players are connected and analyse the response time. enable-query and enable-rcon do not need to be enabled on the Minecraft server, so you should be able to monitor any Minecraft server.
    • check_rpi_temperature - Check Raspberry Pi temperature with perfdata and warn/crit thresholds.
  • AVAHI configuration greatly improved: now NEMS Linux should be able to resolve *.local addresses better than previous releases. Also, nems.local should now be available on your network.
  • nems-init now creates a Linux user for your NEMS user account. This account has access to the sudo command. This becomes your default account for all NEMS services, including SSH.
  • nems-init now creates a Samba user for your NEMS web interface user.
  • Can now access your NEMS Migrator backup over Samba at \\nems.local\backup - login and the password is whatever you setup during nems-init.
  • NEMS-Migrator's backup.nems files are now stored in RAM to reduce writes to SD card.
  • The built-in sound card has now been disabled. Surely not much resource savings, but there's no reason to have it loaded.
  • os-release and issue updated to NEMS (was still showing Raspbian)
  • Apache mod_security is now installed and activated by default.
  • Apache footer reflects NEMS Linux rather than Raspbian.
  • nems-scripts has been moved out of /home/pi/ and into /usr/local/share/nems/ as I prepare to deprecate the dependency on a pi user.
  • Notify by Push notifications using Telegram has been added, with thanks to baggins. I also wrote it into NEMS SST.
  • monit is now included and monitoring the MariaDB, Apache2, Nagios3 and samba processes. Should any one of those crash, monit will automatically restart the service. Your NEMS user has access to the monit web console at https://nems.local:2812 (or via the menu).
  • Fixed an issue where nagios-api may try to load before nagios3, which would result in nagios-api crashing with error since /var/cache/nagios3/status.dat wouldn't exist yet.
  • Made it so nagios-api and rpi-monitor may be disabled from within NEMS SST. At present the NEMS server must be rebooted for the changes to take effect: checks for enabled/disabled services at boot and acts accordingly.
  • Move nems.conf to /usr/local/share/nems/ in preparation for the deprecation of the pi user.
  • Changed nems.conf user to www-data so NEMS SST may be used to change configuration settings.
  • New admin user created, nemsadmin - this must now be used instead of the pi user when first booting your NEMS server. Once nems-init is complete, this user is automatically deleted.
  • nems-init now sets RPi-Monitor to run as the newly-created user (not pi).
  • The pi user has been deleted (new user is nemsadmin:nemsadmin).
  • Upgraded NagVis to 1.9.4 (stable as of October 30, 2017).
  • Retry stats API submission on timeout for 2 hours.
  • The Nagios3 theme has been moved to nems-www. This only affects 1.3+ and will allow me to make revisions/fixes to the Nagios Core theme using rolling updates.
  • Nagios Core theme has been replaced with a modified version of Arana theme. This resolves the issues with text being hard to read (ie., black text on gray background) and lightens up the overall feel of NEMS. baggins had reported it is difficult to read some headings (eg., when generating graphs) on the Nagios Core theme, so starting over with a clean theme seems like a great plan. I will later add a “dark” version for those who were partial to the dark theme, and will make it selectable by NEMS SST.
  • NagVis no longer uses admin:admin nor requires you to change it manually. Now, your username:password which you set during nems-init are automatically configured as the administrator user.
  • apt will now check for updates once per week and will automatically install security updates. This can be adjusted in Webmin → System → Software Package Updates.
  • Changed Webmin date display format to YYYY-MM-DD.
  • Upgraded Webmin theme to 19.02-1. Dashboard now loads significantly faster.

Rolling Updates

  • November 8, 2017 - Fixed the RPi-Monitor dashboard from displaying “undefined” for NEMS version information and such, as pointed out by kevinds.
  • November 8, 2017 - nemsadmin password wasn't being changed to random password correctly during nems-init. This feature is meant to lock out that account to protect users from outside attack against the default account. Issue fixed for nems-init, and also set to automatically change the password every day.
  • November 8, 2017 - Check for hw_model every day and create it if it does not exist. If platform unknown, report as such to Anonymous Stats (was previously reporting unknown as Pi 1).
  • November 8, 2017 - Add sslcert command to nems-info.
  • November 9, 2017 - Made it so NEMS Anonymous Stats will only report to the API if the server is ready to do so. It will also wait 30 seconds if it's not ready to allow background tasks to prepare the system for stats reporting. I had to add an “Unknown device” yesterday to the API simply because so many servers were reporting erroneous data. This patch is another step toward the fix since now at least the NEMS servers will not report if they're not ready to do so.
  • November 9, 2017 - Fixed a bug with rolling updates that was resetting a user's API Key each day (I'd accidentally left some test code behind). Now the code behaves as it should, only resetting the API Key if one has not already been set.
  • November 9, 2017 - Created nems-cert and nems-quickfix commands.
  • November 9, 2017 - Added dialog to allow me to create prettier terminal-based prompts.
  • November 9, 2017 - nems-cert now uses dialog for all prompts and includes a generic settings option, making it practically instantaneous to generate a new SSL cert for your NEMS server.
  • November 10, 2017 - Made it so the temperature monitor logs the temperature every 15 minutes and then works on a weekly average (much more accurate for stats). Also remove dependence on Monitorix for temperature data and instead loading the data directly from the CPU thermal sensor.
  • November 11, 2017 - Removed CN from nems-cert.
  • November 12, 2017 - Add password protection to phpMyAdmin. Some people have been putting their NEMS servers online (public), but did not change their MySQL root password. So rather than forcing change, I added it so they now have to login with their NEMS username/password before they can get to the phpMyAdmin login prompt, which effectively protects those users. Retroactive update to NEMS 1.2.
  • November 13, 2017 - Switched NEMS to using Debian's Snakeoil SSL certs and migrated nems-certs over to this system temporarily. This fixes a problem with Windows 10 users unable to connect to their NEMS server.
  • November 13, 2017 - nems-restore feature modified to work with NEMS 1.3.
  • November 20, 2017 - Added nic command to nems-info and improved IP detection algorithm.
  • November 20, 2017 - Added checkport command to nems-info.
  • November 20, 2017 - Made it so Monitorix cronjobs do not run if Monitorix is not responding on port 8080 to fix high CPU usage in event Monitorix was not working.
  • November 20, 2017 - Added username validation to nems-init as per Kuesco.
  • November 20, 2017 - Corrected the location of Nagios default config files in nems-migrator as per parisbrothers. Was in conflict with NEMS 1.4's Nagios 4.3.4 deployment.
  • November 22, 2017 - Hardware Platform detection improved to assist in launching to new hardware. Logic Supply CL100 also added.
  • November 24, 2017 - Change nems-info diskusage command to check for disk space on /home rather than /dev/root, which was Pi specific. Now the command works on other SBC's (in development).
  • December 4, 2017 - Add output of $user2$ variable to NEMS SST as per JatBee.
  • December 5, 2017 - Fixed Nagios Core username bug resulting in some users unable to access certain pages of Nagios Core as reported by kd4pyr.
  • December 29, 2017 - NEMS-Migrator's Offsite Backup feature has been implemented, but not yet publicly available (requires an account).
  • January 12, 2018 - Offsite Backup settings now part of NEMS SST. System is ready to begin public testing.
  • January 14, 2018 - NEMS “has not been initialized” page is now graphical instead of just plain text.
changelogs/nems_1.3.txt · Last modified: 2018/01/14 20:33 by Robbie Ferguson