wombat.ch

your Partner for Network Design and CMS

Perfect

LXC | Monitoring rsyslog and LogAnalyzer
- www.rsyslog.com/  | Wiki rsyslog
loganalyzer.adiscon.com/ |


Install
apt update -y
apt upgrade -y
apt install apache2 apache2-doc -y
apt install php5-common libapache2-mod-php5 php5-cli php5-gd -y
apt install mysql-server mysql-client -y
apt install php5-mysql -y

mysql_secure_installation

apt upgrade -y
-  
apt install rsyslog -y
vi /etc/syslogserver.conf # provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514

# provides TCP syslog reception
$ModLoad imtcp
$InputTCPServerRun 514
apt install rsyslog-mysql


 cd /usr/src
wget http://download.adiscon.com/loganalyzer/loganalyzer-3.6.6.tar.gz
tar -xzvf loganalyzer-3.6.6.tar.gz
mv /usr/src/loganalyzer-3.6.6/src /var/www/html/loganalyzer
cd /var/www/html/loganalyzer
touch config.php
chmod 777 config.php

 

 Config on a Ciso Switch
enable
config terminal
logging on
logging 10.147.42.37
logging trap 9 (9 for Test then back to 4 or 5)
service sequence-numbers
service timestamps log datetime msec

 

 

 

 

 

Config a Client (on Debian 8)

 /etc/ryslog.conf  $ModLoad imuxsock

$ModLoad imklog

# Provides UDP forwarding. The IP is the server's IP address
  *.* @10.147.42.37:514

# Provides TCP forwarding. But the current server runs on UDP
# *.* @@192.168.1.1:514
Change the IP to your RsyncServer
service rsyslog restart    

 

 

 


Quellen/Source:
- https://www.howtoforge.com/centralized-rsyslog-server-monitoring
- http://www.laub-home.de/wiki/Syslog_Server_unter_Debian_Linux_mit_Rsyslog
-
-
-
-
-
-

Add a comment

Subcategories

Roundcube ist eine freie Software für Webmail über IMAP, die in den Programmiersprachen PHP und JavaScript entwickelt wird. Roundcubes prominenteste Features sind die schlanke und moderne Benutzeroberfläche und die ausgeprägte Nutzung der Ajax-Technologie, die einen ähnlichen Bedien-Komfort wie bei einer lokal installierten Anwendung ermöglicht.

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

We have 415 guests, one bot and no members online


one bot:
1 x BOT for JCE