wombat.ch

your Partner for Network Design and CMS

Icinga2 | check_logfiles
for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
working on Icinga2 (version: r2.9.1-1)




 steps on Icinga2
 1 #   cd /usr/lib/nagios/pluginsCustom
  #   mkdir check_logfiles    
  #   cd check_logfiles    
       
#   wget  https://labs.consol.de/assets/downloads/nagios/check_logfiles-3.9.tar.gz
  #   tar zxvf check_logfiles-3.9.tar.gz    
  #    cd check_logfiles-3.9    
  ./configure
make
make
install
   
       
       
#  chmod +x 
       
       

 b  vi gesuelze.cfg
   1 @searches = ({
2 tag => '0815',
3 logfiles => '/var/log/messages',
4 criticalpatterns => '.*0815.*',
5 rotation => 'debian',
6 options => 'noprotocol'
7 });
   
       
   ./check_logfiles -f gesuelze.cfg    
   # ./check_logfiles -f gesuelze.cfg
Use of uninitialized value $_[0] in substitution (s///) at /usr/share/perl/5.24/File/Basename.pm line 180.
fileparse(): need a valid pathname at ./check_logfiles line 2632.
   
       
       
       
       
  #  icinga2 daemon -C    
  #  time systemctl reload icinga2    
  #  time systemctl restart icinga2    
  #   multitail /var/log/icinga2/icinga2.log    
c      
-
-
- - - -
Quellen/Source:
-  
labs.consol.de/nagios/check_logfiles
Github | lausser - check_logfiles
-
https://medium.com/luma-consulting/how-to-install-check-logfiles-on-ubuntu-linux-to-work-with-nagios-23e8b034a8a5
-
-
-
Attachments:
FileDescriptionFile sizeDownloads
Download this file (Gerhard_Lausser_check_logfiles.pdf)Gerhard_Lausser_check_logfiles.pdf 131 kB1246

RSS Feed


Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

neusten Links


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2/web2/web/j/modules/mod_quicklistweblinks/helper.php on line 78
many More Links »

part of ...

Linux Counter

Disqus

 

Learning Network

Seti@home & Boinc

myBonic

statistik

 


Who is Online

We have 497 guests and no members online

We have 497 guests, one bot and no members online


one bot:
1 x BOT for JCE