Syslog-ng package for VDT
From CEDPS
(under construction!)
This page describes how to install and configure the syslog-ng package that the CEDPS project developed for the Virtual Data Toolkit (VDT). This package can be used alone (ie: no other VDT services running), but it does depend on many other components in VDT.
First you must install pacman:
wget http://physics.bu.edu/pacman/sample_cache/tarballs/pacman-latest.tar.gz tar xvzf pacman-latest.tar.gz cd pacman-version source setup.csh
Then install the OSG:Syslog-ng package:
mkdir /opt/OSG cd /opt/OSG pacman -get OSG:Syslog-ng
To configure/start a syslog-ng sender, do this:
source /opt/OSG/setup.csh $VDT_LOCATION/vdt/setup/configure_syslog_ng_sender --local-collector myloghost.foo.gov $VDT_LOCATION/vdt/setup/configure_syslog_ng_sender --add-source "/tmp/testfile" $VDT_LOCATION/vdt/setup/configure_syslog_ng_sender --server y vdt-control --on syslog-ng-sender
To configure/start a syslog-ng receiver, do this:
$VDT_LOCATION/vdt/setup/configure_syslog_ng_receiver --server y $VDT_LOCATION/vdt/setup/configure_syslog_ng_receiver --dir /opt/osg-logs vdt-control --on syslog-ng-receiver
