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 Problem with Pandora FMS Windows Agent 1.3 Beta

  • Problem with Pandora FMS Windows Agent 1.3 Beta

    Posted by itman on September 5, 2007 at 17:48

    I am experiencing a strange problem with the Windows Agent on my Windows 2003 Servers. The diskfree module always returns zero instead of the actual free space values. The agent is working fine on my Windows XP Pro machine. My config and debug output is listed below – can someone please help(:?)
    Confused

    Module setup in config file:
    ===============================================

    # General Parameters
    # ==================

    server_ip 10.14.6.52
    server_path /var/spool/pandora/data_in
    temporal “C:Program Filespandora_agentdata_out”
    interval 300
    agent_name zaumf006

    # By default FTP is configured. To use SSH, just comment next two lines
    transfer_mode ftp
    ftp_password pandora123
    debug 1

    # Module Definition
    # =================

    # Counting OpenedConnections (check the language string)
    module_begin
    module_name OpenNetConnections
    module_type generic_data
    module_exec netstat -na | grep ESTAB | wc -l | tr -d ” ”
    module_description Open Connections (interval 2)
    module_interval 2
    module_end

    # Free space on disk C:
    module_begin
    module_name FreeDiskC
    module_type generic_data
    module_freedisk C:
    module_description Free space on drive C:
    module_end

    # CPU usage percentage
    module_begin
    module_name CPUUse0
    module_type generic_data
    module_cpuusage 0
    module_description CPU#0 usage
    module_end

    Debug Output:
    ===============================================


    OpenNetConnections
    generic_data
    48
    Open Connections (interval 2)


    FreeDiskC
    generic_data
    0
    Free space on drive C:


    CPUUse0
    generic_data
    7
    CPU#0 usage

    😕

    itman replied 17 years, 5 months ago 4 Members · 4 Replies
  • 4 Replies
  • Sancho

    Administrator
    September 5, 2007 at 18:25
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    I am experiencing a strange problem with the Windows Agent on my Windows 2003 Servers. The diskfree module always returns zero instead of the actual free space values. The agent is working fine on my Windows XP Pro machine. My config and debug output is listed below – can someone please help(:?)
    Confused

    😕

    Other user (sophus) reported the same problem privately some days ago, I’m going to put in our bug tracking system just now, this issue is serious, and seems to be confirmed that in some systems free disk module is failing.

    Thanks for reporting.

  • steve-o

    Member
    September 5, 2007 at 20:49
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    Thanks for reporting this issue. Definitely, there was a problem when retrieving free space when the amount was too big (Windows retur it in bytes). It’s now fixed in SVN repository. Download it in this URL:

    http://pandora.svn.sourceforge.net/viewvc/*checkout*/pandora/trunk/pandora_agents/win32/bin/PandoraAgent.exe?revision=643

    Stop your running Pandora Agent and replace it with this new version. Restart the service and everything should be OK. Please report any other failure.

    Greetings

  • raul

    Member
    September 5, 2007 at 22:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    You can also download the new installer from:

    https://pandora.svn.sourceforge.net/svnroot/pandora/trunk/pandora_agents/win32/installer/Pandora_Windows_Agent-1.3.0%20Beta2-Setup.exe

    This installer also has translated some of the texts to german, brazilian portuguese and french. Any help to improve that is welcome.

    Raúl

  • itman

    Member
    September 6, 2007 at 12:07
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thanks for the quick response. I just installed the updated version and it is now working fine. 😀