BUG in unconfigured object process
Posted: Wed Jan 23, 2019 4:10 am
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?
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?