Resource Type: nimsoft_logmon_watcher
- Defined in:
- lib/puppet/type/nimsoft_logmon_watcher.rb
- Providers:
-
nimsoft
Overview
The ‘nimsoft_logmon_watcher` type describes a watcher rule of the `logmon` probe. A watcher rule described a pattern that can appear in a logfile and describes the message that will be sent, if such a message appears. A watcher rule does always belong to exactly one profile.
Example:
nimsoft_logmon_watcher { 'system log/failed root login'
ensure => present,
active => yes,
match => '/FAILED su for root by (.*)/',
message => 'Possible breakin attempt detected: ${msg}',
severity => 'warning',
}
The name of the resource must be of the for ‘profile_name/watcher_name`