chriscareycode / nagiostv-react

Monitor your Nagios server on a wall mounted TV (or a phone or desktop). Installation instructions are below in the README.md
https://nagiostv.com
GNU General Public License v2.0
67 stars 12 forks source link

Nagiostv showing 2 services unknown categories #86

Open asylum71 opened 2 months ago

asylum71 commented 2 months ago

Hello Chris,

 I installed Nagiostv to my 2 Nagios hosts today and noticed that it has 2 categories showing as services unknown.  I believe the 2nd should be services total like hosts total.  Just installed this today on Nagios 4.5.3 and definitely thanks for the awesomeness!
image
asylum71 commented 1 month ago

Fixed the issue.

Log into server

cd /usr/local/nagios/share/nagiostv/assets

cp index-BJDg9LMl.js index-BJDg9LMl.js.BAK

nano index-BJDg9LMl.js

find children:t.howManyServices

change "services",T.jsx("br",{}),"unknown" to "services",T.jsx("br",{}),"total"

Should show up correctly after refreshing the page

image
rmendes-13 commented 4 weeks ago

This error is also present on the main README.md file on the repo root.