On Mon, 2006-09-25 at 12:27 +0100, Alexander Clouter wrote:
Alexander Clouter <ac56@soas.ac.uk> [20060923 11:07:14 +0100]:
[snipped]
Is this what you are after? syslog-ng would still run on the logging box but you would broadcast to multicast groups your streams.
This sounds pretty good! ...I will check with my folks and then might begin to grovel ...or to contribute ;-)
Its actually rather straight forward to do and its only something I have not done yet as the logging cluster is not being extensively used yet. If someone else has a use for it then I'll get around to it sooner rather than later.
However if you cannot wait it seems someone has made a multicast enabled netcat:
You will be able to use this to do something very similar, it also says that it works under windoze aswell.
Well I got around to writing my perl script to do this:
http://www.digriz.org.uk/syslog-mc
Everything should be self explanatory, its rather verbose at the top of the file. Code is licenced under the GPL licence and probably would be suitable to become a 'contrib' part of syslog-ng if Balazs approves :)
Any problems do email me but really its just a case of typing:
$ ./syslog-mc 239.194.253.8 5514
Remember if you are sending syslog messages to a port number below 1024 you will need to run the script as root.
Thanks for your contribution. I added it to the contrib directory. -- Bazsi