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
69 stars 13 forks source link

HostGroup Filter List not populated #75

Closed bjhiggins closed 4 months ago

bjhiggins commented 1 year ago

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?

chriscareycode commented 1 year ago

Never tested with Icinga. It is possible livestatus on Icinga is returning a format slightly different than what the code is expecing. Payload should be like this.

hostgrouplist

Your note made me realize that in the last release where I added "ServiceGroup" filters, that I forgot to update support for ServiceFilters with livestatus. So will get a fix in for that.

Testing with MK livestatus connector on my Nagios server it is working OK.

Unsure why your HostGroup filters are not showing though. If you could send me a screenshot similar to the one I posted to make sure the payload looks the same.

chriscareycode commented 5 months ago

@bjhiggins Please try latest release 0.9.2 and see if it fixes the issue