HI,
Since at least 5.5.5 we have had the unconfigured objects list completely empty from our remote agents.
Now upgraded to 5.5.9 and the issue was still there so took a deepdive to understand how that would work.
After many checks I noticed the /usr/local/nagiosxi/scripts/parse_core_eventlog.php file had an extra space on the grep for
CMD=grep 'Error: Got host checkresult for ' /usr/local/nagiosxi/var/corelog.diff.
That expected 2 spaces on the log line after for and thus never noticed these lines.
[1548234215] Error: Got host checkresult for 'DEVICE', but no such host can be found
So by removing that one space everything started to work like it should.
Could you please put that on the fix list?
BUG in unconfigured object process
Re: BUG in unconfigured object process
Thank you for reporting the issue! I can confirm that there is an extra space on this line. Our developers have been made aware of the bug, and will be fixing it in the next release of Nagios XI. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!