redhat:server-monitoring-redhat:start

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
Last revisionBoth sides next revision
redhat:server-monitoring-redhat:start [2018/04/18 10:00] michaelredhat:server-monitoring-redhat:start [2020/03/05 16:10] – [Server Monitoring from inside - Commandline] michael
Line 1: Line 1:
 ====== Server Monitoring Redhat / CentOS ====== ====== Server Monitoring Redhat / CentOS ======
  
-===== Monitoring von User-Eingaben System-weit ===== 
-Gewünscht wird das loggen von sämtlichen Kommandos, von allen Usern System-weit. Um dies zu realisieren, müssen dazu zwei Files angepasst und ein Dienst neugestartet werden.  
  
-  - Editieren der System-weiten Bahrc+ 
 +===== 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%> <WRAP center box 100%>
 <code> <code>
Line 107: Line 113:
 # vim:ts=4:sw=4 # vim:ts=4:sw=4
 </sxh> </sxh>
- 
 </WRAP> </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 212: 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 218: 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.txt
  • Last modified: 2020/03/05 16:20
  • by michael