Resource Type: nimsoft_dirscan
- Defined in:
- lib/puppet/type/nimsoft_dirscan.rb
- Providers:
-
nimsoft
Overview
The ‘dirscan` probe can be used to the number of files in a directory or the size of files. The `nimsoft_dirscan` type can be used to configure a profile for the `dirscan` probe.
Example:
nimsoft_dirscan { 'Oracle alertlog size':
ensure => present,
active => yes,
description => 'monitors the alertlog of oracle instance PROD',
directory => '/u01/app/oracle/diag/rdbms/prod/PROD/trace',
pattern => 'alert_PROD.log',
recurse => no,
direxists => yes,
size => '< 50M'
size_type => individual
}