volendavidov / NagBar

macOS status bar monitor for Nagios, Icinga/2 and Thruk
https://sites.google.com/site/nagbarapp/
Apache License 2.0
20 stars 2 forks source link

icinga2 doesn't display service name #16

Open syschris opened 2 years ago

syschris commented 2 years ago

Nagbar version 1.3.7 on Monterey doesn't display the service name column. Icinga1 and icingaweb2 does.

volendavidov commented 2 months ago

The service name column is fetched from the ["attrs"]["name"] field in the JSON: https://github.com/volendavidov/NagBar/blob/master/NagBar/Icinga2Parser.swift#L100

I see the field in the default Icinga2 API as attached in the screenshot

Screenshot 2024-09-02 at 20 20 35

Perhaps you have a custom implementation?