Save Host/Service History Data


#1

I am interested to apply a new host nomenclature in my Nagios server, at the same time I don’t want to loose the history data of hosts/services. So, the question would be, is it possible that I can change host name of a node without loosing its history data. Maybe a way of introducing host ID’s, which I don’t know how.

I will appreciate any help.

Astrit.


#2

I think nagios saves host/service history in files retention.dat and status.dat. The thing is how to manipulate these files and to change the host or service name without loosing its history? Anyone ?


#3

the history is in the log files. you’ll need to parse through all files and modify the names.
I think retention and status are only for keeping status information during restarts.