CHips L MINI SHELL

CHips L pro

Current Path : /opt/zabbix_scripts/
Upload File :
Current File : //opt/zabbix_scripts/check_logfiles.cfg

@searches = (
  {
	tag => 'sphera',
	logfile => '/var/log/messages',
	criticalpatterns => ['Manager is shutting down', 'The following files were found to be damaged', '/usr/local/hostdir/bin/saproxy', 'Failed to receive watchdog data', 'Failed to .* service', 'spheraTransaction', 'Cannot execute process ', 'file-max limit'],
	options => 'noprotocol,perfdata,allyoucaneat,preferredlevel=critical',
	rotation => 'messages[\.\-][0-9]*(\.gz)*'
  },
  {
	tag => 'important-messages',
	logfile => '/var/log/messages',
	criticalpatterns => ['MEDIUM ERROR', 'JTERROR', 'JTFATAL', 'Out of memory', 'NIC Link is Down', 'NOTICE', 'reloading configuration failed', 'smartd', 'License'],
	criticalexceptions => ['Temperature changed', 'drweb', 'pure-ftp'],
	warningpatterns => ['WARNING'],
	warningexceptions => ['pure-ftp'],
	options => 'noprotocol,perfdata,allyoucaneat,preferredlevel=critical',
	rotation => 'messages[\.\-][0-9]*(\.gz)*'
  },
  {
	tag => 'kernel',
	logfile => '/var/log/messages',
	criticalpatterns => 'kernel',
	criticalexceptions => ['IP_MASQ', 'AXFR', 'Device busy for revalidation', '3w-9xxx.*INFO', 'Source Route Failed', 'httpd.* segfault at', 'shtml.exe.* segfault at', 'qmail-local.* segfault at', 'php.* segfault at', 'invalid ICMP', 'cookies', 'ipv6', 'nf_ct_ftp', 'callbacks suppressed', 'orphaned sockets', 'hcp.* INFO', 'ordered data mode', 'kjournald starting', 'hcp1', 'EXT3-fs.* recovery complete', 'Tried to clean orphans', 'No updates are needed', 'no quota engine running', 'unexpectedly shrunk window', 'privvmpages', 'ansible', 'loaded kdump kernel'],
	options => 'noprotocol,perfdata,allyoucaneat,preferredlevel=critical',
	rotation => 'messages[\.\-][0-9]*(\.gz)*'
  }
);

Copyright 2K16 - 2K18 Indonesian Hacker Rulez