Log Server Centralizzato - Infn
Log Server Centralizzato - Infn
Log Server Centralizzato - Infn
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Syslog NG: un mini esempio (2/4)<br />
destination console { usertty("root"); };<br />
destination smtprelay { file("/var/log/mailing/smtprelay.log"); };<br />
destination smtpclient { file("/var/log/mailing/smtpclient.log"); };<br />
destination imap { file("/var/log/mailing/imap.log"); };<br />
destination l_messages { file("/var/log/logsrv/messages.log"); };<br />
destination example {<br />
file(“/var/log/example/$HOST/$YEAR/$MONTH/$DAY/$FACILITY.log<br />
owner(root) group(root) perm(0600) create_dirs(yes) dir_perm(0700));<br />
};<br />
destination sms { program("/usr/custom/bin/sendsms +393xxxzzzyyyy“); };<br />
destination swatch { program("/usr/bin/swatch --read-pipe=\"cat /dev/fd/0\"");};<br />
destination other { udp(“192.169.12.234” port(514)); };<br />
destination network { file("/var/log/net/$HOST/gen.log" create_dirs(yes)); };<br />
destination _notmatched_ { file("/var/log/notmatched.log"); };<br />
CCR2003 - <strong>Log</strong> <strong>Server</strong> <strong>Centralizzato</strong> - 11 Giugno 2003 18