NETS header NETS Homepage UCAR Homepage NCAR Homepage SCD Homepage NETS Homepage About NETS Work requests & support
  Browse NETS topics: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

SEC (NETS notes)

SEC (Simple Event Correlator) has replaced Swatch as the primary tool to watch log files in real time.

As compared to Swatch, SEC:

http://www.estpak.ee/~risto/sec/



NETS has SEC deployed as a Debian package on netserver.  It runs as a daemon and can be started and stopped using the standard init script:

/etc/init.d/sec {stop|start|reload}
SEC should be reloaded to trigger a re-read of its configuration file.  It is also reloaded by logrotate when its log file is rotated.

Here is a configuration stanza that we use, followed by a description of each line:

type=SingleWithSuppress
ptype=regexp

pattern=SYS-5-SUP_MODSBY

desc=SupModReset Notice
action=pipe '$0' /usr/bin/mail -s "%s" ne
window=300

Refer to the man page or the SEC web page for additional configuration options.