[syslog-ng] syslog-ng to trigger rancid
ac56 at soas.ac.uk
Mon May 19 13:17:42 CEST 2008
Mladen Tsvetkov <mladen.tsvetkov at telelink.com> [20080515 09:13:32 +0300]:
> I am new to syslog-ng. I have successfully installed it and integrated
> with mysql and php. My question is how can I make syslog-ng to start
> rancid when a syslog configuration message is received from a cisco
> 112578: 1564643: May 15 09:05:19.141 EEST: %SYS-5-CONFIG_I: Configured
> from console by ******** on vty0 (10.10.10.10).
> So far I know that I have to use the program() directive. But how can I
> pass the hostname and other parameters to rancid?
I probably would have thought an SNMP trap for ciscoConfigManEvent would
have been the 'correct' way to do this?
If you plan on using the syslog messages, you probably need to seperately run
swatch to deal with this as it's outside of syslog-ng's remit (I think).
More information about the syslog-ng