BUG in unconfigured object process

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jkettu
Posts: 2
Joined: Fri Feb 09, 2018 5:49 am

BUG in unconfigured object process

Post by jkettu »

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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: BUG in unconfigured object process

Post by lmiltchev »

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!
Locked