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