NagVis / nagvis

Visualization addon for your open source monitoring core
http://nagvis.org/
GNU General Public License v2.0
113 stars 73 forks source link

Hosts displaying in NagVis with error The object does not exist (host). #291

Open Spence156 opened 2 years ago

Spence156 commented 2 years ago

Hi,

I have added a number of new hosts to a Nagios Core Install this week and some of the hosts are pulling into Nagvis but displaying with blue Icon and the below error when I hover over:

Problem (Backend: live_1): The object "" does not exist (host).

The other hosts I have added show correctly so not sure what NagVis doesn't like about these specifically.

image

I've checked the Apache error log and there is nothing obvious in there to show this issue and the host shows as "OK" in Nagios so not sure what NagVis doesn't like about it.

Spence156 commented 2 years ago

I've worked out what the issue is here, the problem was caused by a "." character in the hostname. E.g. hostname = mywebsite.com.

Nagios allows "." characters in the hostname but it looks like this causes Nagvis to stop detecting the linked services.