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
redhat:server-monitoring-redhat:start [2020/03/05 16:04] michaelredhat:server-monitoring-redhat:start [2020/03/05 16:20] (current) michael
Line 1: Line 1:
 ====== Server Monitoring Redhat / CentOS ====== ====== Server Monitoring Redhat / CentOS ======
  
 +{{:icons:monitoring.png?nolink&100|}}
  
 +===== Server Monitoring from inside - Commandline =====
  
-===== Systemweites Logging aller User Commands  =====+ 
 +<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.  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. 
  
Line 223: Line 227:
 # 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/]]''
  
-===== Splunk (Elasticsearch)  =====+  * ''[[https://www.blog.labouardy.com/monitor-your-infrastructure-with-tig-stack/]]''
  
-==== Installation von Elasticsearch ====+  * ''[[https://gist.github.com/mlabouardy/c4d8effdb31ba75ac63326a8d911a379]]''
  
-==== Splunkforewarder Setup ====+</WRAP>
  
-... FIXME 
  
-Custom logs sind möglich. Unten ist dokumentiert wie das geht: +===== Server Monitoring from outside - Webpages =====
-<code> +
-### Monitor custom logs with splunkforwarder+
  
-# Create app folder structure +  * Matomo
-CUSTOM_APP=/opt/splunkforwarder/etc/apps/sbb_custom_app_logs/local +
-mkdir -p $CUSTOM_APP +
- +
-# Create inputs.conf and specify your custom logs +
-cat << EOF > ${CUSTOM_APP}/inputs.conf +
-### Put your custom logfiles here and define sourcetype and index +
-### Documentation can be found here: https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf +
- +
-#[monitor:///var/log/yourlog.log] +
-#sourcetype=syslog +
-#index=sbb_cloudlinux +
- +
-#[monitor:///data/log/yourlog.log] +
-#sourcetype=syslog +
-#index=sbb_cloudlinux +
- +
-EOF +
- +
-# Restart splunkforwarder +
-systemctl restart splunkforwarder  +
-</code>+
  
 +FIXME
  
  
-===== 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 ===== ===== Weiteres =====
  • redhat/server-monitoring-redhat/start.1583420666.txt.gz
  • Last modified: 2020/03/05 16:04
  • by michael