Bug in API
Re: Bug in API
Hmm so the problem is more than likely caused by too many being written at once... although it adds to the file instead of overwriting it like before it seems like the import is being imported before they are all written and maybe the file is being locked/deleted before the rest get entered in. I'll have to test sending a bunch all at once (I only sent a few at once) and I can get back to you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Bug in API
I put my sleep commands back in, but set to 1 and 9 out of 11 were added. So looks like a sleep 3 would still be needed between them all. In your testing, I'd at least test adding 15 back to back.jomann wrote:Hmm so the problem is more than likely caused by too many being written at once... although it adds to the file instead of overwriting it like before it seems like the import is being imported before they are all written and maybe the file is being locked/deleted before the rest get entered in. I'll have to test sending a bunch all at once (I only sent a few at once) and I can get back to you.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Bug in API
I have an idea. I'll get back to you sometime this afternoon hopefully with a fix you can try.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Bug in API
This has been fixed in 5.2.2. Closing this.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.