2008-01-02 18:28:09 +01:00
|
|
|
# Base config file for Pandora FMS agents
|
2012-06-21 Ramon Novoa <rnovoa@artica.es>
* win32/bin/pandora_agent.conf,
win32/installer/pandora.mpi,
win32/versioninfo.rc,
win32/pandora.cc,
pc/AIX/pandora_agent.conf,
pc/Linux/pandora_agent.conf,
pc/HP-UX/pandora_agent.conf,
pc/Win32/pandora_agent.conf,
pc/NT4/pandora_agent.conf,
pc/SunOS/pandora_agent.conf,
pc/FreeBSD/pandora_agent.conf,
unix/AIX/pandora_agent.conf,
unix/DEBIAN/control,
unix/DEBIAN/make_deb_package.sh,
unix/pandora_agent.spec,
unix/Linux/pandora_agent.conf,
unix/HP-UX/pandora_agent.conf,
unix/pandora_agent.redhat.spec,
unix/pandora_agent,
unix/NT4/pandora_agent.conf,
unix/SunOS/pandora_agent.conf,
unix/FreeBSD/pandora_agent.conf,
shellscript/linux/pandora_agent.conf,
shellscript/bsd-ipso/pandora_agent.conf,
shellscript/aix/pandora_agent.conf,
shellscript/hp-ux/pandora_agent.conf,
shellscript/mac_osx/pandora_agent.conf,
shellscript/solaris/pandora_agent.conf,
shellscript/openWRT/pandora_agent.conf: Updated version strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 19:41:54 +02:00
|
|
|
# Version 5.0dev
|
2008-01-02 18:28:09 +01:00
|
|
|
# Licensed under GPL license v2,
|
|
|
|
# please visit http://pandora.sourceforge.net
|
|
|
|
|
|
|
|
# General Parameters
|
|
|
|
# ==================
|
|
|
|
|
|
|
|
server_ip 192.168.50.1
|
|
|
|
server_path /var/spool/pandora/data_in
|
|
|
|
temporal /tmp
|
|
|
|
logfile /opt/pandora/pandora_agent.log
|
|
|
|
|
|
|
|
# Interval in seconds, 300 by default
|
|
|
|
interval 30
|
|
|
|
|
|
|
|
# Debug mode only generate XML, and stop after first execution,
|
|
|
|
# and does not copy XML to server.
|
|
|
|
debug 0
|
|
|
|
|
|
|
|
# By default, agent takes machine name
|
|
|
|
agent_name arduinoasus
|
|
|
|
|
|
|
|
# By default agent try to take default encoding defined in host.
|
2012-06-21 15:12:57 +02:00
|
|
|
# encoding UTF-8
|
2008-01-02 18:28:09 +01:00
|
|
|
|
2008-06-20 13:02:41 +02:00
|
|
|
# 41121 by default.
|
|
|
|
server_port 41121
|
2008-05-29 16:33:54 +02:00
|
|
|
|
2008-06-20 13:02:41 +02:00
|
|
|
# tentacle by default. ftp or tentacle.
|
|
|
|
transfer_mode tentacle
|
2008-05-29 16:33:54 +02:00
|
|
|
|
|
|
|
# server pass
|
2008-01-02 18:28:09 +01:00
|
|
|
|
2008-05-29 16:33:54 +02:00
|
|
|
server_pwd pandora
|
2008-01-02 18:28:09 +01:00
|
|
|
|
|
|
|
# Module Definition
|
|
|
|
# =================
|
|
|
|
|
|
|
|
# System information
|
|
|
|
|
|
|
|
module_begin
|
|
|
|
module_name temperatura
|
|
|
|
module_type generic_data
|
|
|
|
module_interval 1
|
|
|
|
module_exec sh /opt/pandora/pandora_serialread AT
|
|
|
|
module_description temperatura
|
|
|
|
module_end
|
|
|
|
|
|
|
|
module_begin
|
|
|
|
module_name humedad
|
|
|
|
module_type generic_data
|
|
|
|
module_exec sh /opt/pandora/pandora_serialread AH
|
|
|
|
module_description humedad
|
|
|
|
module_end
|
|
|
|
|
|
|
|
module_begin
|
|
|
|
module_async D8
|
|
|
|
module_type generic_proc
|
|
|
|
module_name puerta
|
|
|
|
module_exec sh /opt/pandora/pandora_serialread D8
|
|
|
|
module_description puerta
|
|
|
|
module_end
|
|
|
|
|