We've moved to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

how to rename host file without losing its data

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

how to rename host file without losing its data

Postby Hanza » Thu Dec 16, 2021 5:22 pm

Hi!!

I need to rename a host file without losing its historical data, obviously that nagios see the rename as a new file and it remove all the historical data about the old one.

Can you please help me ? it's really a sensitive situation
Hanza
 
Posts: 8
Joined: Fri Dec 25, 2020 5:24 pm

Re: how to rename host file without losing its data

Postby gormank » Fri Dec 17, 2021 11:51 am

Have you tried renaming the hostname dir under perfdata?
locate perfdata
locate <name of host to be renamed>
I'm not sure if the .rrd or .xml files contain the hostname, so that might be worth looking into.
gormank
 
Posts: 994
Joined: Tue Dec 02, 2014 12:00 pm

Re: how to rename host file without losing its data

Postby nadeem.shaikh » Wed Dec 29, 2021 2:20 pm

Hi Hanza,

It seems you would like to rename hostname of any device.

You can use "Bulk Renaming Tool" option in NagiosXI >>> Core Config Manager >>> Tools
nadeem.shaikh
 
Posts: 2
Joined: Mon Feb 05, 2018 6:47 am
Location: India


Return to Community Support

Who is online

Users browsing this forum: Fess [Nagios Bot] and 25 guests