Page 1 of 1

push historical data into XI

Posted: Thu Jan 25, 2018 5:30 pm
by teh0015
I want to create a check that returns a numeric value so I can put it in a historical graph.
Easy enough to pass the perfdata so I have a nice chart I can view over X timeframe.

The question is - can I push *historic data into XI somehow?
I've got all of the past data and can generate that check output for past dates/times.

Re: push historical data into XI

Posted: Thu Jan 25, 2018 11:44 pm
by tacolover101
i don't believe this is feasible as the time series data is stored in RRD's.

now if you really wanted to, you could probably manipulate the RRD's, but i will tell you now - this will get messy, and probably not supported by the Nagios folks.

see here for more information - https://lists.oetiker.ch/pipermail/rrd- ... 11229.html

Re: push historical data into XI

Posted: Fri Jan 26, 2018 9:33 am
by mcapra
Given that XI 6 is going to completely re-do performance data handling, now is definitely the time to lobby for such a feature if you'd like to see it implemented. RRDs, given how they were designed, aren't very good at handling the sudden introduction of non-sequential data points. You can merge existing data sets, though.

You could take a look at @box293's Performance Data Tool extension:
https://exchange.nagios.org/directory/A ... ol/details

I'd think if you could gin up an RRD that contains all the old data, you could merge it into the existing one with the above tool. It'd be particularly easy if the historical data was already in RRD form and had all the same labels as the new data.

Re: push historical data into XI

Posted: Fri Jan 26, 2018 12:33 pm
by dwhitfield
Thanks @tacolover101 and @mcapra!

OP, did you have any other questions?

Re: push historical data into XI

Posted: Fri Jan 26, 2018 5:32 pm
by teh0015
I think I'm good.
TNX everyone!