wombat.ch

your Partner for Network Design and CMS

  # vi /etc/icinga2/conf.d/09_log-checks/check_radius-log.conf  
 

 object CheckCommand "check_radius-log" {

            command = [ PluginDir + "/check_log" ]

            arguments = {
                      "-F" = "/var/log/freeradius/radius.log"
                      "-q" = "[auth]"
            }
}

object Service "check_radius_log" {

            host_name = "radius-01.kozo.ch"

            check_command = "check_radius-log" 
            display_name = "[auth] - Radius LOG: "

            check_interval = 30

            command_endpoint = host_name
}

 
     
fail2ban apt install -y geoip-bin  
  /var/log/fail2ban.log  
  ban 181.214.206.94  
  geoiplookup 65.52.67.244  | cut -d ':' -f2
geoiplookup 150.107.148.155  | cut -d ':' -f2
geoiplookup 181.214.206.123 | cut -d ':' -f2
 
     
  geoiplookup -f /usr/share/GeoIP/GeoLiteCity.dat 65.52.67.244  
  geoiplookup -f /usr/share/GeoIP/GeoLiteCity.dat 144.167.32.105 | cut -d':' -f2  
     
   chmod a+rw /var/log/freeradius/radius.log  

 

  #  icinga2 daemon -C    
  #  time systemctl reload icinga2    
  #  time systemctl restart icinga2    
  #   multitail /var/log/icinga2/icinga2.log

 

-----

Quellen/Source:

-
- find-geolocation-ip-address-commandline/
-
 ----

RSS Feed


Warning: file_get_contents(https://www.bsi.bund.de/SiteGlobals/Functions/RSSFeed/RSSNewsfeed/RSSNewsfeed_WID.xml): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(https://www.bsi.bund.de/SiteGlobals/Functions/RSSFeed/RSSNewsfessBSIFB/RSSNewsfeed_BuergerCERT.xml): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(http://feeds.joomla.org/JoomlaAnnouncements): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(http://feeds.joomla.org/JoomlaSecurityNews): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000152:SSL routines::unsafe legacy renegotiation disabled in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(): Failed to enable crypto in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(https://tools.cisco.com/security/center/psirtrss20/CiscoSecurityAdvisory.xml): failed to open stream: operation failed in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

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 338 guests and no members online

We have 372 guests, no bots and no members online