Should not be a big problem.
The procedure is similar to version upgrade, when you install it into new home (take a look my post 18.04.2012) For merge
make a list of all files you need to copy to new server a) jusr files that belong to exact server and metrics like rra, logs,.... b) entries in configuration files
Review all steps to add new host and metric at new server
Prepare new cfg: 3.1 prepare copy of existing cfg files at new mon.server (cp ./etc
./etc_merged) 3.2 add 1.b entries into config files 3.3. if plan migrate one by one - mark with comments records in hosts.cfg fileCopy history files 4.1. Automate (shell script + test it!!) 1.a files copying to new server 4.2. Test with one 4.3. and copy them all or one by one (I mean files for every monitored server or/and metric)
Update cfg. files at moniting server with prepared copy (and uncomment entries in hosts.cfg file
Update monitoring server address at each client server with xymon client to send data to new server (or set to send to both for some time)
Disable servers monitoring at old server
Check all OK for some time
Update monitoring server address at each client server with xymon client to send data to new monitoring server only (if used to send to both for some time)
archive (tar + gz) history and cfg files at old monitoring server and mark in calendar when to remove them at all.
Best regards,
Andrey Chervonets
CoMinder Ltd. http://www.cominder.eu/ Mobile: +371 26517848 Fax: +371 66066346
On 04.10.2012 13:00, xymon-request at xymon.com wrote:
Date: Thu, 04 Oct 2012 09:47:43 +0200 From: Marco Avvisano<marco.avvisano at regione.toscana.it> To:xymon at xymon.com Subject: [Xymon] how to merge allevent files ? Message-ID:<506D3F1F.2090005 at regione.toscana.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi, we are migrating from two xymon server to only one . Every server monitors different servers, routers etc. The problem i think is: how to merge the allevent files ? Someone have encountered the same problem?
Marco
Thanks Andrey for your answer, but my situation is this: i have 2 servers, each one monitors different things, and i have to migrate to a new server that will monitor all . So my question is, how to merge the two files ./hist/allevents? .
Probabily i only need to join and sort them using the column starttime but i I'm not sure that this is enough
Marco
Il 04/10/2012 13.26, Andrey Chervonets ha scritto:
Should not be a big problem.
The procedure is similar to version upgrade, when you install it into new home (take a look my post 18.04.2012) For merge
make a list of all files you need to copy to new server a) jusr files that belong to exact server and metrics like rra, logs,.... b) entries in configuration files
Review all steps to add new host and metric at new server
Prepare new cfg: 3.1 prepare copy of existing cfg files at new mon.server (cp ./etc ./etc_merged) 3.2 add 1.b entries into config files 3.3. if plan migrate one by one - mark with comments records in hosts.cfg file
Copy history files 4.1. Automate (shell script + test it!!) 1.a files copying to new server 4.2. Test with one 4.3. and copy them all or one by one (I mean files for every monitored server or/and metric)
Update cfg. files at moniting server with prepared copy (and uncomment entries in hosts.cfg file
Update monitoring server address at each client server with xymon client to send data to new server (or set to send to both for some time)
Disable servers monitoring at old server
Check all OK for some time
Update monitoring server address at each client server with xymon client to send data to new monitoring server only (if used to send to both for some time)
archive (tar + gz) history and cfg files at old monitoring server and mark in calendar when to remove them at all.
Best regards,
Andrey Chervonets
CoMinder Ltd. http://www.cominder.eu/ Mobile: +371 26517848 Fax: +371 66066346
On 04.10.2012 13:00, xymon-request at xymon.com wrote:
Date: Thu, 04 Oct 2012 09:47:43 +0200 From: Marco Avvisano<marco.avvisano at regione.toscana.it> To:xymon at xymon.com Subject: [Xymon] how to merge allevent files ? Message-ID:<506D3F1F.2090005 at regione.toscana.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi, we are migrating from two xymon server to only one . Every server monitors different servers, routers etc. The problem i think is: how to merge the allevent files ? Someone have encountered the same problem?
Marco
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
I really do not know exactly what this file is used for, may be Henrik Stoerner can explain more.
But I suppose this file is generated by Xymon and track last events, status and/ or time stamps. So it will be updated by xymon server.
Try with one host per my scenario - check all Ok and then make decision was it OK or no.
On 05.10.2012 12:35, Marco Avvisano wrote:
Thanks Andrey for your answer, but my situation is this: i have 2 servers, each one monitors different things, and i have to migrate to a new server that will monitor all . So my question is, how to merge the two files ./hist/allevents? .
Probabily i only need to join and sort them using the column starttime but i I'm not sure that this is enough
Marco
Il 04/10/2012 13.26, Andrey Chervonets ha scritto:
Should not be a big problem.
The procedure is similar to version upgrade, when you install it into new home (take a look my post 18.04.2012) For merge ...
I think merging and sorting is sufficient. Something along the lines of:
sort -n -k 3,4 allevents.server1 allevents.server2 > allevents.merged
You will likely end up with some lines slightly out of their original order -- if their two time strings are identical -- but I don't really see this is a problem. Testing this would be best of course....
Cheers.
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Marco Avvisano Sent: Friday, October 5, 2012 4:35 AM To: Andrey Chervonets Cc: xymon at xymon.com Subject: Re: [Xymon] how to merge allevent files ?
Thanks Andrey for your answer, but my situation is this: i have 2 servers, each one monitors different things, and i have to migrate to a new server that will monitor all . So my question is, how to merge the two files ./hist/allevents? .
Probabily i only need to join and sort them using the column starttime but i I'm not sure that this is enough
Marco
Il 04/10/2012 13.26, Andrey Chervonets ha scritto:
Should not be a big problem.
The procedure is similar to version upgrade, when you install it into new home (take a look my post 18.04.2012) For merge 1. make a list of all files you need to copy to new server a) jusr files that belong to exact server and metrics like rra, logs,.... b) entries in configuration files
Review all steps to add new host and metric at new server
Prepare new cfg: 3.1 prepare copy of existing cfg files at new mon.server (cp ./etc
./etc_merged) 3.2 add 1.b entries into config files 3.3. if plan migrate one by one - mark with comments records in hosts.cfg fileCopy history files 4.1. Automate (shell script + test it!!) 1.a files copying to new server 4.2. Test with one 4.3. and copy them all or one by one (I mean files for every monitored server or/and metric)
Update cfg. files at moniting server with prepared copy (and uncomment entries in hosts.cfg file
Update monitoring server address at each client server with xymon client to send data to new server (or set to send to both for some time)
Disable servers monitoring at old server
Check all OK for some time
Update monitoring server address at each client server with xymon client to send data to new monitoring server only (if used to send to both for some time)
archive (tar + gz) history and cfg files at old monitoring server and mark in calendar when to remove them at all.
Best regards,
Andrey Chervonets
CoMinder Ltd. http://www.cominder.eu/ Mobile: +371 26517848 Fax: +371 66066346
On 04.10.2012 13:00, xymon-request at xymon.com wrote:
Date: Thu, 04 Oct 2012 09:47:43 +0200 From: Marco Avvisano<marco.avvisano at regione.toscana.it> To:xymon at xymon.com Subject: [Xymon] how to merge allevent files ? Message-ID:<506D3F1F.2090005 at regione.toscana.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi, we are migrating from two xymon server to only one . Every server monitors different servers, routers etc. The problem i think is: how to merge the allevent files ? Someone have encountered the same problem?
Marco
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (3)
-
a.chervonets@cominder.eu
-
dddugan@iastate.edu
-
marco.avvisano@regione.toscana.it