Restore trends

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nagiosnandha
Posts: 8
Joined: Thu Nov 07, 2013 2:06 am

Restore trends

Post by nagiosnandha »

How to restore Trends after rename the host on nagios core?
ie:) I have to change the host_name in switch.cfg without any changes in history.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Restore trends

Post by abrist »

The "trends" graph pulls from the logs. As you changed the name of the host, it is no longer found in the logs. You would need to replace all instances/mentions of the old hostname in the logs with the new hostname.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked