Page 2 of 2

Re: Incorrect data from command line export?

Posted: Tue Dec 29, 2015 1:21 pm
by jsharris
Oh, that is much better! Thanks!

Changed the query string and still not matching. 28 in the GUI, still only 10 in the command line output. Is there a limitation on the number of items it will pull in this fashion?

Re: Incorrect data from command line export?

Posted: Tue Dec 29, 2015 1:38 pm
by Box293
It's all about the size argument I describe here:
https://support.nagios.com/forum/viewto ... 70#p152130

Re: Incorrect data from command line export?

Posted: Tue Dec 29, 2015 1:54 pm
by jsharris
Looks like that did it. Didn't realize that if no size was specified it would default to 10 or that the size option had to be included in the URL as opposed to the "size": line.

But it appears we have workable data now. Many thanks for the help on this!

Re: Incorrect data from command line export?

Posted: Tue Dec 29, 2015 2:04 pm
by Box293
Great stuff, it took me a while to work this out as well.