Current File : //proc/thread-self/root/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'],
}
);