Coder Social home page Coder Social logo

chriscareycode / nagiostv-react Goto Github PK

View Code? Open in Web Editor NEW
65.0 65.0 12.0 3.71 MB

Monitor your Nagios server on a wall mounted TV (or a phone or desktop). Installation instructions are below in the README.md

Home Page: https://nagiostv.com

License: GNU General Public License v2.0

Shell 1.17% HTML 0.39% CSS 10.08% JavaScript 2.14% PHP 6.75% TypeScript 79.48%
nagios nagios4

nagiostv-react's People

Contributors

chriscareycode avatar dependabot[bot] avatar jessedp avatar kmalinich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nagiostv-react's Issues

Not an issue with TV. Unable to post a discussion thread

I tried to add this under discussions/ideas, however I was unable to?
Anyways,
I was wondering if it would be possible to add a link to the alert history entries, below the graphs, to their respective services in the same manner the current warnings/alerts do? If you do not think there would be any interest for other users I can just change mine!
Thanks,
Charlie

HostGroup Filter List not populated

I am using NagiosTV to monitor my iCinga instance via LiveStatus and am pulling Host/Service data. I can confirm that "connectors/livestatus.php?query=hostgrouplist" returns appropriate data for HostGroups and their members.

However, the HostGroup filter pull down is not populated:

image

Thoughts on next steps?

Possible improvment

Hi there,

First of all, thanks!
Thanks for this interface and for your email you sent me to show me this, I know it was long time ago but I completely forgot about this :)

I was trying to implement this and there is something it doesn't work with my setup (Naemon + Livestatus).

This setup required the original .cgi file from Nagios, which I don't have and it is the reason of this "Issue".

It would be, in my personal opinion, much better if you have a way to implement this UI using livestatus or the socket file, this way it would be compatible also with Naemon

As TV UI I am using (at least for now) this one: https://github.com/smarkets/merlin-dashboard

Hope it helps and that you might be interested on doing this change :)

Thanks
Best regards
Andrea

Nagios XI 5.7.3 won't load anything on Nagios TV

Not sure where to look but nothing loads in TV. Tried going back prior versions that were working but seems like a XI update broke TV. Not sure when due to the lack of use during COVID....

TV shows:
Monitoring 0 hosts
All 0 hosts are UP
0 of 0 hosts are UP (0 hidden)
Monitoring 0 services
All 0 services are OK
0 of 0 services are OK (0 hidden)
Alert History
No alerts

Where as Nagios shows:

Ok Warning Unknown Critical Pending
2105 7 0 8 0

15 | 15 | 2120

Where should I look to help troubleshoot? Thanks!

Access NagiosTV without authentication

Hi,

I want to be able to access nagiostv without using the nagios authentication, i have tried to place the nagiostv folder directly into the root web directory but this did not work and still asked for authentication

Has any one got and ideas on how to do this?

Thanks in advance

Remove the NagiosTV from navbottombar

Just looking for a way to remove the entire bottom bar where the nagiosTV @Version sits.

I was able to remove it from the .jsx file in navbottombar.jsx but some reason it doesn't reflect.

Not familiar with react so maybe that is the problem, Cheers!

Sounds

We're big fans here. Thanks for all your work! We'd like to request a feature and I'd be happy to sponsor it if it's not too crazy to do. Could we have an option to play a ding or noise on a new item being added? We made a custom JS to do this using mutationobservers scanning for objects with the 'border-red' or 'border-yellow' classes being added to the dom and playing a wav file for each one. Our TV sits behind our tech bench and they love having the audio alerts. It works fine for our purposes but it's a clugey way to do it. Would you consider adding something similar?

Show the Hostalias and the Hostname

Hello,
Is it possible to show not only the hostname, but also the hostalias on the dashboard?
Currently, we always have to define the Hostname in the nagiosconfig as "hostname_description" so that we not only see the hostname, but also some Description of the Host. The hostname does not allow any spaces, so we used the underline.
Text to Speech has now the Problem, that it's reading the underline too.
Since in the Nagios Config there is also the possibility to define a hostalias which is some kind of description, it would be nice to have a choice to show the Hostalias.
Right now it is:
Hostname Service Warning
My idea:
Hostname Hostalias Service Warning

Thanks
David

settings cookie should be sorted

When new settings are introduced, easiest way to use them is copy cookie from browser and modify client-settings.json file in configuration (we use saltstack).
When settings are not sorted, they sometimes change their order and that makes update of json harder.
nagiostv-json

Missing configuration options?

I installed as instructed into /usr/local/nagios/share/nagiostv. When I visit the URL I see JS errors as shown attached like unto:
ERROR: 200 SyntaxError: Unexpected end of JSON input - /nagios/cgi-bin/statusjson.cgi?query=hostlist&details=true

capture

Is there something else I need to do?

Nagios TV Interaction

