Skip to content

Releases: chriscareycode/nagiostv-react

2024-06-01 Fix react-transition-group

02 Jun 05:05
Compare
Choose a tag to compare

Tried to fix a error in react-transition-group and it ended up breaking the enter and exit animations. Reverting that code for now.

2024-06-01 A quick follow up to 0.9.0

02 Jun 04:37
Compare
Choose a tag to compare
  • Fix broken Comments fixes #82
  • Fix broken HostGroups, ServiceGroups fixes #75
  • More TypeScript types

2024-05-26 It has been a while

26 May 17:00
Compare
Choose a tag to compare

It has been a while. This release contains a lot of structural changes, library updates to keep the project up to date. Since there are so many large changes and updates in this build, be sure to let me know in GitHub Issues tab if you run into problems.

Larger structural changes:

  • Switch from create-react-app to Vite for build system
  • Switch from Recoil to Jotai for data storage
  • Switch from jQuery to Axios for data fetching

Features and Bugs:

  • Add "Most recent alert" to Summary panel
  • Move Doomguy into the Summary panel
  • Fetch Nagios info from the server and display Nagios version and uptime on the Summary panel
  • Disable logging on the experimental MiniMap, it leaks memory
  • Add a small Doomguy icon in Settings
  • Fixes for issue #80 livestatus.php connector compatibility with PHP 8.2
  • Fix missing hostcount.json and servicecount.json from sample-data. Needed for local development when demo=true or fakedata=true
  • Add Doomguy "concerned" option to Settings
  • Convert the AlertItem component to functional component
  • Convert the Progress component to functional component
  • Hamburger menu is a little more chill and not sliding the main body over
  • Update all packages, including TypeScript to v5.4.5
  • Use negative value to fetch alert items. Fixes issue #79

2023-03-24 Handle large datasets better

24 Mar 18:17
Compare
Choose a tag to compare

Improve scale for larger datasets.

NagiosTV would fetch the full list of hosts and services on the polling interval, and filter for only items that are "not UP" or "not OK" to display the items on the page. On larger Nagios installs with thousands or tens of thousands of items, this created much more data transfer, and more CPU on the server than necessary. Refactored the routines to:

  • Only fetch "not UP" or "not OK" items from the API
  • Make an additional API call to determine "how many hosts" and "how many services" there are in total.

Add a new option automaticScrollWaitSeconds to help control the delay on the automatic scroll feature.

Fix a bug where service comments were showing up on the parent host item.

2023-02-04 TypeScript and MiniMap

05 Feb 00:50
Compare
Choose a tag to compare
  • Add "MiniMap" option to more easily see items that are off the screen. See https://nagiostv.com/ for demo
  • Add Service Group Filters
  • Convert the project to TypeScript. This should help with catching bugs earlier, going forward.

Due to the TypeScript conversion, this is a pretty big update touching a lot of files. If you run into issues, as always, reach out on the Issues tab here.

2022-06-12 A difficult year

12 Jun 18:02
Compare
Choose a tag to compare

At least we can find some peace and happiness in keeping our hosts and services UP and OK

  • TopPanel saveCookie when toggling settings so they persist.
  • Fix Progress bar CSS so its rounded not square.
  • Disable click on items in Demo Mode. The click will try to pop open window to Nagios web ui which does not exist.
  • Show "Connection Refused" error message instantly (instead of only after 3 retries) when there are no items on the page. User is probably doing initial setup, and quicker feedback of the error message would be better.
  • Update deps react-scripts and react 18
  • Trying to fix HistoryChart spacing bugs, episode 10
  • Reduce the top margin on the comment
  • Change the "soft" icon from a spinning circle to a cloud rain icon
  • Disable "Save settings to server" button in Demo mode
  • Highcharts tooltip look better on dark background
  • Highcharts tooltip show hour on hourly chart

2022-01-02 It's a new year

03 Jan 00:51
Compare
Choose a tag to compare
  • Individual toggles for 24 hour chart, and "long" chart. Users may want to see only one of them.
  • Add a new layout option to put Hosts and Services side-by-side or stacked (default)

2021-12-20 Winter update

21 Dec 02:27
Compare
Choose a tag to compare

If you are updating from 0.7.5 there are some significant updates that you will need to review on 0.8.0, 0.8.1, 0.8.2 and this update.

  • Bump Highcharts to 9.3.2 and highcharts-react-official to 3.1.0
  • Another fix for 24 hour chart padding issue
  • Flynn should smile for 2s when clicked
  • Fix the HistoryChart fake data when demo=true and fakeData is being used. It gets more and more stale by the day. So we need to compensate for that.

2021-12-07 Are your hosts and services up?

08 Dec 06:20
Compare
Choose a tag to compare

New stuff in this release:

  • Include the IE11 polyfill in the project so it does not need to be fetched from a CDN
  • Progress bars should be linear animation, not ease
  • Increase the number of progress bars which are on the screen at a given time. GPU accelerated progress bars are looking good.
  • A fix for the 24 hour history chart to try and fix the left and right padding we still see from time to time

The new section on top (that did not exist in the previous release 0.7.5) is what is referred to as "Summary" in the settings. You can turn it off in settings if you do not like it. I was thinking it would be good to have a summary section at the top that lets you know, at a glance, what is down. This is especially useful if you have more down items than what will fit on the screen. I'm not in love with the current design of the summary section and this will evolve over time. It should be simple clear and compact.

Better CPU for progress bars

13 Nov 22:27
Compare
Choose a tag to compare
Pre-release
  • Refactored the Next Check In progress bars to use scaleX() instead of width to get the work on the GPU as opposed to CPU.
  • Only hide the progress bar if there are more than 20 hosts/services down, up from previous limit of 10. We'll see how the GPU fix does and update this safety net further.
  • Set the document.title from the title set in settings. This will cause the browser page name to match the title name you set. Supports Emoji also.
  • Add some more text on the settings page which options affect client / server CPU.
  • Added back in the version check which was somehow removed during the Recoil refactor.