mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
2010-05-27 Raul Mateos <raulofpandora@gmail.com>
* bin/pandora_agent.conf: Added some example. Changed description for Disk Free (added %). Updated build. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5e308d4bd1
commit
411e345db9
@ -1,3 +1,8 @@
|
||||
2010-05-27 Raul Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* bin/pandora_agent.conf: Added some example. Changed
|
||||
description for Disk Free (added %). Updated build.
|
||||
|
||||
2010-05-19 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* pandora_strutils.h, modules/pandora_module_odbc.h,
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Base config file for Pandora FMS Windows Agent
|
||||
# (c) 2006-2009 Artica Soluciones Tecnologicas
|
||||
# version 3.0
|
||||
# (c) 2006-2010 Artica Soluciones Tecnologicas
|
||||
# version 3.1
|
||||
|
||||
# This program is Free Software, you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public Licence as published by the Free Software
|
||||
@ -39,7 +39,8 @@ temporal "$AgentTemp$"
|
||||
# Interval is defined in seconds
|
||||
interval 300
|
||||
|
||||
# tranfer_modes: Possible values are local, tentacle (default), ftp and ssh.
transfer_mode tentacle
|
||||
# tranfer_modes: Possible values are local, tentacle (default), ftp and ssh.
|
||||
transfer_mode tentacle
|
||||
server_port 41121
|
||||
|
||||
# In case of using FTP or tentacle with password. User is always "pandora"
|
||||
@ -83,12 +84,12 @@ xml_buffer 0
|
||||
# Example plugin to retrieve drive usage
|
||||
# module_plugin cscript.exe //B "%ProgramFiles%\Pandora_Agent\util\df.vbs"
|
||||
|
||||
# Free space on disk C:
|
||||
# Free space on disk C: (%)
|
||||
module_begin
|
||||
module_name FreeDiskC
|
||||
module_type generic_data
|
||||
module_freepercentdisk C:
|
||||
module_description Free space on drive C:
|
||||
module_description Free space on drive C: (%)
|
||||
module_end
|
||||
|
||||
# CPU usage percentage
|
||||
@ -170,6 +171,14 @@ module_end
|
||||
#module_exec tasklist | grep Pandora | awk "{ print $5 }" | tr -d "."
|
||||
#module_end
|
||||
|
||||
# Example of module exec, used get number of active terminal services sessions
|
||||
#module_name Active TS Sessions
|
||||
#module_type generic_data_string
|
||||
#module_exec query session | grep Active | awk "{ print $2 }" |wc -l
|
||||
#module_description Number of activbe TS Sessions
|
||||
#module_end
|
||||
|
||||
|
||||
# Example of watchdog process opening it if it gets closed
|
||||
# NOTE: This need to enable "Service can interactuate with the deskop" option
|
||||
# in the Pandora FMS Service configuration (Windows Service Control management).
|
||||
|
Loading…
x
Reference in New Issue
Block a user