Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
redhat:server-monitoring-redhat:start [2019/08/27 10:34] – michael | redhat:server-monitoring-redhat:start [2020/03/05 16:20] (current) – michael | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Server Monitoring Redhat / CentOS ====== | ====== Server Monitoring Redhat / CentOS ====== | ||
+ | {{: | ||
- | ===== Logging Stacks | + | ===== Server Monitoring from inside |
- | * https:// | ||
- | * https:// | ||
- | * https:// | ||
- | ---- | + | <WRAP center box 100%> |
- | + | ==== Systemweites Logging aller User Commands | |
- | ===== 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 '' | 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 '' | ||
Line 230: | Line 227: | ||
# systemctl status rsyslog.service | # systemctl status rsyslog.service | ||
</ | </ | ||
+ | </ | ||
+ | <WRAP center round tip 100%> | ||
+ | ==== Logging Stacks - Infrastructure Logging ==== | ||
+ | * '' | ||
- | ===== Splunk (Elasticsearch) | + | * '' |
- | ==== Installation von Elasticsearch ==== | + | * '' |
- | ==== Splunkforewarder Setup ==== | + | </ |
- | ... FIXME | ||
- | Custom logs sind möglich. Unten ist dokumentiert wie das geht: | + | ===== Server Monitoring from outside - Webpages ===== |
- | < | + | |
- | ### Monitor custom logs with splunkforwarder | + | |
- | # Create app folder structure | + | * Matomo |
- | CUSTOM_APP=/ | + | |
- | mkdir -p $CUSTOM_APP | + | |
- | # Create inputs.conf and specify your custom logs | + | FIXME |
- | cat << EOF > ${CUSTOM_APP}/ | + | |
- | ### Put your custom logfiles here and define sourcetype and index | + | |
- | ### Documentation can be found here: https:// | + | |
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | |||
- | EOF | ||
- | |||
- | # Restart splunkforwarder | ||
- | systemctl restart splunkforwarder | ||
- | </ | ||
===== Weiteres ===== | ===== Weiteres ===== | ||
- | |||
Zabbix: http:// | Zabbix: http:// |