logpatterns - bcnu log agent configuration file

 



NAME

logpatterns - bcnu log agent configuration file


SYNOPSIS

BCNUHOME/etc/logpatterns


DESCRIPTION

logpatterns is the configuration file used by the log agent. An entry is made in the file for warning and error conditions for each file which is supported.

The actual choice of files to check is made in the parameters for the log agent in the the agents manpage configuration file.

comments preceded by a hash (#) and blank lines are allowed.


OPTIONS

A sample is shown here:

  # Solaris and others
  [/var/adm/messages - error]
  scsi .* error
  scsi .* fail
  no swap space
  [/var/adm/messages - warning]
  WARNING:
  # sulog needs +r permission for this to
  [/var/adm/sulog - error]
  SU.*\\+.*-root$
  [/var/adm/sulog - warning]
  [end] Do Not Remove

Any number of patterns can be added for each file, and any number of file entries can be made. Wildcards are supported in file/dir names to search multiple files.


FILES

 BCNUHOME/etc/logpatterns
 BCNUHOME/etc/agents


AUTHOR

John Phillips

Please send all bugs, comments, and changes to jap@users.sourceforge.net


DISCLAIMER

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Artistic License for more details.


CAVEATS

Security is weak at the moment. bcnu is designed to be easy to use, it has not been tested for all vulnerabilities.


SEE ALSO

bcnud(1), bcnumsg(1), bcnu(1), agents(5), services(5), logpatterns(5), hostinfo(5), bcnunet(5)

The bcnu home pages also have full documentation

Updated: 1st March 2000

 

   logpatterns - bcnu log agent configuration file