Hostname change.
Marc Powell
marc at ena.com
Fri Feb 25 21:38:37 CET 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Cory Casler
> Sent: Friday, February 25, 2005 12:49 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Hostname change.
>
> I have a hostname that needs to be changed, how do I change the
hostname
> and maintain its reference to old data?
- Change the hostname in the nagios config files; restart or reload
nagios
- Change every occurrence of the hostname in every file in your archive
dir (/usr/local/nagios/var/archives). A simple sed, shell or perl script
can handle this.
--
Marc
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list