push historical data into XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
teh0015
Posts: 59
Joined: Tue Jul 07, 2015 9:07 am

push historical data into XI

Post 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.
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: push historical data into XI

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: push historical data into XI

Post 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.
Former Nagios employee
https://www.mcapra.com/
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: push historical data into XI

Post by dwhitfield »

Thanks @tacolover101 and @mcapra!

OP, did you have any other questions?
teh0015
Posts: 59
Joined: Tue Jul 07, 2015 9:07 am

Re: push historical data into XI

Post by teh0015 »

I think I'm good.
TNX everyone!
Locked