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
Next revisionBoth sides next revision
redhat:server-monitoring-redhat:start [2018/04/18 09:49] michaelredhat:server-monitoring-redhat:start [2020/03/05 16:07] michael
Line 1: Line 1:
 ====== Server Monitoring Redhat / CentOS ====== ====== Server Monitoring Redhat / CentOS ======
  
-===== Monitoring von User-Eingaben Systemweit =====+===== Server Monitoring from outside Webpages =====
  
 +
 +
 +
 +===== 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
 </code> </code>
  
-<sxh bash>+<sxh bash; highlight: [93,94]>
 # /etc/bashrc # /etc/bashrc
  
Line 104: Line 116:
 # 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
 </code> </code>
  
-<sxh bash>+<sxh bash; highlight: [62,63]>
 # rsyslog configuration file # rsyslog configuration file
  
Line 206: Line 219:
 </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 212: Line 225:
 </code> </code>
  
 +  * ''**Schritt 4** - Restarten des rsyslog services:''
 <code> <code>
 # systemctl restart rsyslog.service # systemctl restart rsyslog.service
Line 218: Line 232:
  
  
 +</WRAP>
  
  
----- 
  
-===== Weiteres ===== 
  
 +==== 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 =====
  
 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