Pandora FMS Community

Windows 2.1 Agent crashes with current server source after 2 hours

tnine · 17 jun 2009, 21:52 · 7 mensajes · 57 visitas

  1. Inicio del debate

    Hi all, I'm working on creating some WMI plugins for the windows agent. I'm running the latest subversion source for the server, and the latest 2.1 stable windows Agent. Everything appears to work correctly at first, but after about 2 hours reporting the Windows agent appears to die, and the service stops running. I'm getting the error below whenever the agent crashes. Any idea how to fix this?

    
    2009-06-14 10:06:18 isProcessRunning error. Member:   
    
    Function: GetObject
    
    Error In: GetObjectEx
    
    Error:    Unknown runtime error
    
    Code:     8004100e
    
    Source:   Application
    2009-06-17 03:26:04 Pandora agent started
    2009-06-17 05:51:21 getOSName error. Member:   
    
    Function: GetObject
    
    Error In: GetObjectEx
    
    Error:    The RPC server is unavailable.
    
    Code:     800706ba
    
    Source:   Application
    2009-06-17 05:51:21 getOSVersion error. Member:   
    
    Function: GetObject
    
    Error In: GetObjectEx
    
    Error:    The RPC server is unavailable.
    
    Code:     800706ba
    
    Source:   Application
    2009-06-17 22:02:27 Pandora agent started
    

    Thanks, Todd

  2. if you want to use wmi to retrieve info, is better to use wql from pandora_console, but if you do your own and custom wmi sentences, try using vbs and run it from pandora agent. check: http://www.microsoft.com/technet/scriptcenter/guide/sas\_wmi\_dieu.mspx?mfr=true and http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx if you need help about this and how to work with wmi and vbs with pandora agent, tell me that.

  3. Hi tnine, I've detected that issue with our Windows Agent and we are testing 5 of them at the same time in several machines right now. Would you paste here your pandora_agent.conf so we can try to replicate another one with your configuration? Cheers!

  4. Is your windows agent running those new plugins you're creating?

  5. Hello, Sorry for the delay, work has been extremely busy. Here is our agent.conf. I've pretty much left the default configuration in tact. Rather than execute wmi on the agent, I'm executing it on the server. I had to download and build swig and the debian wmi client package to get the server running.

  6. Did you changed this agent source code? Or are you just running the agent as we provide it? I mean, I need to know we, you and me, are using the same agent (the one provided by us) without any external modification

  7. Correct. I use the latest production release of the windows monitor. 2.1 According to the site.

Entra en tu cuenta para publicar.