Gentlemen, I am trying to call external programs with syslog-ng and I would like to know if there's a complete list of macros (such as $PROGRAM, $HOST) out there somewhere. I have a piece of software that I want to trigger on certain conditions (host, type of message etc), and I would like to be able to pass these values as arguments in the program("...")-statement. Thanks in advance! Regards, -- Mick Öhrberg Open Systems Administrator, UMB Bank n.a [NYSE:FGP] Ph: (816)860-1064 Fax: (816)860-3934 PGP: http://www.worldinter.net/~aoao/PGP/pub.key.asc
Hi,
I am trying to call external programs with syslog-ng and I would like to know if there's a complete list of macros (such as $PROGRAM, $HOST) out there somewhere. I have a piece of software that I want to trigger on certain conditions (host, type of message etc), and I would like to be able to pass these values as arguments in the program("...")-statement.
macros are available in file destinations only. your program can parse the log message it receives on its stdin. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
participants (2)
-
Balazs Scheidler
-
Ohrberg, Mick