James Laska wrote:
> Greetings,
>
> The following patches are intended to replace cobbler's use of 
> syslog=$server.  This set of patches introduces a new snippet intended to run 
> in %pre.  The snippet will download a python script called 'anamon.py' from 
> your cobbler server.  This script "borrows" _heavily_ code written by Mike 
> McLean which is included in koji.  This service will monitor your installing 
> system and send logfile changes back to your cobbler server using xmlrpclib.  
> In addition to just /tmp/anaconda.log, the script will monitor your 
> installation for changes to the following files:
>     * /tmp/anaconda.log
>     * /tmp/syslog
>     * /tmp/lvmout
>     * /tmp/ks.cfg
>     * /tmp/ks-script.log
>     * /tmp/anacdump.txt
>     * /tmp/modprobe.conf
>     * /mnt/sysimage/root/install.log
>     * /mnt/sysimage/tmp/install.log
>     * /mnt/sysimage/root/upgrade.log
>     * /mnt/sysimage/tmp/upgrade.log
>
> Any changes to these files are sent incrementally back to the server.  Note 
> that the anaconda traceback file '/tmp/anacdump.txt' is included in this 
> list.  Having this file sent back to the cobbler server can be very useful 
> for failure analysis.
>
> This service is disabled by default and controlled using the anamon_enabled 
> option in /etc/cobbler/settings.
>
> The patches are included in this thread, and also available at 
> git://fedorapeople.org/~jlaska/cobbler.git
>
> Thanks,
> James
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

Thanks very much James,

This is a really cool piece of code and is infinitely better than what 
we have in Cobbler today for remote syslog tracking.

Since this is a big feature and we are going to get Cobbler 1.4 out 
soon, I'm going to hold this until I have time to pay attention to this. 
We'll get this in for 1.5 soon and we can begin testing on it. I'll pull 
from your git tree a little further down the road -- start a new branch 
for any new features unrelated to this to make merging easier.

Longer term, we can also probably surface this data in Cobbler Web so 
those logs are viewable there.

Much appreciated!

--Michael
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to