2008-01-02 18:28:09 +01:00
|
|
|
# Base config file for Pandora FMS agents
|
2014-06-03 11:36:52 +02:00
|
|
|
# Version 5.1BETA1
|
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
|
|
|
|
|