A basic set of Python scripts to send XenServer data information to GrayLog2 through GELF
GrayLog is a great tool for logs aggregation. It offers a good subset of functionalities for logs collection, search, analysis and it’s open-source.
This set of Python scripts aims to provide a data source for XenServer, which feed GrayLog to make an overview of your virtualization infrastucture. The scripts aims to be as simple as possible and requires only Python 2.4 and simplejson that should hopefully be installed in any XenServer server. Information is transmitted using the GELF format via UDP datagram, but TCP or HTTP could be added later for more reliability and security. The scripts are triggered by cron .