thomaz
Goto Top

Suche Tool das im Hintergrund läuft, welches die Windows Ereignisanzeige überwacht und bei Fehler oder Warnung einen auffälligen Alarmtext anzeigt

Suche Tool das im Hintergrund läuft, welches die Windows Ereignisanzeige überwacht und bei Fehler oder Warnung einen auffälligen Alarmtext anzeigt.

Content-Key: 308338

Url: https://administrator.de/contentid/308338

Ausgedruckt am: 19.03.2024 um 03:03 Uhr

Mitglied: Tim.Kramer
Tim.Kramer 27.06.2016 um 15:49:40 Uhr
Goto Top
Wie aufwendig soll das sein?

Soll das der Anwender zu sehen bekommen oder soll es eine Lösung für die Admins sein?
Mitglied: emeriks
emeriks 27.06.2016 um 15:50:43 Uhr
Goto Top
Hi,
das kann man u.a. mit den geplanten Aufgaben erledigen.

E.
Mitglied: thomaz
thomaz 27.06.2016 aktualisiert um 16:24:15 Uhr
Goto Top
wie mache ich das denn ?
hab win xp.
Mitglied: thomaz
thomaz 27.06.2016 um 16:24:28 Uhr
Goto Top
nur lokal.
sobald ein "warnung" oder ein "fehler" eintrag in der ereignisanzeige auftaucht soll das tool eine dauerhafte deutlich sichtbare nachricht anzeigen.
Mitglied: agowa338
agowa338 27.06.2016 aktualisiert um 18:16:32 Uhr
Goto Top
Rechtsklick auf den Eventlog Eintrag und "Aufgabe an dieses Ereignis anfügen..."
Anschließend als Aktion "Meldung anzeigen" und einen Titel und Text hinterlegen.

Aber du solltest es dir gut überlegen, wem du diese Meldungen anzeigst. Nicht, dass die dich anrufen, weil unwichtige Software xy einen Fehler gemeldet hat.

Geht es dir hingegen um eine Testumgebung, währe vermutlich Centralized Windows Event Log oder ein Systemd besser geeignet.
Mitglied: 129813
129813 27.06.2016 aktualisiert um 18:57:53 Uhr
Goto Top
Hi.
this can be programmed by yourself very easily:
http://www.codeproject.com/Articles/4857/A-realtime-event-log-monitorin ...

This is a very basic VB.Net code to msgbox all Application-Eventlog-Errors or Warnings:
Imports System.Diagnostics
Public Class Form1
    Dim WithEvents log1 As EventLog

    Private Sub Form1_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
        log1.EnableRaisingEvents = False
        log1.Dispose()
    End Sub
    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        log1 = New EventLog("Application")  
        log1.EnableRaisingEvents = True
    End Sub

    Private Sub log1_EntryWritten(sender As Object, e As System.Diagnostics.EntryWrittenEventArgs) Handles log1.EntryWritten
        If e.Entry.EntryType = EventLogEntryType.Error Or e.Entry.EntryType = EventLogEntryType.Warning Then
            Dim style As MsgBoxStyle
            Select Case e.Entry.EntryType
                Case EventLogEntryType.Error
                    style = MsgBoxStyle.Critical
                Case EventLogEntryType.Warning
                    style = MsgBoxStyle.Exclamation
            End Select
            MsgBox(e.Entry.Message, style)
        End If
    End Sub
End Class
But who wants that, really face-wink?!

Regards
Mitglied: thomaz
thomaz 28.06.2016 um 10:20:22 Uhr
Goto Top
yeah, i found this tool too, but it uses windows balloon tips and theese tips disappear after some seconds.

finally i made it via eventtriggers.exe with theese cmds:

eventtriggers /create /tr "iastor" /l system /so iastor /tk "msg <username> [[[[ iastor ]]]]"
eventtriggers /create /tr "iastor7" /l system /so iastor7 /tk "msg <username> [[[[ iastor7 ]]]]"
eventtriggers /create /tr "ftdisk" /l system /so ftdisk /tk "msg <username> [[[[ ftdisk ]]]]"
eventtriggers /create /tr "disk" /l system /so disk /tk "msg <username> [[[[ disk ]]]]"
eventtriggers /create /tr "e1cexpress" /l system /so e1cexpress /tk "msg <username> [[[[ e1cexpress ]]]]"

primary i want to get informed immediately when smthg is wrong with my disks!
Mitglied: 129813
129813 28.06.2016 um 12:19:48 Uhr
Goto Top
Zitat von @thomaz:

yeah, i found this tool too, but it uses windows balloon tips and theese tips disappear after some seconds.
This can be changed easily and replaced by dialogs you prefer.
primary i want to get informed immediately when smthg is wrong with my disks!
For this task there exist many SMART-Capable tools.
Mitglied: thomaz
thomaz 28.06.2016 um 13:58:49 Uhr
Goto Top
Zitat von @129813:

Zitat von @thomaz:

yeah, i found this tool too, but it uses windows balloon tips and theese tips disappear after some seconds.
This can be changed easily and replaced by dialogs you prefer.
how ?
Mitglied: 129813
129813 28.06.2016 um 14:01:04 Uhr
Goto Top
Zitat von @thomaz:
yeah, i found this tool too, but it uses windows balloon tips and theese tips disappear after some seconds.
This can be changed easily and replaced by dialogs you prefer.
how ?
See my code above, this displays a simple non closing msgbox to the user if an error or warning is raised in the application eventlog.