26 Aug
2009
26 Aug
'09
9 a.m.
Hi, I am using syslog-ng open source 3.0.3-1 ( rhel5.amd64) version. I am sending my log messages to a python parser(in program destination) to do some action on log messages.I want to know if my program application is down then can I know it in syslog-ng configuration? Because if my parser application is down then in that case I want to stop sending message to parser code because it's down, otherwise I will lose my log messages. And once the application comes up then I want to send the log messages. # destinations destination d_parser { #Send message to parser program("python /opt/syslog-ng/etc/Parser.py"); }; log { source(s_network); destination(d_parser); }; Regards, Vaibhav