2008-01-02 18:28:09 +01:00
|
|
|
# Base config file for Pandora FMS agents
|
2018-05-28 13:20:38 +02:00
|
|
|
# Version 7.0NG.723
|
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
|
|
|
|
|
2017-07-18 13:31:50 +02:00
|
|
|
# Debug mode renames XML in the temp folder and continues running
|
2008-01-02 18:28:09 +01:00
|
|
|
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
|
|
|
|
|