Wiren Board 6
This manual describes the step-by-step process of installing an agent to Wiren Board 6 automation controller.
Installation
-
Unpack it to the folder
/opt/saymon-agent/
. -
Download archive with JDK (site registration is required).
-
Unpack the archive to the folder
temp
, copy the directoryjre
from there to/opt/saymon-agent/
. -
Execute the following commands:
$useradd -M -r -s /bin/false -K MAIL_DIR=/dev/null saymon $chown -R saymon:saymon /opt/saymon-agent $cp /opt/saymon-agent/systemd/* /etc/systemd/system $systemctl enable saymon-agent $service saymon-agent start
Agent configuration
If necessary, the agent configuration file /opt/saymon-agent/conf/agent.properties
can be modified.
Log files
Agent logs are recorded to the directory /var/log/saymon
.
Logs can be disabled with modifying the file /opt/saymon-agent/conf/logback-upstart.xml
:
Logs enabled
<root level="INFO">
<appender-ref ref="FILE-INFO"/>
<!--<appender-ref ref="FILE-DEBUG"/>-->
<!--<appender-ref ref="SYSLOG"/>-->
</root>
Logs disabled
<root level="INFO">
<!--<appender-ref ref="FILE-INFO"/>-->
<!--<appender-ref ref="FILE-DEBUG"/>-->
<!--<appender-ref ref="SYSLOG"/>-->
</root>