Pandora FMS Community

Read log in windows?

uffowich · 11 mar 2014, 14:02 · 6 mensajes · 60 visitas

  1. Inicio del debate

    Hello! I've been using PandoraFMS for about a month now, and I find it great! So far, I've been able to do everything I've set up to do, but now I bumped into some problems, and I hope you can help. I'm trying to set up some kind of check to see if the backup went OK on the servers. The backup is the normal Server Backup. I'm trying to use this module:

    module_begin
    module_name MyEvent
    module_type async_string
    module_logevent
    module_source 
    module_eventtype 
    module_eventcode 
    module_application 
    module_pattern 
    module_description
    module_end
    

    But now I'm wondering if it at all can be done, and if so, what should I enter on the line for "module_source "? The logfile is present under "Applications and Services Logs -> Microsoft -> Windows -> BackupOperational". Maybe the same thing can be done with some other module I don't know about, so any such input is also appreciated! Many thanks for any help! /Uffe

  2. Hello I believe it is better if I directly show you an example of the correct input for two modules that extract information from log events. module_begin module_name System Events (TermService) module_type async_string module_logevent module_description Log Events coming from Terminal Service module_source System module_application TermService module_end module_begin module_name Security Events (Invalid Login) module_type async_string module_description Security log events for invalid login attempt module_logevent module_source Security module_eventcode 529 module_end These are some example you can use. The input you wrote down has minor mistakes. Regards Ivo

  3. Hello! Many thanks for the feedback, but as mentioned, the problem is that the logging doesn't occur in any of the main logs (Application, security, setup, system, forwarded events) but in the path: "Applications and Services Logs -> Microsoft -> Windows -> BackupOperational". So I'm wondering what to put at "module_source System" instead of System? Many thanks! :)

  4. Sorry. I looked at the link but found nothing that helped me understand how to make Pandora read the log. :( Can you help me out? Thanks!

  5. Hello Take a look at the plugin logevent_log4x.vbs (located at C:ProgramFilesPandora_Agentutillogevent_log4x.vbs) it reads information from the evenlog and generates log4x information. Regards Ivo

Entra en tu cuenta para publicar.