transfer host data
list Ryan Jay B. Lapuz
Hii all!
This is regarding to this command: ~/server/bin/bb 127.0.0.1 "rename OLDHOSTNAME NEWHOSTNAME"Description: move your historical data over to the new nameIs this also possible if I will just move only the host data to another host? Like this one,~/server/bin/bb 127.0.0.1 "rename HOSTNAME TARGETHOSTNAME"The target host has no client but is defined in the bb-hosts file.
RYAN JAY B. LAPUZ Client-Server Group
Information System Support Management Information System Fujitsu Comp. Prod. Corp. of the Phil. Email: user-945139049f37@xymon.invalid +63 2 843 2002 / +63 49 549 1501
Local No.: 2724/2723
list Josh Luthman
There is no difference in those two commands. Your question is answered by the third line you have. The only thing that takes place when this command is issued is a rename of the historical information for one host. This can be used, for example, if you typo a name. IE: you have mommie.domain.tld and it should be mommy.domain.tld and for the past week mommie.domain.tld has been collecting information and you'd like to keep it. On 11/23/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:
Hii all! This is regarding to this command: ~/server/bin/bb 127.0.0.1 "rename OLDHOSTNAME NEWHOSTNAME" Description: move your historical data over to the new name Is this also possible if I will just move only the host data to another host? Like this one, ~/server/bin/bb 127.0.0.1 "rename HOSTNAME TARGETHOSTNAME" The target host has no client but is defined in the bb-hosts file. *----------------------------------------------- RYAN JAY B. LAPUZ * Client-Server Group Information System Support <http://system.fcpp.fujitsu.com/>;
▸
Management Information System *
Fujitsu Comp. Prod. Corp. of the Phil. *
Email: user-945139049f37@xymon.invalid <user-945139049f37@xymon.invalid+>
+63 2 843 2002 / +63 49 549 1501
Local No.: 2724/2723
*-----------------------------------------------*
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Ryan Jay B. Lapuz
Hi Josh! Thanks for your help. Regards, Ryan ----- Original Message ----- From: Josh Luthman To: user-ae9b8668bcde@xymon.invalid Sent: Saturday, November 24, 2007 1:03 PM Subject: Re: [hobbit] transfer host data
▸
There is no difference in those two commands. Your question is answered by the third line you have.
The only thing that takes place when this command is issued is a rename of the historical information for one host. This can be used, for example, if you typo a name. IE: you have mommie.domain.tld and it should be mommy.domain.tld and for the past week mommie.domain.tld has been collecting information and you'd like to keep it.
On 11/23/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:
Hii all!
This is regarding to this command: ~/server/bin/bb 127.0.0.1 "rename OLDHOSTNAME NEWHOSTNAME"Description: move your historical data over to the new nameIs this also possible if I will just move only the host data to another host? Like this one,
~/server/bin/bb 127.0.0.1 "rename HOSTNAME TARGETHOSTNAME"
The target host has no client but is defined in the bb-hosts file.
-- Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Ryan Jay B. Lapuz
I'm sorry, it is not to be moved, I just want copy the host data to another host. Is this possible?
▸
----- Original Message ----- From: Josh Luthman To: user-ae9b8668bcde@xymon.invalid Sent: Saturday, November 24, 2007 1:03 PM
Subject: Re: [hobbit] transfer host data
There is no difference in those two commands. Your question is answered by the third line you have.
The only thing that takes place when this command is issued is a rename of the historical information for one host. This can be used, for example, if you typo a name. IE: you have mommie.domain.tld and it should be mommy.domain.tld and for the past week mommie.domain.tld has been collecting information and you'd like to keep it.
On 11/23/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:
Hii all!
This is regarding to this command: ~/server/bin/bb 127.0.0.1 "rename OLDHOSTNAME NEWHOSTNAME"Description: move your historical data over to the new nameIs this also possible if I will just move only the host data to another host? Like this one,
~/server/bin/bb 127.0.0.1 "rename HOSTNAME TARGETHOSTNAME"
The target host has no client but is defined in the bb-hosts file. -----------------------------------------------
RYAN JAY B. LAPUZ Client-Server Group
Information System Support Management Information System Fujitsu Comp. Prod. Corp. of the Phil. Email: user-945139049f37@xymon.invalid +63 2 843 2002 / +63 49 549 1501
Local No.: 2724/2723
-- Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Josh Luthman
I believe that if you go into ~hobbituser/data and copy the data in hist, histlogs, and logs you'll get what you need.
▸
On 11/24/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:I'm sorry, it is not to be moved, I just want copy the host data to another host. Is this possible? ----- Original Message -----
*From:* Josh Luthman <user-4c45a83f15cb@xymon.invalid>
▸
*To:* user-ae9b8668bcde@xymon.invalid *Sent:* Saturday, November 24, 2007 1:03 PM *Subject:* Re: [hobbit] transfer host data There is no difference in those two commands. Your question is answered by the third line you have. The only thing that takes place when this command is issued is a rename of the historical information for one host. This can be used, for example, if you typo a name. IE: you have mommie.domain.tld and it should be mommy.domain.tld and for the past week mommie.domain.tld has been collecting information and you'd like to keep it. On 11/23/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:Hii all! This is regarding to this command: ~/server/bin/bb 127.0.0.1 "rename OLDHOSTNAME NEWHOSTNAME" Description: move your historical data over to the new name Is this also possible if I will just move only the host data to another host? Like this one, ~/server/bin/bb 127.0.0.1 "rename HOSTNAME TARGETHOSTNAME" The target host has no client but is defined in the bb-hosts file. *----------------------------------------------- RYAN JAY B. LAPUZ * Client-Server Group Information System Support <http://system.fcpp.fujitsu.com/>; Management Information System * Fujitsu Comp. Prod. Corp. of the Phil. * Email: user-945139049f37@xymon.invalid <user-945139049f37@xymon.invalid+> +63 2 843 2002 / +63 49 549 1501 Local No.: 2724/2723 *-----------------------------------------------*-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Ryan Jay B. Lapuz
Yeah, but the file names are associated with the current hostname, and I want to copy it to different hostname. Maybe I'll make backup first, then I'll move the host data to another host. Then restore the hostdata to its original host. Is this correct? ----- Original Message ----- From: Josh Luthman To: user-ae9b8668bcde@xymon.invalid Sent: Saturday, November 24, 2007 1:34 PM
▸
Subject: Re: [hobbit] transfer host data
I believe that if you go into ~hobbituser/data and copy the data in hist, histlogs, and logs you'll get what you need.
On 11/24/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:
I'm sorry, it is not to be moved, I just want copy the host data to another host.
Is this possible?
----- Original Message ----- From: Josh Luthman To: user-ae9b8668bcde@xymon.invalid Sent: Saturday, November 24, 2007 1:03 PM
Subject: Re: [hobbit] transfer host data
There is no difference in those two commands. Your question is answered by the third line you have.
The only thing that takes place when this command is issued is a rename of the historical information for one host. This can be used, for example, if you typo a name. IE: you have mommie.domain.tld and it should be mommy.domain.tld and for the past week mommie.domain.tld has been collecting information and you'd like to keep it.
On 11/23/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote: Hii all!
This is regarding to this command: ~/server/bin/bb
127.0.0.1 "rename OLDHOSTNAME NEWHOSTNAME"Description: move your historical data over to the new nameIs this also possible if I will just move only the host data to another host? Like this one,
~/server/bin/bb 127.0.0.1 "rename HOSTNAME TARGETHOSTNAME"
The target host has no client but is defined in the bb-hosts file. -----------------------------------------------
RYAN JAY B. LAPUZ Client-Server Group
Information System Support Management Information System Fujitsu Comp. Prod. Corp. of the Phil. Email: user-945139049f37@xymon.invalid +63 2 843 2002 / +63 49 549 1501
Local No.: 2724/2723
-- Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Josh Luthman
What I mean is something like.. cp ~hobbituser/data/hist/oldhost ~hobbituser/data/hist/new host cp ~hobbituser/data/histlogs/oldhost ~hobbituser/data/histlogs/new host cp ~hobbituser/data/logs/oldhost ~hobbituser/data/logs/new host Notice you're using cp - not mv!
▸
On 11/24/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:Yeah, but the file names are associated with the current hostname, and I want to copy it to different hostname. Maybe I'll make backup first, then I'll move the host data to another host. Then restore the hostdata to its original host. Is this correct? ----- Original Message ----- *From:* Josh Luthman <user-4c45a83f15cb@xymon.invalid> *To:* user-ae9b8668bcde@xymon.invalid *Sent:* Saturday, November 24, 2007 1:34 PM *Subject:* Re: [hobbit] transfer host data I believe that if you go into ~hobbituser/data and copy the data in hist, histlogs, and logs you'll get what you need. On 11/24/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:I'm sorry, it is not to be moved, I just want copy the host data to another host. Is this possible? ----- Original Message ----- *From:* Josh Luthman <user-4c45a83f15cb@xymon.invalid> *To:* user-ae9b8668bcde@xymon.invalid *Sent:* Saturday, November 24, 2007 1:03 PM *Subject:* Re: [hobbit] transfer host data There is no difference in those two commands. Your question is answered by the third line you have. The only thing that takes place when this command is issued is a rename of the historical information for one host. This can be used, for example, if you typo a name. IE: you have mommie.domain.tld and it should be mommy.domain.tld and for the past week mommie.domain.tld has been collecting information and you'd like to keep it. On 11/23/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:Hii all! This is regarding to this command: ~/server/bin/bb 127.0.0.1 "rename OLDHOSTNAME NEWHOSTNAME" Description: move your historical data over to the new name Is this also possible if I will just move only the host data to another host? Like this one, ~/server/bin/bb 127.0.0.1 "rename HOSTNAME TARGETHOSTNAME" The target host has no client but is defined in the bb-hosts file. *----------------------------------------------- RYAN JAY B. LAPUZ * Client-Server Group Information System Support <http://system.fcpp.fujitsu.com/>; Management Information System * Fujitsu Comp. Prod. Corp. of the Phil. * Email: user-945139049f37@xymon.invalid <user-945139049f37@xymon.invalid+> +63 2 843 2002 / +63 49 549 1501 Local No.: 2724/2723 *-----------------------------------------------*-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Henrik Størner
▸
On Sat, Nov 24, 2007 at 10:34:10AM -0500, Josh Luthman wrote:
What I mean is something like.. cp ~hobbituser/data/hist/oldhost ~hobbituser/data/hist/new host cp ~hobbituser/data/histlogs/oldhost ~hobbituser/data/histlogs/new host cp ~hobbituser/data/logs/oldhost ~hobbituser/data/logs/new host Notice you're using cp - not mv!
You can do that, but it will only give you some of the data. It will not copy the current status (this is stored only in memory, not on disk). Henrik