Resource Type: nimsoft_logmon_profile
- Defined in:
- lib/puppet/type/nimsoft_logmon_profile.rb
- Providers:
-
nimsoft
Overview
The ‘nimsoft_logmon_profile` type describes a profile of the `logmon` probe. A profile can be used to monitor a specific logfile and watcher rules describe patterns that can be found in the specific logfile.
The ‘nimsoft_logmon_profile` type does only describe general profile attributes and watcher rules can then be described as a `nimsoft_logmon_watcher` resource.
Example:
nimsoft_logmon_profile { 'system log':
ensure => present,
active => yes,
file => '/var/log/messages',
mode => updates,
qos => no, # do not generate Quality of Service messages
alarm => yes, # allow creation of alarm messages
alarm_maxsev => critical,
}
Please note that the ‘logmon` probe is also able to monitor a url, the exit code of a command, or a nimbus queue. These alternate usecases cannot be handled by the `nimsoft_logmon_profile` resource (yet)