Hello,

Is it possible to click on an alert and this open a new tab to the Service Information page of this alert ?

Best regards

script problem polifill.min.js

Hello,

I have an issue when I access nagiostv 0.7.5
It seem an problem with this script.
My nagios server don't access to internet and when I access it, I don't acces nagiostv and I juste wait this script timeout
image

SOFT and HARD alert

Hello,

Thank you for your work !!!!!!!

Is it possible to have an option to hide SOFT alerts in history and active alerts in nagiostv?

Best regards

Move the Alert Section to the top

Hello.

How would you go about moving the AlertSection to the top of the page?
Maybe even make so one can pick the position of each section

Thanks in advance!

Handle Large LiveStatus Datasets Better?

I have a large number of Hosts and Services in my iCinga instance. 3394 Hosts and 4957 Services. When setting up NagiosTV and connectors/livestatus.php - I had to increase my PHP-FPM memory_limit from 256M to 1024M.

I believe that LiveStatus allows for a "Limit" keyword to return a smaller number of records (https://docs.checkmk.com/latest/en/livestatus.html#_limiting_an_output_limit)

Is there any way to update the connector so that it only requests Hosts/Services which are not in an OK Status rather than all records? This would shrink the memory requirements of the PHP script and make response time quicker.

•This website requires you to log in.

Hi,

We get this after installation. We use nagios core 4.4.3 but we do use the Valtour style skin that provides a different presentation of the Nagios web interface. The actual error is the The website declined to show this webpage. Most likely causes: This website requires you to log in. My guess is since Valtour has its own index.html that is messing us up.

IE compatibility?

Hi, im trying to show nagios tv fron internet explorer but all black, i must use IE cause i need in a xibo cms envoirement.

Any help?

Thanks

nagiostv 0.5.1 : hide sidebar

Hello,

Thanks for your works !!!!!
It's very good webui for nagios.

With this version, it work very well for hide soft alert

With the nagiostv v0.5.1, we have a left sidebar now.
I use nagiostv on tv with frame with 2 nagiostv.

It is possible to hide sidebar ?

In the next release of course.

New feature to hide ACKED and SCHEDULED items

Hi Chris,
I use nagiosTV for some time and it's realy nice tool to show Nagios status on TV.
But i miss one feature, I would like to hide all checks which are ACKED or Downtimed. When one server is down and I marked it as downtimed, I see on my screen all critical services and I can miss some important Failure when all criticals are mixed (ACKED and Problems).
Can You add one options to settings to disable view of all ACKED and downtimed host/checks ?

Comments not being pulled onto NagiosTV Dash

Updated from last version to this newest and all comments have disappeared (ive kept all config files the exact same) ive tried removing comments and reapplying them but NagiosTV doesn't seem to acknowledge them.

inspect element shows the commentlist payload being sent and getting a response with the correct data, just not showing on dash on their respective services and hosts.

rollback returns comments, will stick on older version until fixed.

Feature Requst - Filter by hostgroup

I would like the ability to only show hosts and services on hosts that belong to a specific hostgroup. This would allow a lobby TV to show only outages that affect a "public" group, and not everything. It would have to be configurable in the client-settings.json so it could be used by kiosks without interaction. Thanks.

archivejson.cgi does not return values unless endtime is a negative value

Nagios Core 4.4.7
NTV: 0.8.7

This could be an error in this Nagios version.

The alertlist is just empty when sending +0.
When sending -0 it works just fine.
When sending +1 as endtime there is an error msg:
"The requested start time must be before the end time."

Which seems odd.

Solution/Workaround:

In
/usr/share/nagios/nagiostv/static/js/main.5ed0ad9f.js
change endtime entries.

From
concat(t,"&endtime=%2B

to

concat(t,"&endtime=%2D

on both occasions.

Best regards

Time and date Format

Hello,

Thanks for your job !!!!!!!

It is possible to have an setting for configure time format for Have 12 ou 24 format ?

Best regards

"Quiet For X hours Y minutes" line is too large

Hi Chris I like your nagios TV a lot about I found this problem in the 0.5.8, that this Quiet For bar takes up lots for blank space vertically in my Chromium Linux browser. I found this can be fixed by edit the main.XXX.css at:
QuietFor.quietfor-xlarge-size{padding-top:100px;padding-bottom:100px}
change to:
QuietFor.quietfor-xlarge-size{padding-top:10px;padding-bottom:10px}
Can this be fixed in the next version? Thanks.

Hide Filters problem

Hey,

if i hide filters, host and services status buttons won't disappear, and i can click on them and filter aswell. Is it a bug? So if i'm click on ACK button on the first pic, it will be showing ACK hosts.
used version 0.8.5
Filter off
Screenshot 2022-10-10 at 15 06 58

Filter on
Screenshot 2022-10-10 at 15 06 49

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.