[Xymon] how to merge allevent files ?

Marco Avvisano marco.avvisano at regione.toscana.it
Fri Oct 5 11:35:16 CEST 2012


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
>
> 2. Review all steps to add new host and metric at new server
>
> 3. 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
>
> 4. 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)
>
> 5. Update cfg. files at moniting server with prepared copy (and 
> uncomment entries in hosts.cfg file
>
> 6. 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)
>
> 7. Disable servers monitoring at old server
>
> 8. Check all OK for some time
>
> 9. 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)
>
> 10. 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
>




More information about the Xymon mailing list