Frage zu Benarichtigung von Logwatch

Hallo,

hoffe ich habe bei meiner Suche nix übersehen.

System: root-Server mit Ubuntu 12.04 LTS

Ich habe mir Heute mal Logwatch installiert. Soweit funktioniert bisher auch alles Fehlerfrei.

Nun bekomme ich 1x am Tag eine E-Mail von Logwatch mit den entsprechenden Meldungen zu:
logwatch schickt mir Infos zu folgenden punkten:
Code:
•	LOGWATCH Summary 
•	courier mail services 
•	Cron 
•	dpkg status changes 
•	fail2ban-messages 
•	httpd 
•	Kernel 
•	pam_unix 
•	POP-3 
•	qmail 
•	Connections (secure-log) 
•	SSHD 
•	Sudo (secure-log) 
•	Disk Space

Soweit so gut. Nu habe ich aber noch ein paar Fragen, zu denen ich bisher keine Antwort finden konnte.

1. Was bedeutet folgende Fehlermeldung?

Code:
WARNING:  Kernel Errors Present 
  pci 0000:00:14.0: BAR 1: error updating (0xde00 ...:  1 Time(s)

2. Ich möchte gerne auch Informationen zu apache erhalten. Ich dachte, der Eintrag "Service =ALL" in "/etc/logwatch/conf/logwatch.conf"ist ausreichend, da ALLE Service überwacht werden?

Goolge liefert mir keine passenden Ergebnisse oder ich suche falsch.

Gruß

Ulf
 
Zu der Kernel-Fehlermeldung kann ich dir leider nichts sagen. Sie ist ja auch abgeschnitten. Schau sie im Syslog nach.

Ansonsten ist Logwatch etwas kompliziert, aber mal ehrlich: "All"? Woher soll er wissen, welche Meldungen für welchen Dienst von Bedeutung sind? Dafür gibt es Konfigurations-Dateien mit Matching-Regeln in drei Verzeichnissen, die nacheinander ausgewertet werden, und jeweils die gleiche Struktur haben: /usr/share/logwatch/default.conf/, /usr/share/logwatch/dist.conf/, und /etc/logwatch/conf/. Die beiden ersteren sollte man nicht anfassen. Möchte man Regeln ändern, kopiert man sie zunächst aus einem der beiden Vorgabe-Verzeichnisse nach /etc/logwatch/conf/ und bearbeitet sie dort. Ähnliches Kaskaden-System wie bei polkit.

Allgemein kann ich dir sagen, dass mir Logwatch inzwischen gehörig auf den Sack geht, und es deshalb bald fliegt. Also tu es dir nicht an, und wähle gleich die bessere Variante: Logcheck. Das wird von Debian auch besser unterstützt.
 
Last edited by a moderator:
entsprechende Meldung aus syslog:
Code:
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    0.000000] Booting paravirtualized kernel on bare hardware
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    1.388857] pci 0000:00:14.0: BAR 1: assigned [mem 0xde000000-0xde00000f$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    1.404057] pci 0000:00:14.0: BAR 1: error updating (0xde000004 != 0x800$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    1.418523] pci 0000:00:14.0: BAR 1: set to [mem 0xde000000-0xde00000f 6$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    2.948057] ata1: SATA max UDMA/133 abar m1024@0xfe7ff800 port 0xfe7ff90$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    2.962866] ata2: SATA max UDMA/133 abar m1024@0xfe7ff800 port 0xfe7ff98$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    2.977684] ata3: SATA max UDMA/133 abar m1024@0xfe7ff800 port 0xfe7ffa0$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    2.992502] ata4: SATA max UDMA/133 abar m1024@0xfe7ff800 port 0xfe7ffa8$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    0.000000] Booting paravirtualized kernel on bare hardware
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    1.388857] pci 0000:00:14.0: BAR 1: assigned [mem 0xde000000-0xde00000f$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    1.404057] pci 0000:00:14.0: BAR 1: error updating (0xde000004 != 0x800$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    1.418523] pci 0000:00:14.0: BAR 1: set to [mem 0xde000000-0xde00000f 6$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    2.948057] ata1: SATA max UDMA/133 abar m1024@0xfe7ff800 port 0xfe7ff90$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    2.962866] ata2: SATA max UDMA/133 abar m1024@0xfe7ff800 port 0xfe7ff98$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    2.977684] ata3: SATA max UDMA/133 abar m1024@0xfe7ff800 port 0xfe7ffa0$
/var/log/syslog:Oct 11 06:38:43 h2071918 kernel: [    2.992502] ata4: SATA max UDMA/133 abar m1024@0xfe7ff800 port 0xfe7ffa8$
Oct 11 06:38:43 h2071918 kernel: [    1.404057] pci 0000:00:14.0: BAR 1: error updating (0xde000004 != 0x8000a014)

