Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
redhat:server-monitoring-redhat:start [2018/04/18 09:52] – [Monitoring von User-Eingaben Systemweit] michaelredhat:server-monitoring-redhat:start [2020/03/05 16:20] (current) michael
Line 1: Line 1:
 ====== Server Monitoring Redhat / CentOS ====== ====== Server Monitoring Redhat / CentOS ======
  
-===== Monitoring von User-Eingaben Systemweit =====+{{:icons:monitoring.png?nolink&100|}}
  
 +===== Server Monitoring from inside - Commandline =====
 +
 +
 +<WRAP center box 100%>
 +==== Systemweites Logging aller User Commands  ====
 +Gewünscht wird das loggen von sämtlichen Kommandos, aller Usern System-weit. Um dies zu realisieren müssen dazu zwei Files angepasst und der ''rsyslog'' Dienst neugestartet werden. 
 +
 +  * ''**Schritt 1** - Editieren der global geltenden System Bahrc:''
 +<WRAP center box 100%>
 <code> <code>
 # vim /etc/bashrc # vim /etc/bashrc
Line 104: Line 113:
 # vim:ts=4:sw=4 # vim:ts=4:sw=4
 </sxh> </sxh>
 +</WRAP>
  
- +  * ''**Schritt 2** - Editieren der rsyslog Konfiguration und hinzufügen eines neuen Log-Pfades:''
 <code> <code>
 # vim /etc/rsyslog.conf # vim /etc/rsyslog.conf
Line 207: Line 216:
 </sxh> </sxh>
  
 +  * ''**Schritt 3** - Initiales erstellen des Log-Files und setzen der File Berechtigung:''
 <code> <code>
 # touch /var/log/history.log # touch /var/log/history.log
Line 213: Line 222:
 </code> </code>
  
 +  * ''**Schritt 4** - Restarten des rsyslog services:''
 <code> <code>
 # systemctl restart rsyslog.service # systemctl restart rsyslog.service
 # systemctl status rsyslog.service # systemctl status rsyslog.service
 </code> </code>
 +</WRAP>
  
 +<WRAP center round tip 100%>
 +==== Logging Stacks - Infrastructure Logging ====
  
 +  * ''[[https://angristan.xyz/monitoring-telegraf-influxdb-grafana/]]''
  
 +  * ''[[https://www.blog.labouardy.com/monitor-your-infrastructure-with-tig-stack/]]''
  
-----+  * ''[[https://gist.github.com/mlabouardy/c4d8effdb31ba75ac63326a8d911a379]]''
  
-===== Weiteres =====+</WRAP>
  
 +
 +===== Server Monitoring from outside - Webpages =====
 +
 +  * Matomo
 +
 +FIXME
 +
 +
 +
 +
 +===== Weiteres =====
  
 Zabbix: http://www.geekpills.com/operating-system/linux/zabbix-installation-of-zabbix-server-on-centos Zabbix: http://www.geekpills.com/operating-system/linux/zabbix-installation-of-zabbix-server-on-centos
  • redhat/server-monitoring-redhat/start.1524037957.txt.gz
  • Last modified: 2018/04/18 09:52
  • by michael