-
Problem with Pandora FMS Windows Agent 1.3 Beta
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(:?)
ConfusedModule 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_endDebug 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
😕