Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Windows 2.1 Agent crashes with current server source after 2 hours

  • Windows 2.1 Agent crashes with current server source after 2 hours

    Posted by tnine on June 17, 2009 at 21:52

    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

    tnine replied 15 years, 8 months ago 3 Members · 6 Replies
  • 6 Replies
  • suzdal

    Member
    June 18, 2009 at 03:04
    1 Karma
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • manu

    Member
    June 18, 2009 at 03:21
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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!

  • manu

    Member
    June 18, 2009 at 03:43
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Is your windows agent running those new plugins you’re creating?

  • tnine

    Member
    June 19, 2009 at 20:06
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • manu

    Member
    June 22, 2009 at 01:31
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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

  • tnine

    Member
    June 30, 2009 at 23:25
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

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