D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
lib64
/
nagios
/
plugins
/
nccustom
/
Filename :
check_logfiles.conf
back
Copy
# 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'], } );