Search found 6 matches

by Matthewj
Tue Aug 28, 2018 11:57 am
Forum: Nagios XI
Topic: REST API for rrdexport not functioning as documented
Replies: 11
Views: 4089

Re: REST API for rrdexport not functioning as documented

Thanks for your help. With the info above, I was able to put together a script to output detailed information through the API (within the limitations of the RRD step levels). I just iterate through importing 24-hour time periods. I needed to convert the epoch time format and output it to CSV, anyway.
by Matthewj
Mon Aug 27, 2018 5:28 pm
Forum: Nagios XI
Topic: REST API for rrdexport not functioning as documented
Replies: 11
Views: 4089

Re: REST API for rrdexport not functioning as documented

OK, that would be helpful if your Documentation team would make note of that, as I did not find any information to that effect when trying to find details, previously. The documentation, that I have,says outputtype is " Only available in objects API. ", but rrdexport is part of that object...
by Matthewj
Mon Aug 27, 2018 4:57 pm
Forum: Nagios XI
Topic: REST API for rrdexport not functioning as documented
Replies: 11
Views: 4089

Re: REST API for rrdexport not functioning as documented

Yep, that did it.

What about outputtype? I can't seem to get that parameter to work, either.
by Matthewj
Mon Aug 27, 2018 4:33 pm
Forum: Nagios XI
Topic: REST API for rrdexport not functioning as documented
Replies: 11
Views: 4089

Re: REST API for rrdexport not functioning as documented

I'm trying to modify my script to iterate through 24-hour periods, and that isn't working either. The API seems to be ignoring the "stop" parameter. An example of the latest URL I've used. https://NAGIOS/nagiosxi/api/v1/objects/rrdexport?apikey=KEY&host_name=HOST&service_descriptio...
by Matthewj
Mon Aug 27, 2018 1:42 pm
Forum: Nagios XI
Topic: REST API for rrdexport not functioning as documented
Replies: 11
Views: 4089

Re: REST API for rrdexport not functioning as documented

The rra.cfg file says that the step should be 30 minutes up to 90 days, but I'm getting a step of 2 hours for the past 30 days, so that doesn't seem to completely explain why I'm getting those results
by Matthewj
Mon Aug 27, 2018 1:03 pm
Forum: Nagios XI
Topic: REST API for rrdexport not functioning as documented
Replies: 11
Views: 4089

REST API for rrdexport not functioning as documented

I'm having two related problems with the rrdexport API, and haven't been able to find any reasons why this might be the case, despite a lot of searching. It's been playing havoc with my attempts to create a script to provide requested data. I'm attempting to export the last month of data from a serv...