Ich verstehe nur Bahnhof.

Dann schaue ich mir mal Logcheck an.

Gruß

Ulf
 
Code:
root@h2071918:/# lspci -mm
00:00.0 "Host bridge" "Advanced Micro Devices [AMD] nee ATI" "RS690 Host Bridge" "Advanced Micro Devices [AMD] nee ATI" "RS690 Host Bridge"
00:01.0 "PCI bridge" "Advanced Micro Devices [AMD] nee ATI" "RS690 PCI to PCI Bridge (Internal gfx)" "" ""
00:04.0 "PCI bridge" "Advanced Micro Devices [AMD] nee ATI" "Device 7914" "" ""
00:05.0 "PCI bridge" "Advanced Micro Devices [AMD] nee ATI" "RS690 PCI to PCI Bridge (PCI Express Port 1)" "" ""
00:12.0 "SATA controller" "Advanced Micro Devices [AMD] nee ATI" "SB600 Non-Raid-5 SATA" -p01 "Micro-Star International Co., Ltd." "Device 6b30"
00:13.0 "USB controller" "Advanced Micro Devices [AMD] nee ATI" "SB600 USB (OHCI0)" -p10 "Micro-Star International Co., Ltd." "Device 6b30"
00:13.1 "USB controller" "Advanced Micro Devices [AMD] nee ATI" "SB600 USB (OHCI1)" -p10 "Micro-Star International Co., Ltd." "Device 6b30"
00:13.2 "USB controller" "Advanced Micro Devices [AMD] nee ATI" "SB600 USB (OHCI2)" -p10 "Micro-Star International Co., Ltd." "Device 6b30"
00:13.3 "USB controller" "Advanced Micro Devices [AMD] nee ATI" "SB600 USB (OHCI3)" -p10 "Micro-Star International Co., Ltd." "Device 6b30"
00:13.4 "USB controller" "Advanced Micro Devices [AMD] nee ATI" "SB600 USB (OHCI4)" -p10 "Micro-Star International Co., Ltd." "Device 6b30"
00:13.5 "USB controller" "Advanced Micro Devices [AMD] nee ATI" "SB600 USB Controller (EHCI)" -p20 "Micro-Star International Co., Ltd." "Device 6b30"
00:14.0 "SMBus" "Advanced Micro Devices [AMD] nee ATI" "SBx00 SMBus Controller" -r14 "Micro-Star International Co., Ltd." "Device 6b30"
00:14.1 "IDE interface" "Advanced Micro Devices [AMD] nee ATI" "SB600 IDE" -p8a "Micro-Star International Co., Ltd." "Device 6b30"
00:14.3 "ISA bridge" "Advanced Micro Devices [AMD] nee ATI" "SB600 PCI to LPC Bridge" "Advanced Micro Devices [AMD] nee ATI" "SB600 PCI to LPC Bridge"
00:14.4 "PCI bridge" "Advanced Micro Devices [AMD] nee ATI" "SBx00 PCI to PCI Bridge" -p01 "" ""
00:18.0 "Host bridge" "Advanced Micro Devices [AMD]" "Family 10h Processor HyperTransport Configuration" "" ""
00:18.1 "Host bridge" "Advanced Micro Devices [AMD]" "Family 10h Processor Address Map" "" ""
00:18.2 "Host bridge" "Advanced Micro Devices [AMD]" "Family 10h Processor DRAM Controller" "" ""
00:18.3 "Host bridge" "Advanced Micro Devices [AMD]" "Family 10h Processor Miscellaneous Control" "" ""
00:18.4 "Host bridge" "Advanced Micro Devices [AMD]" "Family 10h Processor Link Control" "" ""
01:05.0 "VGA compatible controller" "Advanced Micro Devices [AMD] nee ATI" "RS690M [Radeon X1200 Series]" "Micro-Star International Co., Ltd." "Device 6b30"
02:00.0 "Ethernet controller" "Intel Corporation" "82573L Gigabit Ethernet Controller" "Micro-Star International Co., Ltd." "Device 6b30"
03:00.0 "Ethernet controller" "Intel Corporation" "82573L Gigabit Ethernet Controller" "Micro-Star International Co., Ltd." "Device 6b30"
 
Back
Top