Page 10 of 13
Re: NDO2DB Issue out of the blue
Posted: Thu Aug 27, 2015 11:25 am
by BanditBBS
That was a short test...nothing was happening. In top I could see ndo2db listed and at a low cpu percent like we'd hope, but my XI wasn't being updated at all. I had to put the original ndo2db back in place and restart it to get my XI functioning again
Re: NDO2DB Issue out of the blue
Posted: Thu Aug 27, 2015 11:26 am
by tmcdonald
What were the details for the two checks? Do you still have configs or another way to replicate them? A backup or old profile perhaps? Even just the output would be nice.
Re: NDO2DB Issue out of the blue
Posted: Thu Aug 27, 2015 11:38 am
by BanditBBS
tmcdonald wrote:What were the details for the two checks? Do you still have configs or another way to replicate them? A backup or old profile perhaps? Even just the output would be nice.
Look at the last line of the debug_6949_.log in the zip I sent you.
That is the bad check I think, not 100% sure, and I actually think my output from it will be the same, so will probably still cause issue with NDO2DB.
The bigger issue now is my previous post though.
EDIT: Yeah, still crashing/hanging. So if we can get the patch working I can still test
Re: NDO2DB Issue out of the blue
Posted: Thu Aug 27, 2015 2:18 pm
by jfrickson
Alrighty then, let's try again
Get the original ndo2db.c back and apply this patch. Check if it's draining the queues and adding stuff to the database.
Re: NDO2DB Issue out of the blue
Posted: Thu Aug 27, 2015 2:27 pm
by BanditBBS
jfrickson wrote:Alrighty then, let's try again
Get the original ndo2db.c back and apply this patch. Check if it's draining the queues and adding stuff to the database.
Still no good. The queue is being created and I can see messages going into it and also being removed. However, the numbers in nagios never update(Monitoring Engine check Stats) and fall to zero.
Re: NDO2DB Issue out of the blue
Posted: Thu Aug 27, 2015 4:23 pm
by jfrickson
Ok, I
really got it this time!
Apply this patch to the original source and try it again.
Re: NDO2DB Issue out of the blue
Posted: Thu Aug 27, 2015 4:29 pm
by BanditBBS
Testing in PRODUCTION is fun, MKay!
Still not working. Now the messages build up in the queue and never remove. I can see ndo2db running in top and using very very little cpu, but it isn't doing anything this time.
At least I have the process down real good now!
Re: NDO2DB Issue out of the blue
Posted: Thu Aug 27, 2015 4:36 pm
by jfrickson
BanditBBS wrote:Testing in PRODUCTION is fun, MKay!
Oh yeah!
BanditBBS wrote:Still not working. Not the messages build up in the queue and never remove. I can see ndo2db running in top and using very very little cpu, but it isn't doing anything this time.
Fooey. Does nagios.log or syslogs say anything?
Re: NDO2DB Issue out of the blue
Posted: Thu Aug 27, 2015 4:40 pm
by jfrickson
Oh crap! I sent you the version with the 15 second delay
Try this one. Last one for the day, I promise!
Re: NDO2DB Issue out of the blue
Posted: Thu Aug 27, 2015 4:45 pm
by BanditBBS
jfrickson wrote:Oh crap! I sent you the version with the 15 second delay
Try this one. Last one for the day, I promise!
HAHAHA
Ok, so this one may be looking like it is working. Going to make sure it all looks good for a few and then head home. Will let you know after the weekend if no issues arise or before that if it still happens