I'm trying to setup syslog-ng to work with zensyslog. There are no entries in
my zensyslog file at this time. Below are the changes I made to the my
syslog-ng.conf file in Ubunutu 7.10. I'm new to Zenoss, so please bear with me
if this is wrong. I guess the ultimate goal here is to have zensyslog listen
on port 1514 and write all syslogs to the zensyslog file.
Code:
#####THESE ARE CHANGES MADE FOR ZENOSS CONFIG#####
long_hostnames (off);
sync (0);
use_dns (yes);
use_fqdn (no);
create_dirs (yes);
keep_hostname (yes);
# read local messages from /dev/log, and remote messages from 0.0.0.0:514
# Use the following line if FreeBSD:
# source src { unix-dgram("/var/run/log"); internal(); };
# If Linux, use:
source src {
internal();
unix-stream("/dev/log" keep-alive(yes) max-connections(100));
pipe("/proc/kmsg");
udp();
};
# Same for either OS:
source net { udp(); };
# send the logs to zenoss:1514 so that zenoss can hear them
destination zenoss {
udp("10.x.x.x" port(1514));
};
# forward local log messages as well log messages we receive from the network
# to the zenoss server for processing
log { source(src); destination(zenoss); };
log { source(net); destination(zenoss); };
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=18178#18178
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users